Command Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 7 DHCP Snooping Configuration Commands
Huawei Technologies Proprietary
7-2
System View: return to User View with Ctrl+Z.
[Quidway] dhcp-snooping
DHCP Relay has already been enabled, you can not config dhcp relay!
7.1.2 dhcp-snooping trust
Syntax
dhcp-snooping trust
undo dhcp-snooping trust
View
Ethernet port view
Parameter
None
Description
Using dhcp-snooping trust command, you can configure a trusted port. Using undo
dhcp-snooping trust command, you can restore the trusted port as distrusted.
By default, the switch ports are set as distrusted.
For the related command, see display dhcp-snooping trust.
Example
# Configure Ethernet0/1 as a trusted port.
[Quidway-Ethernet0/1] dhcp-snooping trust
7.1.3 display dhcp-snooping
Syntax
display dhcp-snooping
View
Any view
Parameter
None.
Description
Use the display dhcp-snooping command to view the association table recorded by
DHCP snooping, including the user IP address allocated by the DHCP server, MAC
address, lease time of the IP address, VLAN where the switch port for the user belong.