Configuring 802.1X
Before you begin
Enable the 802.1X feature on the Cisco NX-OS device.
SUMMARY STEPS
1. configure terminal
2. interface ethernet slot / port
3. dot1x port-control {auto | force-authorized | forced-unauthorized}
4. exit
5. (Optional) show dot1x all
6. (Optional) show dot1x interface ethernet slot / port
7. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface ethernet slot / port
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
Step 3
dot1x port-control {auto | force-authorized |
forced-unauthorized}
Example:
switch(config-if)# dot1x port-control auto
Step 4
exit
Example:
switch(config)# exit
switch#
Step 5
(Optional) show dot1x all
Example:
switch# show dot1x all
Step 6
(Optional) show dot1x interface ethernet slot / port
Example:
switch# show dot1x interface ethernet 2/1
Step 7
(Optional) copy running-config startup-config
Example:
switch# copy running-config startup-config
Purpose
Enters global configuration mode.
Selects the interface to configure and enters interface
configuration mode.
Changes the 802.1X authentication state on the interface.
The default is force-authorized.
Exits configuration mode.
Displays all 802.1X feature status and configuration
information.
Displays 802.1X feature status and configuration
information for an interface.
Copies the running configuration to the startup
configuration.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Controlling 802.1X Authentication on an Interface
189