3Com Switch 7750 Configuration Guide

620 CHAPTER 58: DHCP RELAY AGENT CONFIGURATION
Displaying and
Maintaining DHCP
Relay Agent
After the above configuration, execute the display command in any view to
display and verify the DHCP relay agent configuration.
Execute the reset command in user view to clear the statistics information of the
specified DHCP server group.
DHCP Relay Agent
Configuration
Example
Network requirements
The DHCP clients on the network segment 10.110.0.0/16 are connected to a port
of VLAN 2. The IP address of the DHCP server is 202.38.1.2. DHCP packets
between the DHCP clients and the DHCP server are forwarded by the DHCP relay
agent, through which the DHCP clients can obtain IP addresses and related
configuration information from the DHCP server.
Network diagram
Figure 156 Network diagram for DHCP relay agent
Configuration procedure
# Enter system view.
<SW7750> system-view
Table 494 Display DHCP relay agent configuration
Operation Command Description
Display the information about a
specified DHCP server group
display dhcp-server groupNo You can execute the
display command in
any view.
Display the information about the
DHCP server group to which a
specified VLAN interface is mapped
display dhcp-server
interface vlan-interface
vlan-id
Display the address information of all
the users in the valid user address
table of the DHCP server group
display dhcp-security
[ ip-address | dynamic |
static ]
Clear the statistics information of the
specified DHCP server group
reset dhcp-server groupNo You can execute the
reset command in
user view.
Switch B
DHCP server
Switch A
DHCP relay
DHCP client DHCP client
DHCP clientDHCP client
Vlan-int1
202.38.1.1/24
Vlan-int2
10.110.1.1/24
Vlan-int1
202.38.1.2/24