81
Parameters
vlan vlan-id: Specifies a VLAN ID, in the range 1 to 4094.
circuit-id: Specifies the padding content for the user-defined circuit ID sub-option, a case-sensitive string of
3 to 63 characters.
Description
Use the dhcp-snooping information circuit-id string command to configure the padding content for the
user-defined circuit ID sub-option.
Use the undo dhcp-snooping information circuit-id string command to restore the default.
By default, the padding content for the circuit ID sub-option depends on the padding format of Option
82.
After you configure the padding content for the circuit ID sub-option using this command, ASCII is
adopted as the code type.
If a VLAN is specified, the configured circuit ID sub-option only takes effect within the VLAN; if no VLAN
is specified, the configured circuit ID sub-option takes effect in all VLANs. The former case has a higher
priority. The circuit ID sub-option specified for a VLAN will be padded for packets within the VLAN.
Related commands: dhcp-snooping information format and display dhcp-snooping information.
Examples
# Configure the global padding content for the user-defined circuit ID sub-option as company001.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dhcp-snooping information circuit-id string company001
dhcp-snooping information enable
Syntax
dhcp-snooping information enable
undo dhcp-snooping information enable
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use the dhcp-snooping information enable command to configure DHCP snooping to support Option 82.
Use the undo dhcp-snooping information enable command to disable this function.
By default, DHCP snooping does not support Option 82.
Related commands: display dhcp-snooping information.
Examples
# Configure DHCP snooping to support Option 82.