O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

clear — command

Synopsis

clear command

Description

A clear command erases counters for various statistics or performs a reset action. For example, clear line clears an asynchronous line and drops the connection, while clear cdp counters resets the Cisco Discovery Protocol statistics. Table 17-4 summarizes the many clear commands.

Table 17-4. Clear commands

Command

Subcommand

Action

clear access-list

counters

Clears access list statistical information.

clear access-template

 

Clears the access template.

clear arp-cache

 

Clears the entire ARP cache.

clear bridge

 

Resets bridge forwarding cache.

 

multicast

Resets multicast group state.

clear bstun

 

Clears counters displayed in show bstun.

clear cdp

 

Resets CDP information.

 

counters

Clears CDP counters.

 

table

Clears the CDP table.

clear counters

interface

Clears counters on one or all interfaces.

clear controller

  

clear crypto

 

Resets encryption subsystem.

clear dialer

interface

Clears dialer statistics.

clear frame-relay-inarp

 

Clears inverse ARP entries from the map table.

clear host

*

Deletes all host table entrie.s

 

name

Deletes the given host table entry.

clear hub

ethernet n

Clears (resets) a hub.

 

counters

Clears hub statistics.

clear interface

 

Clears the hardware logic on an interface.

clear ip access-list counters

 

Clears access list statistical information.

clear ip access-template

 

Clears the IP access template.

clear ip ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required