9-17
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-12
Chapter 9      Configuring IEEE 802.1x Port-Based Authentication
    Configuring IEEE 802.1x Authentication
This example shows how to configure IEEE 802.1x using a RADIUS server:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# dot1x reauthentication
Switch(config-if)# dot1x timeout reauth-period server
Enabling Periodic Re-Authentication
You can enable periodic IEEE 802.1x client re-authentication and specify how often it occurs. If you do 
not specify a time period before enabling re-authentication, the number of seconds between 
re-authentication attempts is 3600.
Beginning in privileged EXEC mode, follow these steps to enable periodic re-authentication of the client 
and to configure the number of seconds between re-authentication attempts. This procedure is optional.
Step 5
dot1x timeout reauth-period {seconds | 
server}
Set the number of seconds between re-authentication attempts.
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 as the value of the 
Session-Timeout RADIUS attribute (Attribute[27]).
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.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface to be configured, and enter interface configuration 
mode.
Step 3
dot1x reauthentication Enable periodic re-authentication of the client, which is disabled by 
default.
Step 4
dot1x timeout reauth-period {seconds | 
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 as the value of the 
Session-Timeout RADIUS attribute (Attribute[27]). You can use this 
keyword when the switch uses NAC Layer 2 IEEE 802.1x.
Note The server keyword is not supported on Catalyst 2950 LRE 
switches.
This command affects the behavior of the switch only if periodic 
re-authentication is enabled.