The dhcp option82 link-selection insert enable command enables the function of inserting the Sub5 field in Option 82 option on a DHCP relay interface.
The undo dhcp option82 link-selection insert enable command disables the function of inserting the Sub5 field in Option 82 option on the DHCP relay interface.
The dhcp option82 link-selection subnet-ip-address command configures the IP address corresponding to the Sub5 field in Option 82 on a DHCP relay interface.
The undo dhcp option82 link-selection subnet-ip-address command deletes the configured IP address corresponding to the Sub5 field in Option 82 on a DHCP relay interface.
By default, the function of inserting the Sub5 field in Option 82 option on the DHCP relay interface is disabled, no IP address is configured for the Sub5 field in Option 82.
100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE optical interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Sub-interface view
Usage Scenario
The dhcp option82 link-selection insert enable command enables the function of inserting the Sub5 field in Option 82 option on a DHCP relay interface.
To configure the IP address corresponding to the Sub5 field in Option 82 on a DHCP relay interface, run the dhcp option82 link-selection subnet-ip-address command.Prerequisites
The function to insert information to Option 82 of DHCP packets is enabled using the dhcp option82 link-selection insert enable command.
<HUAWEI> system-view [~HUAWEI] interface eth-trunk 2 [*HUAWEI-Eth-Trunk2] dhcp option82 link-selection insert enable [*HUAWEI-Eth-Trunk2] dhcp option82 link-selection subnet-ip-address 10.1.1.1