Dhcp Relay Agent Configuration Example - H3C S5500-EI series Operation Manual

Hide thumbs Also See for S5500-EI series:
Table of Contents

Advertisement

Operation Manual – DHCP
H3C S5500-EI Series Ethernet Switches
Display packet statistics on
relay agent
Clear packet statistics from
relay agent

3.5 DHCP Relay Agent Configuration Example

I. Network requirements
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 IP
address of VLAN-interface 2 is 10.1.1.2/24 that communicates with the DHCP server
10.1.1.1/24. As shown in the figure below, Switch A forwards messages between
DHCP clients and the DHCP server.
II. Network diagram
DHCP client
DHCP client
Figure 3-3 Network diagram for DHCP relay agent
III. Configuration procedure
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Enable the DHCP relay agent on VLAN-interface 1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] dhcp select relay
[SwitchA-Vlan-interface1] quit
To do...
DHCP client
Vlan-int1
10.10.1.1/24
Switch A
DHCP relay agent
DHCP client
3-10
Chapter 3 DHCP Relay Agent Configuration
Use the command...
display dhcp relay statistics
[ server-group { group-id |
all } ]
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
Remarks
Available in
user view
Available in
user view

Advertisement

Table of Contents
loading

Table of Contents