The mac-authen reauthenticate dhcp-renew command enables the device to re-authenticate the users when receiving DHCP lease renewal packets from MAC address authentication users.
The undo mac-authen reauthenticate dhcp-renew command restores the default setting.
By default, the device does not re-authenticate the users when receiving DHCP lease renewal packets from MAC address authentication users.
In the system view:
mac-authen reauthenticate dhcp-renew interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10>
undo mac-authen reauthenticate dhcp-renew interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10>
In the interface view:
mac-authen reauthenticate dhcp-renew
undo mac-authen reauthenticate dhcp-renew
Parameter |
Description |
Value |
---|---|---|
interface { interface-type interface-number1 [ to interface-number2 ] } |
Specifies the type and number of an interface.
|
- |
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 users go online, the administrator may modify the users' authentication parameters or network access rights on the authentication server. To ensure user validity or update the users' network access rights in real time, you can run this command to enable the device to re-authenticate the users when receiving DHCP lease renewal packets from MAC address authentication users.
This function applies only to BNG scenarios.
# In the system view, enable the device to re-authenticate the users when receiving DHCP lease renewal packets from MAC address authentication users on GE0/0/1.
<HUAWEI> system-view [HUAWEI] mac-authen reauthenticate dhcp-renew interface gigabitethernet 0/0/1
# In the interface view, enable the device to re-authenticate the users when receiving DHCP lease renewal packets from MAC address authentication users on GE0/0/1.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] mac-authen reauthenticate dhcp-renew