A
UTHENTICATION
C
OMMANDS
4-107
Default
2
Command Mode
Interface Configuration
Example
dot1x port-control
This command 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
Console(config)#interface ethernet 1/2
Console(config-if)#dot1x max-req 2
Console(config-if)#
Console(config)#interface eth 1/2
Console(config-if)#dot1x port-control auto
Console(config-if)#