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
ip dhcp snooping
logging smartlog
show ip dhcp snooping
Catalyst 3750-X and 3560-X Switch Command Reference
2-278
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
Description
Globally enables DHCP snooping.
Globally enables smart logging.
Displays the DHCP snooping configuration.
OL-29704-01