2-44
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
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.
clear ip dhcp snooping {binding | database statistics | statistics}
Syntax Description
Defaults No default is defined.
Command Modes Privileged EXEC
Command History
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
binding Clear the DHCP snooping binding database.
database
statistics
Clear the DHCP snooping binding database agent statistics.
statistics Clear the DHCP snooping statistics counter.
Release Modification
12.2(37)SE The statistics keyword was introduced.
Command Description
ip dhcp snooping Enables DHCP snooping on a VLAN.
ip dhcp snooping database Configures the DHCP snooping binding database agent or
the binding file.
show ip dhcp snooping binding Displays the status of DHCP snooping database agent.