1-44
Overview
Software Overview
Clear
The enable mode context expands the options for the clear command. To view
these options, enter:
Syntax: clear ?
Table 1-4 lists the clear command options available in the enable mode
context.
Table 1-4. Enable Mode Context clear Commands
Option Result
clear access-list clears the statistics for packets matched to ACL entries
clear arp-cache clears the ARP cache
clear arp-entry clears a single ARP table entry
clear bridge [<group number>] clears the bridge table
clear buffers clears the buffer statistics
clear counters [<interface>] clears interface counters
clear crypto [ike | ipsec] sa clears any existing crypto IKE or IPSec SAs
clear dump-core clears core-dump debug information
clear event-history clears the event-history log
clear host deletes DNS host table entries
clear ip [bgp | cache | dhcp-server | igmp | ospf | policy-
sessions| policy-stats | prefix-list | route {* | <A.B.C.D>}]
clears IP routes or sessions established using an ACP
clear lldp [counters | neighbors] clears lldp information
clear pppoe <ppp interface number> clears a single PPPoE session
clear processes [cpu | queue] clears router process statistics
clear qos map clears the QoS map statistics
clear route-map counters resets the statistics for packets selected by route maps
clear sip [location | proxy | user-registration] clears local SIP-related information
clear spanning-tree clears spanning tree statistics
clear tacacs+ statistics clears TACACS+ server statistics
clear user [console | ssh | telnet] detaches a user from a particular line