The mac-authen reauthenticate command enables periodic MAC address re-authentication on a specified interface.
The undo mac-authen reauthenticate command disables periodic MAC address re-authentication on a specified interface.
By default, periodic MAC address re-authentication is enabled on a specified interface.
In the system view:
mac-authen reauthenticate interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10>
undo mac-authen reauthenticate interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10>
In the interface view:
mac-authen reauthenticate
undo mac-authen reauthenticate
Parameter |
Description |
Value |
---|---|---|
interface { interface-type interface-number1 [ to interface-number2 ] } |
Specifies the interface type and number.
|
- |
System view, Ethernet interface view, GE interface view, MultiGE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, Port group view
After modifying the authentication information of an online user on the authentication server, the administrator needs to re-authenticate the user in real time to ensure user validity.
The re-authentication interval is set using the mac-authen timer reauthenticate-period command.
This function takes effect only for users who go online after this function is successfully configured.
If the device is connected to a server for re-authentication and the server replies with a re-authentication deny message that makes an online user go offline, it is recommended that you locate the cause of the re-authentication failure on the server or disable the re-authentication function on the device.
# Enable periodic MAC address re-authentication on GE0/0/1 in the system view.
<HUAWEI> system-view [HUAWEI] mac-authen reauthenticate interface gigabitethernet 0/0/1
# Enable periodic MAC address re-authentication on GE0/0/1 in the interface view.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] mac-authen reauthenticate