ip dhcp snooping vlan
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 mode
Command History
Release
12.1(12c)EW
Usage Guidelines
DHCP snooping is enabled on a VLAN only if both 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)#
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-302
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
to 4094.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-25342 -01