The set protocols dhcp snooping option82 remote-id command configures the format of sub-option remote ID inserted into the DHCP Option 82 field for DHCP snooping.
NOTE: The sub-option remote ID is applied to VLANs where option82-policy is set to “insert” or “replace”.
set protocols dhcp snooping option82 remote-id <system-mac | hostname>
remote-id <system-mac | hostname>
Specifies the type of remote ID in the Option 82 field. The value could be system-mac or hostname.
By default, the sub-option remote ID is not configured which means remote ID is not enabled.
If configured, the remote ID is unique per switch.
- When “system-mac” is selected, the format of the remote ID is “system MAC”.
- When “hostname” is selected, the format of the remote ID is “hostname”. The value of “hostname” can be set by the following command:
set system hostname <hostname>
Note that, when configuring Option 82 in MLAG environment, remote ID should be set to “system-mac” and circuit ID should be set to “port-index”.
- Configure the type of sub-option remote ID inserted into the DHCP Option 82 field.