clear ip dhcp snooping
clear ip dhcp snooping
Use the clear ip dhcp snooping privileged EXEC command on the switch stack or on a standalone
switch 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(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.
Related Commands
Command
ip dhcp snooping
ip dhcp snooping database
show ip dhcp snooping binding
Catalyst 3550 Multilayer Switch Command Reference
2-44
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
The statistics keyword was introduced.
Chapter 2
Catalyst 3550 Switch Cisco IOS Commands
Description
Enables DHCP snooping on a VLAN.
Configures the DHCP snooping binding database agent or
the binding file.
Displays the status of DHCP snooping database agent.
OL-8566-02