Viewing session information for MAC authenticated clients on a switch

Syntax:


show port-access mac-based clients [port-list]

Displays the session status, name, and address for each MAC authenticated client on the switch. The IP address displayed is taken from the DHCP binding table (learned through the DHCP Snooping feature).

If DHCP snooping is not enabled on the switch, n/a (not available) is displayed for a client's IP address.

If a MAC-authenticated client uses an IPv6 address, n/a - IPv6 is displayed.

If DHCP snooping is enabled but no MAC-to-IP address binding for a client is found in the DHCP binding table, n/a - no info is displayed.

Output for the show port-access mac-based clients command

 Switch(config)# show port-access mac-based clients

 Port Access MAC-Based Client Status

Port MAC Address   IP Address                              Session Status
---- ------------- --------------------------------------- -------------
1    001321-eb8063 2001:fecd:ba23:cd1f:dcb1:1010:9234:4088 unauthenticated
1    000000-111112 192.192.192.192                         authenticated
2    000000-111111 n/a                                     authenticating

Output for the show port-access mac-based clients command with a specific port

Switch(config)# show port-access mac-based clients 2
Port Access MAC-Based Client Status

Port   MAC Address  IP Address                       Mode Client Status
----- ------------- -------------------------------- ---- -------------
2     000000-000010 n/a                              User authenticated
2     000000-000100 n/a                              User authenticated
2     000000-000200 n/a                              User authenticated
2     000000-000300 n/a                              User authenticated
2     000000-000400 n/a                              User authenticated
2     000000-000500 n/a                              User authenticated
2     000000-000600 n/a                              User authenticated
2     000000-000700 n/a                              User authenticated
2     000000-000800 n/a                              User authenticated
2     000000-000900 n/a                              User authenticated
2     000000-000a00 n/a                              User authenticated
2     000000-000b00 n/a                              User authenticated
2     000000-000c00 n/a                              User authenticated
2     000000-000d00 n/a                              User authenticated
2     000000-000e00 n/a                              User authenticated
2     000000-000f00 n/a                              User authenticated
2     000000-001000 n/a                              User authenticated
2     000000-001100 n/a                              User authenticated
2     000000-001200 n/a                              User authenticated
2     000000-001300 n/a                              User authenticated
2     000000-001400 n/a                              User authenticated
2     000000-001500 n/a                              User authenticated
2     000000-001600 n/a                              User authenticated
2     000000-001700 n/a                              User authenticated
2     000000-001800 n/a                              User authenticated
2     000000-001900 n/a                              User authenticated