The dhcp snooping enable command enables DHCP snooping.
The undo dhcp snooping enable command disables DHCP snooping.
dhcp snooping enable [ interface interface-type interface-number ]
undo dhcp snooping enable [ interface interface-type interface-number ]
| Parameter | Description | Value |
|---|---|---|
| interface interface-type interface-number | Specifies the type and number of an interface. | It can be configured only in the VLAN view. |
By default, DHCP snooping is disabled.
Other configuration commands related to the DHCP snooping take effect only when you enable DHCP snooping globally.
Enable DHCP snooping globally before enabling DHCP snooping on a VLAN or an interface.
Running the dhcp snooping enable command in the system view, you can enable DHCP snooping globally.
If you run the dhcp snooping enable command in the interface and VLAN views, you can enable DHCP snooping only on an interface or on a VLAN.