The dhcp option82 append vendor-specific command inserts the Sub9 suboption into Option 82.
The undo dhcp option82 append vendor-specific command restores the default configuration.
By default, Sub9 suboption is not inserted into the Option 82 field of DHCP messages.
Usage Scenario
After the dhcp option82 append vendor-specific command is run on a DHCP relay agent or DHCP snooping device, the device will insert the Sub9 suboption into the Option 82 field of a received DHCP message. When this DHCP message is forwarded to the DHCP server, the server obtains the DHCP client location information from the Sub9 suboption.
The Sub9 suboption has old and new formats. The old format contains the vendor ID, for example, hwid. The new format does not contain the vendor ID.
Prerequisites
DHCP has been enabled globally using the dhcp enable command.
Precautions
When the Option 82 insertion method is Insert, the Sub9 is not inserted.
When the Option 82 insertion method is Rebuild, the Sub9 is reconstructed and then inserted into Option 82.
The total length of the Option 82 field cannot exceed 255 bytes.