Command Line Reference Guide
Security | 1335
ip dhcp snooping
c s
Enable DHCP Snooping globally.
Syntax
[no] ip dhcp snooping
Command Modes
CONFIGURATION
Default
Disabled
Command
History
Usage
Information
When enabled, no learning takes place until snooping is enabled on a VLAN. Upon disabling DHCP
Snooping the binding table is deleted, and Option 82, IP Source Guard, and Dynamic ARP Inspection
are disabled.
Related
Commands
ip dhcp snooping database
c s
Delay writing the binding table for a specified time.
Syntax
ip dhcp snooping database write-delay minutes
Parameters
Command Modes
CONFIGURATION
Default
None
Command
History
ip dhcp snooping binding
c s
Create a static entry in the DHCP binding table.
Syntax
[no] ip dhcp snooping binding mac address vlan-id vlan-id ip ip-address interface type
slot/port lease number
Parameters
Version 7.8.1.0 Introduced on C-Series and S-Series
ip dhcp snooping vlan Enable DHCP Snooping on one or more VLANs.
minutes
Range: 5-21600
Version 7.8.1.0 Introduced on C-Series and S-Series
mac address Enter the keyword mac followed by the MAC address of the host to which the
server is leasing the IP address.
vlan-id vlan-id Enter the keyword vlan-id followed by the VLAN to which the host belongs.
Range: 2-4094
ip ip-address Enter the keyword ip followed by the IP address that the server is leasing.