The mac-authen dhcp-trigger dhcp-option command enables the device to send DHCP option information to the authentication server when triggering MAC address authentication through DHCP packets.
The undo mac-authen dhcp-trigger dhcp-option command restores the default configuration.
By default, the device does not send DHCP option information to the authentication server when triggering MAC address authentication through DHCP packets.
In the system view:
mac-authen dhcp-trigger dhcp-option option-code [ interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10> ]
undo mac-authen dhcp-trigger dhcp-option option-code [ interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10> ]
In the interface view:
mac-authen dhcp-trigger dhcp-option option-code
undo mac-authen dhcp-trigger dhcp-option option-code
Parameter | Description | Value |
---|---|---|
option-code | Specifies the option that the device sends to the authentication server. |
The value is fixed as 82. |
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
Option82 record information about DHCP user locations and services (voice and data services). After this command is run, if the device supports the function of triggering MAC address authentication though DHCP packets, it sends Option82 information to the authentication server when triggering MAC address authentication through DHCP packets. Based on the user information recorded in Option82, the authentication server then assigns different network access rights to users with different services in different locations. This implements accurate control on the network access right of each user.