- 323 -
7.17.1.7 clear counters
This command clears the stats for a specified <slot/port> or for all the ports or for the entire switch based
upon the argument.
Syntax
clear counters [<slot/port> | all]
<slot/port> - is the desired interface number.
all - All interfaces.
Default Setting
None
Command Mode
Privileged Exec
7.17.1.8 clear dns
This command sets the DNS configuration to default value. The command will only clear the DNS
statistics(used option command counter) or only clear all entries from the DNS cache(used option
command cache).
Syntax
clear dns [counter | cache]
counter - this command clear the DNS statistics.
cache - this command clear all entries from the DNS cache.
Default Setting
None
Command Mode
Privileged Exec
7.17.1.9 clear cdp
This command is used to clear the CDP neighbors information and the CDP packet counters.