clear ip dhcp snooping
clear ip dhcp snooping
Use the clear ip dhcp snooping privileged EXEC command to clear the DHCP snooping binding
database, the DHCP snooping binding database agent statistics, or the DHCP snooping statistics
counters.
Syntax Description
binding
database
statistics
statistics
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.2(25)FX
12.2(37)SE
Usage Guidelines
When you enter the clear ip dhcp snooping database statistics command, the switch does not update
the entries in the binding database and in the binding file before clearing the statistics.
Examples
This example shows how to clear the DHCP snooping binding database agent statistics:
Switch# clear ip dhcp snooping database statistics
You can verify that the statistics were cleared by entering the show ip dhcp snooping database
privileged EXEC command.
This example shows how to clear the DHCP snooping statistics counters:
Switch# clear ip dhcp snooping statistics
You can verify that the statistics were cleared by entering the show ip dhcp snooping statistics user
EXEC command.
Catalyst 2960 Switch Command Reference
2-38
clear ip dhcp snooping {binding | database statistics | statistics}
Clear the DHCP snooping binding database.
Clear the DHCP snooping binding database agent statistics.
Clear the DHCP snooping statistics counter.
Modification
This command was introduced.
The statistics keyword was introduced.
Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
OL-8604-03