Operation Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510
Operation
Enter
port view
Set
connected
DHCP server to a
trusted port
Note:
When you need to enable DHCP snooping on the switches in a fabric state, set the
fabric ports on all devices to trusted ports to ensure that the users connected to each
device can obtain IP addresses.
4.3 Configuration Example
I. Network requirements
As shown in Figure 4-1, the Ethernet1/0/1 port of Switch A (an S3900 series switch) is
connected to Switch B (acting as a DHCP relay). A network segment containing some
DHCP clients is connect to the Ethernet 1/0/2 port of Switch A.
The DHCP snooping function is enabled on Switch A.
The Ethernet1/0/1 port of Switch A is a trusted port.
II. Configuration procedure
# Enter system view.
<Quidway> system-view
# Enable the DHCP snooping function.
[Quidway] dhcp-snooping
# Enter Ethernet1/0/1 port view.
[Quidway] interface Ethernet1/0/1
# Set the port to a trusted port.
[Quidway-Ethernet1/0/1] dhcp-snooping trust
4.4 Displaying DHCP Snooping
After the above configurations, you can verify the configurations by executing the
display command in any view.
Ethernet
interface
interface-number
the
port
to
a
dhcp-snooping trust
Huawei Technologies Proprietary
Chapter 4 DHCP Snooping Configuration
Command
interface-type
4-3
Description
—
Optional
By default, all ports of a
switch are untrusted ports