13
DHCP Snooping Commands
13.2 ip dhcp snooping vlan
Use the ip dhcp snooping vlan Global Configuration mode command to enable
DHCP Snooping on a VLAN. Use the no form of this command to disable DHCP
Snooping on a VLAN.
Syntax
vlan-id
ip dhcp snooping vlan
vlan-id
no ip dhcp snooping vlan
Parameters
•
vlan-id
—Specifies the VLAN ID.
Default Configuration
DHCP Snooping on a VLAN is disabled.
Command Mode
Global Configuration mode
User Guidelines
DHCP Snooping must be enabled globally before enabling DHCP Snooping on a
VLAN.
Example
The following example enables DHCP Snooping on VLAN 21.
switchxxxxxx(config)#
ip dhcp snooping vlan
21
13.3 ip dhcp snooping trust
Use the ip dhcp snooping trust Interface Configuration (Ethernet, Port-channel)
mode command to configure a port as trusted for DHCP snooping purposes. Use
the no form of this command to restore the default configuration.
311
OL-32830-01 Command Line Interface Reference Guide