2-278
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
ip dhcp snooping vlan
Examples This example shows how to enable DHCP snooping on VLAN 10 and then enable smart logging for
packets entering the VLAN:
Switch(config)# ip dhcp snooping vlan 10
Switch(config)# ip dhcp snooping vlan 10 smartlog
This example shows how to enable DHCP snooping on a range of VLANs and then enable smart logging
for packets entering the VLANs:
Switch(config)# ip dhcp snooping vlan 10-20
Switch(config)# ip dhcp snooping vlan 10-20 smartlog
Related Commands Command Description
ip dhcp snooping Globally enables DHCP snooping.
logging smartlog Globally enables smart logging.
show ip dhcp snooping Displays the DHCP snooping configuration.