Configuring a handling policy for DHCP packets with Option 82
Follow these steps to configure a handling policy for DHCP packets with Option 82:
To do...
Enter system view
Configure a global handling
policy for requests that contain
Option 82
Enter Ethernet port view
Configure a handling policy for
requests that contain Option 82
received on the specified
interface
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.
Configuring the storage format of Option 82
S5500-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:
To do...
Enter system view
Configure a storage format
for the Option 82 field
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.
Configuring the circuit ID sub-option
Follow these steps to configure the circuit ID sub-option:
To do...
Enter system view
Use the command...
system-view
dhcp-snooping information
strategy { drop | keep |
replace }
interface interface-type
interface-number
dhcp-snooping information
strategy { drop | keep |
replace }
Use the command...
system-view
dhcp-snooping information
format { hex | ascii }
Use the command...
system-view
4-7
Remarks
—
Optional
The default handling policy is
replace.
—
Optional
The default policy is replace.
Remarks
—
Optional
By default, the format is hex.
Remarks
—