Clear Ip Dhcp Snooping - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands

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 binding database agent statistics or the DHCP snooping statistics counters.
clear ip dhcp snooping {binding {* | ip-address | interface interface-id | vlan vlan-id} | database
statistics | statistics}
Syntax Description
binding
*
ip-address
interface interface-id
vlan vlan-id
database statistics
statistics
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.2(53)SE2
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.
OL-21522-02
Clear the DHCP snooping binding database.
Clear all automatic bindings.
Clear the binding entry IP address.
Clear the binding input interface.
Clear the binding entry VLAN.
Clear the DHCP snooping binding database agent statistics.
Clear the DHCP snooping statistics counter.
Modification
This command was introduced.
Catalyst 3750-X and 3560-X Switch Command Reference
clear ip dhcp snooping
2-97

Advertisement

Table of Contents
loading

Table of Contents