H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 4
DHCP Snooping Configuration
4-6
II. Network diagram
DHCP Client
Switch A
(DHCP Snooping)
DHCP Client
DHCP Client
DHCP Client
DHCP Server
Switch B
(DHCP relay agent)
Internet
Eth2/0/1Eth2/0/2
DHCP Client
Switch A
(DHCP Snooping)
DHCP Client
DHCP Client
DHCP Client
Switch B
(DHCP relay agent)
Internet
Eth2/0/1Eth2/0/2
DHCP Client
Switch A
(DHCP Snooping)
DHCP Client
DHCP Client
DHCP Client
Internet
Eth2/0/1Eth2/0/2
Switch B
(DHCP relay agent)
DHCP Server
n
Figure 4-3 DHCP-Snooping configuratio
III. Configuration procedure
Perform the following configuration on the DHCP-Snooping-enabled Switch A.
# Enter system view.
<H3C> system-view
# Enable the DHCP snooping function.
[H3C] dhcp-snooping
# Enable DHCP-Snooping option 82.
[H3C] dhcp-Snooping information enable
# Enter Ethernet 2/0/1 port view.
[H3C] interface ethernet2/0/1
# Specify the port as a trusted port.
[H3C-Ethernet2/0/1] dhcp-snooping trust