set protocols dhcp6 snooping option18 interface-id


The set protocols dhcp6 snooping option18 interface-id command configures the format of sub-option interface ID inserted into the Option 18 field for DHCPv6 snooping.

NOTE: The sub-option interface ID is applied to VLANs where option-policy is set to “insert” or “replace”.


Command Syntax

set protocols dhcp6 snooping option18 interface-id <port-index | port-name | port-description>


Parameters

Parameter

Description

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

Specifies the type of interface ID in the Option 18 field. The value could be port-index, port-name or port-description.

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


Usage Guidelines

If configured, the interface ID is filled with the port identifier and VLAN.

  • When “port-index” is selected, the format of the interface ID is “VLAN ID + port index”.
  • When “port-name” is selected, the format of the interface ID is “VLAN ID + port name”.
  • When “port-description” is selected, the format of the interface 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>


Example

  • Configure the format of the sub-option interface ID for the Option 18 field.
admin@Xorplus# set protocols dhcp6 snooping option18 interface-id port-index
admin@Xorplus# commit




Copyright © 2024 Pica8 Inc. All Rights Reserved.