H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 3 DHCP Relay Agent Configuration
3-9
To do… Use the command… Remarks
Enable the relay agent
to support Option 82
dhcp relay information enable
Required
Disabled by default.
Configure the
handling strategy for
requesting messages
containing Option 82
dhcp relay information strategy
{ drop | keep | replace }
Optional
replace by default.
Configure the padding
format for Option 82
dhcp relay 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 relay agent. Refer to
Configuring the Handling Mode for Option
82
for DHCP server configuration of this kind.
z If the handling strategy of the DHCP relay agent 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 sub-option 1 (node identifier) of Option 82 is padded with the device name
(sysname) of a node, the device name must contain no spaces. Otherwise, the
DHCP relay agent will drop the message.
3.4 Displaying and Maintaining DHCP Relay Agent
Configuration
To do… Use the command… Remarks
Display information about
DHCP server groups
correlated to a specified or
all interfaces
display dhcp relay { all |
interface interface-type
interface-number }
Available in any view
Display information about
bindings of DHCP relay
agents
display dhcp relay
security [ ip-address |
dynamic | static ]
Available in any view
Display statistics information
about bindings of DHCP
relay agents
display dhcp relay
security statistics
Available in any view
Display information about
the refreshing interval for
entries of dynamic
IP-to-MAC bindings
display dhcp relay
security tracker
Available in any view