dot1x port-control
To control the 802.1X authentication performed on an interface, use the dot1x port-control command. To
revert to the default, use the no form of this command.
dot1x port-control {auto| force-authorized| force-unauthorized}
no dot1x port-control {auto| force-authorized| force-unauthorized}
Syntax Description
Enables 802.1X authentication on the interface.auto
Disables 802.1X authentication on the interface and
allows all traffic on the interface without
authentication.
force-authorized
Disallows all authentication on the interface.force-unauthorized
Command Default
force-authorized
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.4.0(1)
Usage Guidelines
You must use the feature dot1x command before you configure 802.1X.
This command does not require a license.
Examples
This example shows how to change the 802.1X authentication action performed on an interface:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# dot1x port-control auto
This example shows how to revert to the default 802.1X authentication action performed on an interface:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# dot1x port-control auto
Cisco Nexus 7000 Series Security Command Reference
199
D Commands
dot1x port-control