Chapter 10 Configuring IEEE 802.1x Port-Based Authentication

Configuring IEEE 802.1x Authentication

Configuring NAC Layer 2 IEEE 802.1x Validation

You can configure NAC Layer 2 IEEE 802.1x validation, which is also referred to as IEEE 802.1x authentication with a RADIUS server.

Beginning in privileged EXEC mode, follow these steps to configure NAC Layer 2 IEEE 802.1x validation. The procedure is optional.

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

interface interface-id

Specify the port to be configured, and enter interface configuration mode.

Step 3

 

 

dot1x guest-vlan vlan-id

Specify an active VLAN as an IEEE 802.1x guest VLAN. The range is 1

 

 

to 4094.

 

 

You can configure any active VLAN except an internal VLAN (routed

 

 

port), an RSPAN VLAN, or a voice VLAN as an IEEE 802.1x guest

 

 

VLAN.

Step 4

 

 

dot1x reauthentication

Enable periodic re-authentication of the client, which is disabled by

 

 

default.

 

 

 

Step 5 dot1x timeout reauth-period {seconds

Set the number of seconds between re-authentication attempts.

 

server}

The keywords have these meanings:

 

 

 

 

seconds—Sets the number of seconds from 1 to 65535; the default is

 

 

3600 seconds.

 

 

server—Sets the number of seconds based on the value of the

 

 

Session-Timeout RADIUS attribute (Attribute[27]) and the

 

 

Termination-Action RADIUS attribute (Attribute [29]).

 

 

This command affects the behavior of the switch only if periodic

 

 

re-authentication is enabled.

Step 6

 

 

end

Return to privileged EXEC mode.

Step 7

 

 

show dot1x interface interface-id

Verify your IEEE 802.1x authentication configuration.

Step 8

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

This example shows how to configure NAC Layer 2 IEEE 802.1x validation:

Switch# configure terminal

Switch(config)# interface gigabitethernet2/0/1

Switch(config-if)#dot1x reauthentication

Switch(config-if)#dot1x timeout reauth-period server

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

10-40

OL-9775-02

Page 292
Image 292
Cisco Systems 3750E manual Configuring NAC Layer 2 Ieee 802.1x Validation, 10-40