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
Command Default
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
The following example shows how to enable DHCP snooping on a VLAN:
Switch(config)# ip dhcp snooping vlan 10
Switch(config)#
The following example shows how to disable DHCP snooping on a VLAN:
Switch(config)# no ip dhcp snooping vlan 10
Switch(config)#
The following example shows how to enable DHCP snooping on a group of VLANs:
Switch(config)# ip dhcp snooping vlan 10 55
Switch(config)#
The following 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 XE 3.9.xE and 15.2(5)Ex
2-328
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
This command was introduced on the Catalyst 4500 series switch.
Chapter 2