System information
3-138
Command Line Interface
3
Command Mode
Global Configuration
Example
dot1x port-control
Sets the dot1x mode on a port interface. Use the no form to restore the default.
Syntax
dot1x port-control {auto | force-authorized | force-unauthorized}
no dot1x port-control
• auto – Requires a dot1x-aware connected client to be authorized by the
RADIUS server. Clients that are not dot1x-aware will be denied access.
• force-authorized – Configures the port to grant access to all clients, either
dot1x-aware or otherwise.
• force-unauthorized – Configures the port to deny access to all clients,
either dot1x-aware or otherwise.
Default
force-authorized
Command Mode
Interface Configuration
Example
dot1x re-authenticate
Forces re-authentication on all ports or a specific interface.
Syntax
dot1x re-authenticate [interface]
interface
• ethernet unit/port
- unit - This is device 1.
- port - Port number.
Console(config)#dot1x max-req 2
Console(config)#
Console(config)#interface eth 1/2
Console(config-if)#dot1x port-control auto
Console(config-if)#