(Optional) Configuring Re-authentication for Users
Context
If the parameters such as user name, password, access rights, and authorization attributes are modified for an online user on an authentication server, the user must be re-authenticated.
After periodic re-authentication is configured for 802.1x users, the device periodically requests user names and passwords from clients and sends them to an authentication server for re-authentication. If authentication information about a user does not change on the authentication server, the user is normally online; if authentication information about a user (for example, user password) is changed, the user is disconnected or the user's access rights are modified.
Procedure
- Run system-view
The system view is displayed.
- Enable periodic re-authentication for online 802.1x authentication users. This command can be configured in the system view or interface view. In the system view, the command can be configured on one or more interfaces; in the interface view, the command
can only be configured on a specified interface.
By default, periodic re-authentication is disabled for online 802.1x authentication users.
View
Procedure
System view Run the dot1x reauthenticate interface interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command to enable periodic re-authentication for online 802.1x authentication users.
Interface view Run the interface interface-type interface-number command to enter the interface view.
Run the dot1x reauthenticate command to enable periodic re-authentication for online 802.1x authentication users.
- Run the quit command to return to the system view.
- Configure the 802.1x re-authentication period. This command can be configured in the system view or interface view. The configuration in the system
view takes effect on all interfaces, and that in the interface view takes effect only on a specified interface. If the command is configured both in the system view and interface view, the configuration in the interface view takes precedence.
By default, the 802.1x re-authentication period is 3600 seconds.
View
Procedure
System view Run the dot1x timer reauthenticate-period reauthenticate-period-value command to configure the 802.1x re-authentication interval.
Interface view Run the interface interface-type interface-number command to enter the interface view.
Run the dot1x timer reauthenticate-period reauthenticate-period-value command to configure the 802.1x re-authentication interval.
- Run commit
The configuration is committed.