Configure the storage format of option 82, Configure the circuit id sub-option – H3C Technologies H3C S3100 Series Switches User Manual

Page 541

Advertising
background image

3-9

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

S3100-EI Series Ethernet Switches support the HEX or ASCII format for the Option 82 field.

Follow these steps to configure a storage format for the Option 82 field:

Operation

Command

Description

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:

Operation

Command

Description

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

Advertising