Configure the storage format of option 82, Configure the circuit id sub-option – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 321
31-7
To do…
Use the command…
Remarks
Configure a global handling policy
for requests that contain Option 82
dhcp-snooping information strategy
{ drop | keep | replace }
Optional
The default handling policy
is replace.
Enter Ethernet port view
interface interface-type interface-number
—
Configure a handling policy for
requests that contain Option 82
received on the specified interface
dhcp-snooping information strategy
{ drop | keep | replace }
Optional
The default policy is
replace
.
If a handling policy is configured on a port, this configuration overrides the globally configured handling
policy for requests received on this port, while the globally configured handling policy applies on those
ports where a handling policy is not natively configured.
Configure the storage format of Option 82
The device supports the HEX or ASCII format for the Option 82 field.
Follow these steps to configure a storage format for the Option 82 field:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a storage format for the
Option 82 field
dhcp-snooping information
format
{ hex | ascii }
Optional
By default, the format is hex.
The dhcp-snooping information format command applies only to the default content of the Option 82
field. If you have configured the circuit ID or remote ID sub-option, the format of the sub-option is ASCII,
instead of the one specified with the dhcp-snooping information format command.
Configure the circuit ID sub-option
Follow these steps to configure the circuit ID sub-option:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type interface-number
—
Configure the circuit ID
sub-option in Option 82
dhcp-snooping information
[ vlan
vlan-id
] circuit-id string string
Optional
By default, the circuit ID
sub-option contains the VLAN
ID and port index related to the
port that receives DHCP
request packets from DHCP
clients