Specifications
2-251
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ip dhcp snooping vlan
ip dhcp snoopi ng vlan
Use the ip dhcp snooping vlan command to enable DHCP sno oping on a VLAN. To disable DHCP
snooping on a VLAN, use the no form of this command.
ip dhcp snooping [vlan number]
no ip dhcp snooping [vlan number]
Syntax Description
Defaults DHCP snooping is di sabled.
Command Modes Global configura tion mode
Usage Guidelines DHCP snooping is enabled on a VLAN only i f both global snooping and t he VLAN snooping are
enabled.
Examples This example shows how to enable DHCP snoopin g on a VLAN:
Switch(config)# ip dhcp snooping vlan 10
Switch(config)#
This example shows how to disable DHCP snoo ping on a VLAN:
Switch(config)# no ip dhcp snooping vlan 10
Switch(config)#
This example shows how to enable DHCP snoopin g on a group of VLANs:
Switch(config)# ip dhcp snooping vlan 10 55
Switch(config)#
This example shows how to disable DHCP snoo ping on a group of VLANs:
Switch(config)# no ip dhcp snooping vlan 10 55
Switch(config)#
vlan number (Optional) Single VLAN number or a range of VLANs; valid values are fr om 1
to 4094.