Task
Display information about bindings of
DHCP relay agents.
Display statistics information about
bindings of DHCP relay agents.
Display information about the
refreshing interval for entries of
dynamic IP-to-MAC bindings.
Display information about the
configuration of a specific or all DHCP
server groups.
Display packet statistics on the DHCP
relay agent.
Clear packet statistics on the DHCP
relay agent.
DHCP relay agent configuration examples
DHCP relay agent configuration example
Network requirements
As shown in
server.
Figure 31 Network diagram
DHCP client
DHCP client
The DHCP relay agent and server are on different subnets, so configure a static route or a dynamic
routing protocol to make them reachable to each other.
Perform the configuration on the DHCP server to guarantee the client-server communication. For more
information about DHCP server configuration, see
Figure
31, the DHCP relay agent forwards messages between DHCP clients and the DHCP
DHCP client
Vlan-int1
10.10.1.1/24
Switch A
DHCP relay agent
DHCP client
Command
display dhcp relay security [ ip-address |
dynamic | static ] [ | { begin | exclude |
include } regular-expression ]
display dhcp relay security statistics [ |
{ begin | exclude | include }
regular-expression ]
display dhcp relay security tracker [ |
{ begin | exclude | include }
regular-expression ]
display dhcp relay server-group { group-id
| all } [ | { begin | exclude | include }
regular-expression ]
display dhcp relay statistics [ server-group
{ group-id | all } ] [ | { begin | exclude |
include } regular-expression ]
reset dhcp relay statistics [ server-group
group-id ]
Vlan-int2
10.1.1.2/24
Vlan-int2
10.1.1.1/24
Switch B
DHCP server
"Configuring the DHCP
65
Remarks
Available in any
view.
Available in any
view.
Available in any
view.
Available in any
view.
Available in any
view.
Available in user
view.
server."