Captive Portal Client Connection Commands

Use these commands to view information about the clients connected to the captive portals configured on the switch.

show captive-portal client status

M4250

M4350

This command displays client connection details or a connection summary for connected captive portal users. Use the optional macaddr keyword, which is the MAC address of a client, to view additional information about that client.

Format show captive-portal client [macaddr] status
Mode Privileged EXEC
Term Description
Client MAC Address Identifies the MAC address of the wireless client (if applicable).
Client IP Address Identifies the IP address of the wireless client (if applicable).
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.
Session Time Shows the amount of time that has passed since the client was authorized.
If you specify a client MAC address, the following additional information displays:
CP ID Shows the captive portal ID the connected client is using.
CP Name Shows the name of the captive portal the connected client is using.
Interface Valid unit and port number separated by a forward slash.
Interface Description Describes the interface.
User Name Displays the user name (or Guest ID) of the connected client.
If cluster support is available, the following fields display:
Switch MAC Address Identifies the MAC address of the switch (if applicable).
Switch IP Address Identifies the IP address of the switch (if applicable).
Switch Type (local or peer) Shows the current switch type, which is local or peer.

show captive-portal client status

M4250

M4350

This command displays client connection details or a connection summary for connected captive portal users. Use the optional macaddr argument, which is the MAC address of a client, to view additional information about the client.

Format show captive-portal client [macaddr] status
Mode Privileged EXEC
Term Description
Client MAC Address The MAC address of the wireless client (if applicable).
Client IP Address The IP address of the wireless client (if applicable).
Protocol Mode The connection protocol, which is either HTTP or HTTPS.
Verification Mode The account type, which is Guest, Local, or RADIUS.
Session Time The period that has passed since the client was authorized.

If you specify a client MAC address, the following additional information displays.

Term Description
CP ID The captive portal ID that the connected client is using.
CP Name The name of the captive portal that the connected client is using.
Interface The interface number.
Interface Description The interface description.
User Name The user name (or Guest ID) of the connected client.

If cluster support is available, the following fields display.

Term Description
Switch MAC Address The MAC address of the switch (if applicable).
Switch IP Address The IP address of the switch (if applicable).
Switch Type (local or peer) The switch type, which is local or peer.

show captive-portal interface client status

M4250

M4350

This command displays information about clients authenticated on all interfaces or a specific interface.

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 interface [unit/slot/port] client status
Mode Privileged EXEC
Term Description
Interface The interface number.
Interface Description Describes the interface.
Client MAC Address Identifies the MAC address of the wireless client (if applicable).

If you specify a single interface, the following additional information displays.

Term Description
Client IP Address Identifies the IP address of the wireless client (if applicable).
CP ID Shows the captive portal ID the connected client is using.
CP Name Shows the name of the captive portal the connected client is using.
Protocol Shows the current connection protocol, which is either HTTP or HTTPS.
Verification Shows the current account type, which is Guest, Local, or RADIUS.
User Name Displays the user name (or Guest ID) of the connected client.

show captive-portal configuration client status

M4250

M4350

This command displays the clients authenticated to all captive portal configurations or a specific configuration. The optional cp-id variable is the captive portal ID, which ranges from 1-10. Use the optional client keyword to display client information.

Format show captive-portal configuration [cp-id] [client] status
Mode Privileged EXEC
Term Description
CP ID The captive portal ID the connected client is using.
CP Name The name of the captive portal the connected client is using.
Mode Shows if the captive portal is enabled or disabled.
Protocol The protocol (HTTP or HTTPS) that is used for the captive portal.
Verification The type of verification, such as Guest.

If you use the optional client keyword, the following information displays.

Term Description
CP ID The captive portal ID the connected client is using.
CP Name The name of the captive portal the connected client is using.
Client MAC Address The MAC address of the wireless client (if applicable).
Client IP Address The IP address of the wireless client (if applicable).
Interface The interface number.

captive-portal client deauthenticate

M4250

M4350

This command deauthenticates a specific captive portal client. You can specify a captive portal configuration ID to indicate the captive portal configuration that the client is deauthenticating from. The optional cp-id variable is the captive portal ID, which ranges from 1-10. If no value is entered, then the specified clients (or all clients) are deauthenticated from all captive portal configurations.

You can use the optional macaddr variable to specify the MAC address of the client to deauthenticate. If no value is specified, then all clients are deauthenticated from the specified captive portal configuration (or all configurations).

Format captive-portal client deauthenticate [cp-id] [macaddr]
Mode Privileged EXEC