User Guidelines
•
After entering this command, an entry is added to the DHCP snooping database. If DHCP snooping
binding file exists, the entry is also added to that file.
•
The entries are displayed in the show commands as a 'DHCP Snooping entry'.
Example
The following example configures the DHCP snooping binding database and adds binding entries to the
database.
Console# ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | port-
channel port-channel-number} expiry seconds
clear ip dhcp snooping database
Use the clear ip dhcp snooping database privileged EXEC command to clear the DHCP binding database.
Syntax
•
clear ip dhcp snooping database
Default Configuration
HTTP server is disabled by default.
Command Mode
Privileged EXEC mode.
User Guidelines
•
There are no user guidelines for this command.
Example
The following example clears the DHCP binding database.
Console#clear ip dhcp snooping database
show ip dhcp snooping
Use the show ip dhcp snooping EXEC command to display the DHCP snooping configuration.
Syntax
•
show ip dhcp snooping [ethernet interface | port-channel port-channel-number]
interface — Specify Ethernet port.
•
•
port-channel-number — Specify Port-channel number.
184
DHCP Snooping