Administrator Guide

Security Commands 985
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 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
Interfaces that are not running the 802.1x protocol (e.g. MAB configured
ports) are not re-authenticated. Only ports that have an authentication dot1x
port-control mode of auto are re-authenticated. This command does not
cause the switch to attempt to contact RADIUS servers marked dead.
Example
The following command manually initiates a reauthentication of the 802.1x-
enabled port.
console# dot1x re-authenticate gigabitethernet 1/0/16