DHCP Snooping and ARP Inspection Commands
78-21075-01 Command Line Interface Reference Guide
•
interface-id—Specifies an interface ID. The interface ID can be one of the
following types: Ethernet port or Port-channel.
•
expiry
-
seconds
—Specifies the time interval, in seconds, after which the
binding entry is no longer valid. (Range: 10–4294967295)
-
infinite
—Specifies infinite lease time.
Default Configuration
No static binding exists.
Command Mode
Privileged EXEC mode
User Guidelines
After entering this command, an entry is added to the DHCP Snooping database. If
the DHCP Snooping binding file exists, the entry is also added to that file.
The entry is displayed in the show commands as a DHCP Snooping entry.
The user cannot delete dynamic temporary entries for which the IP address is
0.0.0.0.
The user can add static entry to the DHCP Snooping database by using the
command ip source-guard binding.
Example
The following example adds a binding entry to the DHCP Snooping binding
database.
switchxxxxxx#
ip dhcp snooping binding
900
expiry
42.9
clear ip dhcp snooping database
Use the clear ip dhcp snooping database Privileged EXEC mode command to
clear the DHCP Snooping binding database.
0060.704C.73FF 23 176.10.1.1 gi5
42
687