set protocols dhcp snooping option82 circuit-id
The set protocols dhcp snooping option82 circuit-id command configures the format of sub-option circuit ID inserted into the Option 82 field for DHCP snooping.
NOTE: The sub-option circuit ID is applied to VLANs where option82-policy is set to “insert” or “replace”.
Command Syntax
set protocols dhcp snooping option82 circuit-id <port-index | port-name | port-description>
Parameters
Parameter | Description |
circuit-id <port-index | port-name | port-description> | Specifies the type 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 the 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-ethernet <lag_name> description <description>
set interface gigabit-ethernet <physical-port> 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 the sub-option circuit ID for the Option 82 field.
admin@Xorplus# set protocols dhcp snooping option82 circuit-id port-index
Copyright © 2024 Pica8 Inc. All Rights Reserved.