clear
Command
Clear
UseThis command is used to clear various counters in IOS as well as to reset various routing protocol adjacencies.
Syntax
Router#clear <option>
Optional Switches
aaa
access-list
access-template
adjacency
alps
appletalk
arp-cache
backhaul-session-manage
bgp
bridge
bsc
bstun
call
cdp
cef
clns
cns
counters
crypto
decnet
dialer
dlsw
dot1x
drip
dspfarm
frame-relay
funi
h323
host
interface
ip
ipv6
ipx
isis
kerberos
lane
line
logging
mac-address-table
memory
mgcp
mpls
mpoa
mrcp
ncia
netbios-cache
oer
pagp
parser
ppp
pppatm
pppoe
radius
rbscp
rif-cache
route-map
rpms-proc
rudpv1
sccpold
scp
sip-ua
snapshot
source-bridge
sss
statistics
stun
subscription
tag-switching
tarp
tcp
tgrep
vlan
voice
vpdn
vsp
vtp
webvpn
x25
xot |
Clear AAA values
Clear access list statistical information
Access-template
Adjacent nodes
Clear Alps
Reset AppleTalk information
Clear the entire ARP cache
Backhaul Session Manager information
Clear BGP connections
Reset bridge forwarding cache
Clear counters in <show bsc> command
Clear counters displayed in show bstun
Call
Reset cdp information
CEF information related to linecard
CLNS
CNS agents
Clear counters on one or all interfaces
Encryption subsystem
Reset DECnet information
Clear dialer statistics
Data Link Switching (DLSw)
Clear Dot1x information
Clear drip
clear DSPFARM
Clear Frame Relay information
FUNI information
Clear H.323 protocol related information
Delete host table entries
Clear the hardware logic on an interface
IP
IPv6
Reset Novell/IPX information
Clear IS-IS data structures
Clear Kerberos Values
lane
Reset a terminal line
Clear logging buffer
MAC forwarding table
Memory counters
clear Media Gateway Control Protocol
Reset MPLS statistical information
MPOA clear commands
Clear MRCP statistics
Native Client Interface Architecture (NCIA)
Clear the entire NetBIOS name cache
Optimized Exit Routing information
Port channel information
Clear parser data
Clear ppp statistics
PPP over ATM
PPP over Ethernet
Clears radius server information
RBSCP statistics/information
Clear the entire RIF cache
Clear Route Map statistical information
Clear RPMS Process Information
Clear Rudpv1 information
clear Skinny Client Control Protocol
Clear SCP commands
Clear SIP User Agent Information
Clear Snapshot timers
Clear counters displayed in "show source-bridge"
Subscriber Service Switch Information
Statistics
Clear counters displayed in show stun
Clear Subscriptions
Reset tag switching information
Reset tarp information
Clear a TCP connection or statistics
Clear TGREP counters/session
Clear vLAN statistical information
Clear Voice
Clear a VPDN entity
Voice Streaming Processing information
Clear VTP items
WebVPN information
Clear X.25 circuits
Clear an XOT (X.25-Over-TCP) VC |
Example
Since there is so many different clear options, we have added a clear section with some of the more useful clear commands for a CCNA candidate.
R2#clear ip ospf process
Reset ALL OSPF processes? [no]: y
R2#
*Mar 1 04:52:42.914: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on FastEthernet1/0 from FULL to DOWN, Neighbor Down: Interface down or detached
*Mar 1 04:52:43.110: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on FastEthernet1/0 from LOADING to FULL, Loading Done
R2#
|
Back to commands department
| |