The mac-authen offline dhcp-release command enables the device to clear user entries when receiving DHCP Release packets from MAC address authentication users.
The undo mac-authen offline dhcp-release command restores the default configuration.
By default, the device does not clear user entries when receiving DHCP Release packets from MAC address authentication users.
Usage Scenario
After MAC address authentication users who send DHCP Release packets go offline, the corresponding user entries on the device cannot be deleted immediately. This occupies device resources and possibly prevents other users from going online. You can run this command to enable the device to clear the user entries in real time when MAC address authentication users go offline.
Precautions
MAC address authentication users who go online through VLANIF interfaces do not support this function.
If the device functions as a DHCP relay agent, configure the DHCP snooping function on the device; otherwise, this command does not take effect.
This function takes effect only in L2 BNG scenarios.