Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
ip dhcp snooping vlan
Use the ip dhcp snooping vlan command to enable DHCP snooping on a VLAN. To disable DHCP
snooping on a VLAN, use the no form of this command.
Syntax Description
vlan number
Defaults
DHCP snooping is disabled.
Command Modes
Global configuration
Command History
Release
12.1(12c)EW
Usage Guidelines
DHCP snooping is enabled on a VLAN only if both the global snooping and the VLAN snooping are
enabled.
Examples
This example shows how to enable DHCP snooping on a VLAN:
Switch(config)# ip dhcp snooping vlan 10
Switch(config)#
This example shows how to disable DHCP snooping on a VLAN:
Switch(config)# no ip dhcp snooping vlan 10
Switch(config)#
This example shows how to enable DHCP snooping on a group of VLANs:
Switch(config)# ip dhcp snooping vlan 10 55
Switch(config)#
This example shows how to disable DHCP snooping on a group of VLANs:
Switch(config)# no ip dhcp snooping vlan 10 55
Switch(config)#
78-16201-01
ip dhcp snooping [vlan number]
no ip dhcp snooping [vlan number]
(Optional) Single VLAN number or a range of VLANs; valid values are from 1
to4094.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
ip dhcp snooping vlan
2-131