42
682
42.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
ip dhcp snooping vlan
no ip dhcp snooping
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)#
42.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.
Syntax
ip dhcp snooping trust
DHCP Snooping and ARP Inspection Commands
vlan-id
vlan-id
ip dhcp snooping vlan
78-21075-01 Command Line Interface Reference Guide
21