set protocols dhcp relay option82 circuit-id


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

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


Command Syntax

set protocols dhcp relay option82 circuit-id <port-index | port-name | port-description>


Parameters

Parameter

Description

circuit-id <port-index | port-name | port-description>

Specifies the format of circuit ID in the Option 82 field. The value could be port-index, port-name or port-description.

By default, the sub-option circuit ID is not configured, which means circuit ID is not enabled.


Usage Guidelines

If configured, the circuit ID is filled with port identifier and VLAN:

  • When “port-index” is selected, the format of the circuit ID is “VLAN ID + port index”.
  • When “port-name” is selected, the format of the circuit ID is “VLAN ID + port name”.
  • When “port-description” is selected, the format of the circuit ID is “VLAN ID + port description”. The value of “port-description” can be set by the following commands:

set interface aggregate-ethernett <lag_name> description <description>

set interface gigabit-ethernet <physical-port-name> description <description>

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 circuit ID in the Option 82 field to port-index.
admin@Xorplus# set protocols dhcp relay option82 circuit-id port-index
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.