Chapter 2
Cisco IOS Commands
ip dhcp snooping vlan
Use the ip dhcp snooping vlan global configuration command to enable Dynamic Host Configuration
Protocol (DHCP) snooping on a VLAN. Use the no form of this command to disable DHCP snooping
on a VLAN.
Syntax Description
vlan vlan-id
[vlan-id]
Defaults
DHCP snooping is disabled on all VLANs.
Command Modes
Global configuration
Command History
Release
12.1(19)EA1
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
Command
show ip dhcp snooping
show ip dhcp snooping binding
78-11195-09
ip dhcp snooping vlan vlan-id [vlan-id]
no ip dhcp snooping vlan vlan-id [vlan-id]
Specify a VLAN ID or range of VLANs on which to enable DHCP
snooping. You can specify a single VLAN identified by VLAN ID number
or a start and end VLAN ID separated by a space to specify a range of
VLANs. The range is 1 to 4094.
Modification
This command was first introduced.
Description
Displays the DHCP snooping configuration.
Displays the DHCP snooping binding information.
Catalyst 3550 Multilayer Switch Command Reference
ip dhcp snooping vlan
2-109