H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 5 DHCP Snooping Configuration
5-5
Note:
z You need to specify the ports connected to the valid DHCP servers as trusted to
ensure that DHCP clients can obtain valid IP addresses. The trusted port and the
port connected to the DHCP client must be in the same VLAN.
z You are not recommended to configure both the DHCP snooping and selective
Q-in-Q function on the switch, which may result in the DHCP snooping to function
abnormally.
5.3 Configuring DHCP Snooping to Support Option 82
5.3.1 Prerequisites
You need to enable the DHCP Snooping function before configuring DHCP Snooping to
support Option 82.
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.