Operation Manual – DHCP
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 DHCP Snooping Configuration
5-4
5.3.2 Configuring DHCP Snooping to Support Option 82
Follow these steps to configure DHCP snooping to support Option 82:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Enable DHCP Snooping
to support Option 82
dhcp-snooping
information enable
Required
Disabled by default.
Configure the handling
strategy for requesting
messages containing
Option 82
dhcp-snooping
information strategy
{
drop
|
keep
|
replace
}
Optional
replace
by default.
Configure the padding
format for Option 82
dhcp-snooping
information format
{
normal
|
verbose
[
node-identifier
{
mac
|
sysname
|
user-defined
node-identifier
} ] }
Optional
normal
by default.
Note:
z
To support Option 82, it is required to perform related configuration on both the
DHCP server and the device enabled with DHCP Snooping. Refer to
the Handling Mode for Option 82
for DHCP server configuration of this kind.
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.
5.4 Displaying and Maintaining DHCP Snooping
To do…
Use the command…
Remarks
Display DHCP snooping
address binding
information
display dhcp-snooping
Display information about
trusted ports
display dhcp-snooping
trust
Available in any view