R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
63
Task Command
Remarks
Display information about the
refreshing interval for entries of
dynamic IP-to-MAC bindings.
display dhcp relay security tracker [ |
{ begin | exclude | include }
regular-expression ]
Available in any
view.
Display information about the
configuration of a specific or all DHCP
server groups.
display dhcp relay server-group { group-id
| all } [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display packet statistics on the DHCP
relay agent.
display dhcp relay statistics [ server-group
{ group-id | all } ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Clear packet statistics on the DHCP
relay agent.
reset dhcp relay statistics [ server-group
group-id ]
Available in user
view.
DHCP relay agent configuration examples
DHCP relay agent configuration example
Network requirements
As shown in Figure 29, the DHCP relay agent forwards DHCP messages between DHCP clients and the
DHCP server.
Because the DHCP relay agent and server are on different subnets, you need to configure static or
dynamic routing to make them reachable to each other.
DHCP server configuration is also required to guarantee the client-server communication through the
DHCP relay agent. For DHCP server configuration information, see "Configuring the DHCP server."
Figure 29 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
<RouterA> system-view
[RouterA] dhcp enable
Router B
DHCP server
Router A
DHCP relay agent
DHCP client DHCP client
DHCP clientDHCP client
GE3/0/2
10.1.1.2/24
GE3/0/1
10.10.1.1/24
GE3/0/1
10.1.1.1/24