Security | 567
ip dhcp snooping
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. After 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
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
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 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
ip dhcp snooping vlan Enables DHCP Snooping on one or more VLANs.
minutes
Range: 5 to 21600
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
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 to 4094
ip ip-address
Enter the keyword ip followed by the IP address that the server is leasing.