Captive Portal Status Commands

Use these commands to view information about the status of one or more captive portal instances.

show captive-portal configuration

M4250

M4350

This command displays the operational status of a captive portal configuration. The cp-id variable is the captive portal ID, which ranges from 1-10.

Format show captive-portal configuration cp-id
Mode Privileged EXEC
Term Description
CP ID Shows the captive portal ID.
CP Name Shows the captive portal name.
Operational Status Shows whether the captive portal is enabled or disabled.
Disable Reason If the captive portal is disabled, this field indicates the reason.
Blocked Status Shows the blocked status, which is Blocked or Not Blocked.
Authenticated Users Shows the number of authenticated users connected to the network through this captive portal.
Configured Locales Shows the number of locales defined for this captive portal.

show captive-portal configuration interface

M4250

M4350

This command displays information for all interfaces assigned to a captive portal configuration or a specific interface assigned to a captive portal configuration. The cp-id variable is the captive portal ID, which ranges from 1-10.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show captive-portal configuration cp-id interface [unit/slot/port]
Mode Privileged EXEC
Term Description
CP ID Shows the captive portal ID.
CP Name Shows the captive portal name.
Interface Shows the interface.
Interface Description Describes the interface.
Operational Status Shows whether the captive portal is enabled or disabled.
Block Status Shows the blocked status, which is Blocked or Not Blocked.
If you specify a single interface, the following additional information displays:
Disable Reason If the captive portal is disabled, this field indicates the reason.
Authenticated Users Shows the number of authenticated users connected to the network through this captive portal.

show captive-portal configuration status

M4250

M4350

This command displays information of all configured captive portal configurations or a specific captive portal configuration. The cp-id variable is the captive portal ID, which ranges from 1-10.

Format show captive-portal configuration cp-id status
Mode Privileged EXEC
Term Description
CP ID Shows the captive portal ID.
CP Name Shows the captive portal name.
CP Mode Shows whether the CP is enabled or disabled.
Protocol Mode Shows the current connection protocol, which is either HTTP or HTTPS.
Verification Mode Shows the current account type, which is Guest, Local, or RADIUS.
URL Redirect Mode Indicates whether the Redirect URL Mode is enabled or disabled.
Max Bandwidth Up (bytes/sec) The maximum rate in bytes per second (bps) at which a client can send data into the network.
Max Bandwidth Down (bytes/sec) The maximum rate in bps at which a client can receive data from the network.
Max Input Octets (bytes) The maximum number of octets the user is allowed to transmit.
Max Output Octets (bytes) The maximum number of octets the user is allowed to receive.
Max Total Octets (bytes) The maximum number of octets the user is allowed to transfer, i.e., the sum of octets transmitted and received.
Session Timeout (seconds) Shows the number of seconds a user is permitted to remain connected to the network. Once the Session Timeout value is reached, the user is logged out automatically. A value of 0 means that the user does not have a session Timeout limit.
Idle Timeout (seconds) Shows the number of seconds the user can remain idle before the switch automatically logs the user out. A value of 0 means that the user will not be logged out automatically.

show captive-portal configuration locales

M4250

M4350

This command displays locales associated with a specific captive portal configuration. The cp-id variable is the captive portal ID, which ranges from 1-10.

Format show captive-portal configuration cp-id locales
Mode Privileged EXEC
Term Description
Locale Code Two-letter abbreviation for languages.
Locale Link The names of the languages.