41-7
Configuring a handling policy for DHCP packets with Option 82
F
gure a h
acket
ith Option 82:
ollow these steps to confi
andling policy for DHCP p
s w
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a global handl
policy for requests that co
ing
ntain
Option 82
replace
}
dhcp-snooping information
strategy
{
drop
|
keep
|
Optional
The default handling policy is
replace
.
Enter Ethernet port view
interface interface-type
interface-number
—
Configure a h
requests that
andling policy for
contain Option 82
received on the specified
t
dhcp-snooping information
strategy
{
drop
|
keep
|
Optional
The default policy is
replace
.
in erface
replace
}
If a
port, this configuration overrides the globally configured handling
port
atively configured.
handling policy is configured on a
policy for requests received on this port, while the globally configured handling policy applies on those
s where a handling policy is not n
Configuring the storage format of Option 82
2 field.
S4500 Series Ethernet Switches support the HEX or ASCII format for the Option 8
Follow these steps to configure a storage format for the Option 82 field:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Co
fault, the format is
hex
.
nfigure a storage format
dhcp-snooping information
Optional
for the Option 82 field
format
{
hex | ascii
}
By de
T
ation f
nly to
f
he circ
, t
II,
instead of the one specified with the
dhcp-snooping information
he
dhcp-snooping inform
ield. If you have configured t
ormat
command applies o
uit ID or remote ID sub-option
the default content of the Option 82
he format of the sub-option is ASC
format
command.
Configuring the circuit ID sub-option
F
gure the
ollow these steps to confi
circuit ID sub-option:
To do…
Use the command…
Remarks
Enter system view
system-view
—