Dhcp relay agent configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 226
201
Task Command
Remarks
Display statistics information about
bindings of DHCP relay agents.
display dhcp relay security statistics [ |
{ begin | exclude | include }
regular-expression ]
Available in any
view
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 specified 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 relay agent.
display dhcp relay statistics [ server-group
{ group-id | all } ] [ | { begin | exclude |
include } regular-expression ]
Available in any
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
As shown in
, DHCP clients reside on network 10.10.1.0/24. The IP address of the DHCP 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.
GigabitEthernet 0/1 of the DHCP relay agent (SecPath) connects to the subnet where DHCP clients
reside. The IP address of GigabitEthernet 0/1 is 10.10.1.1/24, and the IP address of GigabitEthernet 0/2
is 10.1.1.2/24.
Figure 116 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces. (Details not shown.)
# Enable DHCP.
[SecPath] dhcp enable
# Add DHCP server 10.1.1.1 into DHCP server group 1
Router
DHCP server
SecPath
DHCP relay agent
DHCP client
DHCP client
DHCP client
DHCP client
GE0/2
10.1.1.2/24
GE0/1
10.10.1.1/24
GE0/1
10.1.1.1/24
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer