Clear Ip Dhcp Snooping; Exec Command - Cisco catalyst 3750 Command Reference Manual

Hide thumbs Also See for catalyst 3750:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750 Switch Cisco IOS Commands

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.
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(20)SE
12.2(37)SE
12.2(44)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.

OL-8552-07
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.
The statistics keyword was introduced.
The *, ip-address, interface interface-id, and vlan vlan-id keywords were
introduced.
clear ip dhcp snooping
Catalyst 3750 Switch Command Reference
2-77

Advertisement

Table of Contents
loading

Table of Contents