Administrator Guide

Security Commands 974
When configuring a port to use MAC-based authentication, the port must be
in switchport general mode.
Example
The following command enables MAC-based authentication on port 1/0/2
console(config)# interface gigabitethernet 1/0/2
console(config-if-Gi1/0/2)# dot1x port-control mac-based
dot1x re-authenticate
Use the dot1x re-authenticate command in Privileged Exec mode to
manually initiate a re-authentication of all 802.1x-enabled ports or the
specified 802.1x-enabled port.
Syntax
dot1x re-authenticate [gigabitethernet unit/slot/port | tengigabitethernet
unit/slot/port | fortygigabitethernet 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 reauthentication of the 802.1x-
enabled port.
console# dot1x re-authenticate gigabitethernet 1/0/16
2CSNXXX_SWUM204.book Page 974 Monday, January 25, 2016 1:25 PM