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 specified or all DHCP server groups
Display packet statistics on relay agent
Clear packet statistics from relay agent
DHCP Relay Agent Configuration Examples
DHCP Relay Agent Configuration Example
Network requirements
As shown in
Figure
server is 10.1.1.1/24. Because the DHCP clients reside on a different network with the DHCP server, a
DHCP relay agent is deployed to forward messages between DHCP clients and the DHCP server.
VLAN-interface 1 on the DHCP relay agent (Switch A) connects to the network where DHCP clients
reside. The IP address of VLAN-interface 1 is 10.10.1.1/24 and the IP address of VLAN-interface 2 is
10.1.1.2/24.
Figure 7-3 Network diagram for DHCP relay agent
DHCP client
DHCP client
DHCP client
Configuration procedure
# Specify IP addresses for the interfaces (omitted).
To do...
7-3, DHCP clients reside on network 10.10.1.0/24. The IP address of the DHCP
Vlan-int1
Vlan-int2
10.10.1.1/24
10.1.1.2/24
10.1.1.1/24
Switch A
DHCP relay agent
DHCP client
Use the command...
display dhcp relay security
[ ip-address | dynamic | static ]
display dhcp relay security
statistics
display dhcp relay security tracker
display dhcp relay server-group
{ group-id | all }
display dhcp relay statistics
[ server-group { group-id | all } ]
reset dhcp relay statistics
[ server-group group-id ]
Vlan-int2
Switch B
DHCP server
7-10
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