3Com Switch 8800 Advanced Software V5 Configuration Guide

742 CHAPTER 51: DHCP RELAY AGENT CONFIGURATION
DHCP Relay Agent
Configuration
Example
Prerequisites
Vlan-interface1 on the DHCP relay agent (Switch A) connects to the network
where DHCP clients reside. The IP address of Vlan-interface1 is 10.10.1.1/24
and IP address of Vlan-interface2 is 10.1.1.2/24.
The IP address of the DHCP server 10.1.1.1/24.
Switch A forwards messages between DHCP clients and the DHCP server, so
that the DHCP client can obtain an IP address of the network segment
10.10.1.0/24 and related configuration information from the DHCP server.
Network requirements
Enable Switch A to forward DHCP messages so that the DHCP clients can obtain IP
addresses and corresponding configuration information from the DHCP server.
Network diagram
Figure 217 Network diagram for DHCP relay agent
Configuration procedure
# Enable DHCP.
<Sysname> system-view
[Sysname] dhcp enable
Display statistics information
about bindings of DHCP relay
agents
display dhcp relay security
statistics
Available in any view
Display information about the
refreshing interval for entries of
dynamic IP-to-MAC bindings
display dhcp relay security
tracker
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 }
Available in any view
Display packet statistics on relay
agent
display dhcp relay statistics [
server-group { group-id | all } ]
Available in user view
Clear packet statistics from relay
agent
reset dhcp relay statistics [
server-group group-id ]
Available in user view
To do... Use the command... Remarks
Switch B
DHCP server
Switch A
DHCP relay
DHCP client DHCP client
DHCP clientDHCP client
Vlan-int2
10.1.1.2/24
Vlan-int1
10.10.1 .1/24
Vlan-int2
10. 1.1 .1/ 24