2-153
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
ip dhcp snooping vlan
ip dhcp snooping vlan
Use the
ip dhcp snooping vlan
global configuration command to enable DHCP snooping on a VLAN.
Use the
no
form of this command to return to the default setting.
ip dhcp snooping vlan
vlan-range
no ip dhcp snooping vlan
vlan-range
Syntax Description
Defaults
DHCP snooping is disabled on all VLANs.
Command Modes
Global configuration
Command History
Usage Guidelines
You must first globally enable DHCP snooping before enabling DHCP snooping on a VLAN.
Examples
This example shows how to enable DHCP snooping on VLAN 10:
Switch(config)#
ip dhcp snooping vlan 10
You can verify your settings by entering the
show ip dhcp snooping
privileged EXEC command.
Related Commands
vlan
vlan-range
Specify a VLAN ID or a range of VLANs on which to enable DHCP snooping. The
range is 1 to 4094.
You can enter a single VLAN ID identified by VLAN ID number, a series of VLAN
IDs separated by commas, a range of VLAN IDs separated by hyphens, or a range
of VLAN IDs separated by entering the starting and ending VLAN IDs separated
by a space.
Release
Modification
12.1(19)EA1
This command was introduced.
Command
Description
show ip dhcp snooping
Displays the DHCP snooping configuration.
show ip dhcp snooping binding
Displays the DHCP snooping binding information.