129
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       I Commands
ip dhcp snooping vlan
ip dhcp snooping vlan
To enable Dynamic Host Configuration Protocol (DHCP) snooping on one or more VLANs, use the ip 
dhcp snooping vlan command. To disable DHCP snooping on one or more VLANs, use the no form of 
this command.
ip dhcp snooping vlan vlan-list
no ip dhcp snooping vlan vlan-list
Syntax Description
Command Default By default, DHCP snooping is not enabled on any VLAN.
Command Modes Global configuration mode
Command History
Usage Guidelines To use this command, you must enable the DHCP snooping feature using the feature dhcp command.
Examples This example shows how to enable DHCP snooping on VLANs 100, 200, and 250 through 252:
switch# configure terminal 
switch(config)# ip dhcp snooping vlan 100,200,250-252 
switch(config)# 
Related Commands
vlan-list Range of VLANs on which to enable DHCP snooping. The vlan-list argument 
allows you to specify a single VLAN ID, a range of VLAN IDs, or 
comma-separated IDs and ranges. Valid VLAN IDs are from 1 to 4094, except for 
the VLANs reserved for internal use.
Use a hyphen (-) to separate the beginning and ending IDs of a range of VLAN 
IDs; for example, 70-100.
Use a comma (,) to separate individual VLAN IDs and ranges of VLAN IDs; for 
example, 20,70-100,142.
Release Modification
5.2(1)N1(1) This command was introduced.
Command Description
feature dhcp Enables DHCP snooping on the switch.
show ip dhcp snooping Displays general information about DHCP snooping.
show running-config 
dhcp
Displays DHCP snooping configuration, including IP Source Guard 
configuration.