9-7
z
You can enable DHCP snooping to support Option 82 on Layer 2 Ethernet interfaces and Layer 2
aggregation interfaces only.
z
If a Layer 2 Ethernet interface is added to an aggregation group, enabling DHCP snooping to
support Option 82 on the interface will not take effect. After the interface quits the aggregation
group, the configuration will be effective.
z
To support Option 82, it is required to perform related configuration on both the DHCP server and
the device enabled with DHCP snooping.
z
If the handling strategy of the DHCP-snooping-enabled device is configured as
replace
, you need
to configure a padding format for Option 82. If the handling strategy is
keep
or
drop
, you need not
configure any padding format.
z
If the Option 82 is padded with the device name (sysname) of a node, the device name must
contain no spaces. Otherwise, the DHCP-snooping-enabled device will drop the message.
Displaying and Maintaining DHCP Snooping
To do…
Use the command…
Remarks
Display DHCP snooping entries
display dhcp-snooping
[
ip
ip-address
]
Available in any view
Display Option 82 configuration
information on the DHCP snooping device
display dhcp-snooping
information
{
all
|
interface
interface-type interface-number
}
Available in any view
Display DHCP packet statistics on the
DHCP snooping device
display dhcp-snooping packet
statistics
[
slot slot-number
]
Available in any view
Display information about trusted ports
display dhcp-snooping trust
Available in any view
Clear DHCP snooping entries
reset dhcp-snooping
{
all
|
ip
ip-address
}
Available in user view
Clear DHCP packet statistics on the DHCP
snooping device
reset dhcp-snooping packet
statistics
[
slot slot-number
]
Available in user view