A SERVICE OF

logo

54
DHCP SNOOPING CONFIGURATION
COMMANDS
dhcp-snooping
Syntax dhcp-snooping
undo dhcp-snooping
View System view
Parameter None
Description Use the
dhcp-snooping command to enable DHCP snooping.
Use the
undo dhcp-snooping command to disable DHCP snooping.
With DHCP snooping disabled, all ports can forward responses from any DHCP
servers and does not record binding information about MAC addresses of DHCP
clients and the obtained IP addresses.
By default, DHCP snooping is disabled.
Related command: display dhcp-snooping.
Example # Enable DHCP snooping.
[Sysname] dhcp-snooping
dhcp-snooping trust
Syntax dhcp-snooping trust
undo dhcp-snooping trust
View Layer 2 Ethernet interface view
Parameter None
Description Use the
dhcp-snooping trust command to set a port as trusted.
Use the
undo dhcp-snooping trust command to restore the default state of a
port.