Dhcp relay agent configuration example, Network requirements – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 388

36-8
z
To support Option 82, it is required to perform related configuration on both the DHCP server and
relay agent. Since the DHCP server configuration varies with devices, it is not mentioned here.
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.
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
Display information about the
configuration of a specified or all
DHCP server groups
display dhcp relay server-group
{ group-id | all }
Available in any view
Display packet statistics on relay
agent
display dhcp relay statistics
[ server-group { group-id | all } ]
Available in user view
Clear packet statistics from relay
agent
reset dhcp relay statistics
[ server-group group-id ]
Available in user view
DHCP Relay Agent Configuration Example
Network requirements
VLAN-interface 1 on the DHCP relay agent (AC) connects to the network where DHCP clients reside.
The IP address of VLAN-interface 1 is 10.10.1.1/24 and IP address of VLAN-interface 2 is 10.1.1.2/24
that communicates with the DHCP server 10.1.1.1/24. As shown in the figure below, AC forwards
messages between DHCP clients and the DHCP server.