set protocols dhcp relay option82 remote-id


The set protocols dhcp relay option82 remote-id command configures the format of sub-option remote ID inserted into the DHCP Option 82 field for DHCP relay.

NOTE: The sub-option remote ID is applied to VLAN interfaces where option82-policy is set to “insert” or “replace”.


Command Syntax

set protocols dhcp relay option82 remote-id <system-mac | hostname>


Parameters

Parameter

Description

remote-id <system-mac | hostname>

Specifies the format 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.


Usage Guidelines

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 system hostname 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”.


Example

  • Configure the format of sub-option remote ID inserted into the DHCP Option 82 field.
admin@Xorplus# set protocols dhcp relay option82 remote-id system-mac

Copyright © 2024 Pica8 Inc. All Rights Reserved.