49-75
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
Switch# configure terminal
Switch(config)# errdisable detect cause security-violation shutdown vlan
Switch(config)# errdisable recovery cause security-violation
Switch(config)# errdisable recovery interval interval
Switch(config)# end
Switch# clear errdisable interface
interface-id vlan [vlan-list]
Switch(config)# interface
interface-id
Switch(config-if)# shutdown
Switch(config-if)# end
Switch# show errdisable detect
Switch# copy running-config startup-config
This example shows how to configure the switch to shut down any VLAN on which a security violation error occurs:
Switch(config)# errdisable detect cause security-violation shutdown vlan
This example shows how to re-enable all VLANs that were error disabled on port Gi4/0/2:
Switch# clear errdisable interface GigabitEthernet4/0/2 vlan
You can verify your settings by entering the show errdisable detect privileged EXEC command.
Configuring 802.1X with VLAN Assignment
For enabling dynamic VLAN assignment, no additional configuration is required in the switch. For information on configuring
Multiple- authentication (MDA), refer to the “Configuring Multiple Domain Authentication and Multiple Authorization”
section on page 49-34. To enable VLAN assignment, you must configure the Cisco ACS server.
Note 802.1x authentication with VLAN assignment is not supported on trunk ports, dynamic ports, or with
dynamic-access port assignment through a VLAN Membership Policy Server (VMPS).
Step 6
Switch# clear errdisable interface
interface-id vlan [vlan-list]
(Optional) Reenables individual VLANs that have been error disabled.
• For interface-id specify the port on which to reenable individual
VLANs.
• (Optional) For vlan-list specify a list of VLANs to be re-enabled. If
vlan-list is not specified, all VLANs are re-enabled.
Step 7
Switch(config)# interface
interface-id
Enters interface configuration mode.
Step 8
Switch(config-if)# shutdown
no-shutdown
(Optional) Re-enables an error-disabled VLAN, and clears all
error-disable indications.
Step 9
Switch(config-if)# end
Returns to privileged EXEC mode.
Step 10
Switch# show errdisable detect
Verifies your settings.
Step 11
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose