Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-97
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X 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 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
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.
binding
Clear the DHCP snooping binding database.
*
Clear all automatic bindings.
ip-address
Clear the binding entry IP address.
interface interface-id
Clear the binding input interface.
vlan vlan-id
Clear the binding entry VLAN.
database statistics
Clear the DHCP snooping binding database agent statistics.
statistics
Clear the DHCP snooping statistics counter.
Release
Modification
12.2(53)SE2
This command was introduced.