Displaying 802.1X Statistics and Status
To allow multiple hosts (clients) on an 802.1X-authorized port that has the dot1x port-control interface
configuration command set to auto, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface
interface-id
Step 3
Switch(config-if)# dot1x host-mode
multiple-hosts
Step 4
Switch(config-if)# end
Step 5
Switch# show dot1x all interface
interface-id
Step 6
Switch# copy running-config
startup-config
To disable multiple hosts on the port, use the no dot1x multiple-hosts interface configuration command.
This example shows how to enable 802.1X on Fast Ethernet interface 0/1 and to allow multiple hosts:
Switch(config)# interface fastethernet0/1
Switch(config-if)# dot1x port-control auto
Switch(config-if)# dot1x multiple-hosts
Resetting the 802.1X Configuration to the Default Values
To reset the 802.1X configuration to the default values, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# dot1x default
Step 3
Switch(config)# end
Step 4
Switch# show dot1x all
Step 5
Switch# copy running-config
startup-config
Displaying 802.1X Statistics and Status
To display 802.1X statistics for all interfaces, use the show dot1x statistics privileged EXEC command.
To display 802.1X statistics for a specific interface, use the show dot1x statistics interface interface-id
privileged EXEC command.
To display the 802.1X administrative and operational status for the switch, use the show dot1x all
privileged EXEC command. To display the 802.1X administrative and operational status for a specific
interface, use the show dot1x interface interface-id privileged EXEC command.
Software Configuration Guide—Release 12.2(25)EW
31-22
Chapter 31
Understanding and Configuring 802.1X Port-Based Authentication
Purpose
Enters global configuration mode.
Enters interface configuration mode and specifies the interface to which
multiple hosts are indirectly attached.
Allows multiple hosts (clients) on an 802.1X-authorized port.
Make sure that the dot1x port-control interface configuration command
set is set to auto for the specified interface.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Resets the configurable 802.1X parameters to the default values.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
OL-6696-01