49-30
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 49 Configuring 802.1X Port-Based Authentication
Configuring 802.1X Port-Based Authentication
Note
Enabling Spanning Tree PortFast ensures that a port comes up immediately after authorization.
Note
Whenever you configure any 802.1X parameter on a port, a dot1x authenticator is automatically created
on the port. As a result,
dot1x pae authenticator
appears in the configuration, ensuring that dot1x
authentication still works on legacy configurations without manual intervention.
This example shows how to enable 802.1X and AAA on Fast Ethernet port 2/1, and how to verify the configuration:
Cisco IOS Release 12.2(50)SG and later
Switch#
configure terminal
Switch(config)#
dot1x system-auth-control
Switch(config)#
aaa new-model
Switch(config)#
aaa authentication dot1x default group radius
Switch(config)#
interface fastethernet2/1
Switch(config-if)#
switchport mode access
Switch(config-if)#
dot1x pae authenticator
Switch(config-if)#
authentication port-control auto
Switch(config-if)#
end
Switch#
show authentication sessions interface f9/2
Interface: FastEthernet9/2
MAC Address: 0007.e95d.83c4
IP Address: Unknown
Status: Running
Domain: UNKNOWN
Oper host mode: single-host
Oper control dir: both
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 0A050B160000009505106398
Acct Session ID: 0x0000009B
Handle: 0x0D000095
Step 8
Switch(config-if)#
dot1x pae
authenticator
Enables 802.1X authentication on the port with default parameters.
Refer to the
“Default 802.1X Configuration” section on page 49-27
.
Step 9
Cisco IOS Release 12.2(50)SG and later
Switch(config-if)#
authentication
port-control auto
Cisco IOS Release 12.2(46)SG or earlier
releases
Switch(config-if)#
dot1x
port-control auto
Enables 802.1X authentication on the interface.
Step 10
Switch(config-if)#
end
Returns to privileged EXEC mode.
Step 11
Switch #
show dot1x interface
interface-id
details
Verifies your entries.
Check the PortControl row in the 802.1X port summary section of this
display. The PortControl value is set to
auto
.
Step 12
Switch#
show running-config
Verifies your entries.
Step 13
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...