Operation Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 DHCP Snooping Configuration
Huawei Technologies Proprietary
6-2
6.2 Configuring DHCP Snooping
6.2.1 DHCP Snooping Configuration Task
The following table describes DHCP snooping configuration tasks:
Table 6-1 DHCP snooping configuration task
Configuration Command Remarks
Enter system view
system-view
––
Enable DHCP
snooping on the
switch
dhcp-snooping
Optional. By default, DHCP
snooping is disabled.
Enter Ethernet port
view
interface { interface-type
interface-number |
interface-name }
––
Set the port as trusted
dhcp-snooping trust
Optional. By default, no port is
set as trusted.
(S3526E/S3526E FM/S3526E
FS/S3526C support)
Display the
association table
recorded by DHCP
snooping
display dhcp-snooping
Optional, any view
Display the enable
status of DHCP
snooping and
information about the
trusted port
display dhcp-snooping
trust
Optional, any view
(S3526E/S3526E FM/S3526E
FS/S3526C support)
Caution:
You must first disable DHCP relay (no DHCP server is configured on any Layer 3 port)
before enabling DHCP snooping on the switch.
6.2.2 DHCP Snooping Configuration Example
I. Networking requirements
z SwitchA (S3500) works as a Layer 2 switch. Enable DHCP snooping on it.
z SwitchA records the IP address for DHCP client to access the Internet, and
confirms the association between the applied IP address and host MAC address.