824 802.1x Commands
User Guidelines
It is recommended that you disable the spanning tree or enable spanning-tree
PortFast mode on 802 .1x edge por ts (ports in auto state that are connected to
end stations), in order to go immediately to the forwarding state after
successful authentication.
When configuring a port to use MAC-based authentication, the port must be
in switchport general mode.
Example
The following command enables MAC-based authenticatio n on port 1/0/2
console(config)# interface gigabitethernet 1/0/2
console(config-if-1/0/2)# dot1x port-control mac-
based
dot1x re-authenticate
Use the dot1x re-authenticate command in Privileged EXEC mode to enable
manually initiating a re-authentication of all 802.1x-enabled ports or the
specified 802.1x-enabled port.
Syntax
dot1x re-authenticate [gigabitethernet
unit/slot/port
]
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
The following command manually initiates a re-authentication of the 802.1x-
enabled port.
2CSPC4.XCT-SWUM2XX1.book Page 824 Monday, October 3, 2011 11:05 AM