6.6.1. ip dhcp snooping

Syntax

ip dhcp snooping

no ip dhcp snooping

Parameter

Default

Mode

DHCP snooping is disabled

Usage

Use the ip dhcp snooping command to enable DHCP Snooping function.

Example

The example shows how to enable DHCP Snooping on VLAN 1. You can verify settings by the following show ip dhcp snooping command.

Switch(config)# ip dhcp snooping
Switch(config)# ip dhcp snooping vlan 1
Switch(config)# show ip dhcp snooping
DHCP Snooping : enabled
Enable on following Vlans 1
circuit-id default format : vlan-port
remote-id : 00:58:3F:33:44:55 (Switch Mac in Byte Order)