User Guide
569
Configuring 802.1x
802.1x Configuration
Step 12
end
Return to privileged EXEC mode.
Step 13
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable 802.1x authentication on port 1/0/2, configure
the control type as port-based, and keep other parameters as default:
Switch#configure
Switch(config)#interface gigabitEthernet
1/0/2
Switch(config-if)#dot1x
Switch(config-if)#dot1x port-method
port-based
Switch(config-if)#show dot1x interface gigabitEthernet
1/0/2
Port State MAB State GuestVLAN PortControl PortMethod
---- ----- --------- --------- ----------- ----------
Gi1/0/2 disabled disabled 0 auto port-based
MaxReq QuietPeriod SuppTimeout Authorized LAG
------ ----------- ----------- ---------- ---
3 10 30 unauthorized N/A
Switch(config-if)#end
Switch#copy running-config startup-config
2.2.4 Viewing Authenticator State
You can view the authenticator state. If needed, you can also initialize or reauthenticate the
specific client:
Step 1
show dot1x auth-state [interface fastEthernet
port
| interface gigabitEthernet
port
]
Displays the authenticator state.
Step 2
configure
Enter global configuration mode.
Downloaded from