Chapter 10
Configuring IEEE 802.1x Port-Based Authentication
Command
Step 3
authentication event no-response
action authorize vlan vlan-id
Step 4
authentication periodic
Step 5
authentication timer reauthenticate
Step 6
end
Step 7
show authentication interface
interface-id
Step 8
copy running-config startup-config
This example shows how to configure NAC Layer 2 802.1x validation:
Switch# configure terminal
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# authentication periodic
Switch(config-if)# authentication timer reauthenticate
Configuring an Authenticator and a Supplicant Switch with NEAT
Configuring this feature requires that one switch outside a wiring closet is configured as a supplicant and
is connected to an authenticator switch.
For overview information, see the
Access Topology (NEAT)" section on page
The cisco-av-pairs must be configured as device-traffic-class=switch on the ACS, which sets the
Note
interface as a trunk after the supplicant is successfully authenticated.
Beginning in privileged EXEC mode, follow these steps to configure a switch as an authenticator:
Command
Step 1
configure terminal
Step 2
cisp enable
Step 3
interface interface-id
Step 4
switchport mode access
Step 5
authentication port-control auto
Step 6
dot1x pae authenticator
Step 7
spanning-tree portfast
OL-26520-01
Purpose
Specify an active VLAN as an 802.1x guest VLAN. The range is 1
to 4094.
You can configure any active VLAN except an RSPAN VLAN, or a voice
VLAN as an 802.1x guest VLAN.
Enable periodic re-authentication of the client, which is disabled by
default.
Set re-authentication attempt for the client (set to one hour).
This command affects the behavior of the switch only if periodic
re-authentication is enabled.
Return to privileged EXEC mode.
Verify your 802.1x authentication configuration.
(Optional) Save your entries in the configuration file.
"802.1x Supplicant and Authenticator Switches with Network Edge
10-33.
Purpose
Enter global configuration mode.
Enable CISP.
Specify the port to be configured, and enter interface configuration
mode.
Set the port mode to access.
Set the port-authentication mode to auto.
Configure the interface as a port access entity (PAE) authenticator.
Enable Port Fast on an access port connected to a single workstation or
server.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring 802.1x Authentication
10-61