R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
88
Examples
# Enable DHCP snooping.
<Sysname> system-view
[Sysname] dhcp snooping enable
dhcp snooping information circuit-id
Use dhcp snooping information circuit-id to configure the padding content and code type 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 format is normal and the code type is hex.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
vlan vlan-id: Specifies a VLAN ID for the Circuit ID sub-option.
string circuit-id: Specifies the padding content for the Circuit ID sub-option, a case-sensitive string of 3 to
63 characters.
normal: Specifies the normal padding format. The padding content includes the VLAN ID and interface
number.
verbose: Specifies the verbose padding format.
node-identifier { mac | sysname | user-defined node-identifier }: Specifies the access node identifier.
The padding content includes the node identifier, Ethernet type (fixed to eth), chassis number, slot number,
sub-slot number, interface number, and VLAN ID. The node identifier varies by keyword mac, sysname,
and user-defined.
• mac: Uses the MAC address of the access node as the node identifier. It is the default 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 used 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 the Option 82.