112
dhcp snooping information circuit-id
Use dhcp snooping information circuit-id to configure the padding mode and padding format for
the Circuit ID sub-option.
Use undo dhcp snooping information circuit-id to restore the default.
Syntax
dhcp snooping information circuit-id { [ vlan vlan-id ] string circuit-id | { normal | verbose
[ node-identifier { mac | sysname | user-defined node-identifier } ] } [ format { ascii | hex } ] }
undo dhcp snooping information circuit-id [ vlan vlan-id ]
Default
The padding mode is normal and the padding format is hex.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan vlan-id: Pads the Circuit ID sub-option for packets received from the specified VLAN. If you do
not specify a VLAN, the device pads the Circuit ID sub-option for packets received from the default
VLAN.
string circuit-id: Specifies the string mode, in which the padding content for the Circuit ID sub-option
is a case-sensitive string of 3 to 63 characters.
normal: Specifies the normal mode. The padding content includes the VLAN ID and interface
number.
verbose: Specifies the verbose mode. The padding content includes the node identifier, interface
information, and VLAN ID. The default node identifier is the MAC address of the access node. The
default interface information consists of the Ethernet type (fixed to eth), chassis number, slot number,
sub-slot number, and interface number.
node-identifier { mac | sysname | user-defined node-identifier }: Specifies the access node
identifier.
• mac: Uses the MAC address of the access node as the node identifier.
• sysname: Uses the device name as the node identifier. You can set the device name by using
the sysname command in system view. The padding format for the device name is always
ASCII regardless of the specified padding format.
NOTE:
If sysname is specified as the node identifier, do not include any spaces when you set the
device name. Otherwise, the DHCP snooping device fails to add or replace Option 82.
• user-defined node-identifier: Uses a case-sensitive string of 1 to 50 characters as the node
identifier. The padding format for the specified character string is always ASCII regardless of
the specified padding format.
format: Specifies the padding format for the Circuit ID sub-option.
ascii: Specifies the ASCII padding format.
hex: Specifies the hex padding format.