Cisco Cisco IOS Software Release 12.0(17)S

Página de 4
Clear Context Command
clear context
3
Cisco IOS Release 12.0(17)S
clear context
To clear the data displayed by the show context commands, use the clear context EXEC command. 
clear context [all | slot num]
Syntax Description
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
Usage Guidelines
The clear context command provides the ability to clear the information available in show context 
commands on the Cisco 12000 series Internet Router (formerly known as the GSR). 
The affected “show” commands are:
show context slot <num>
show context all
show context summary
Note
The clear context command does not clear the show context output when show context is entered 
with no arguments.
Examples
In the following example, the clear context command is used to clear context information for slot 6:
bos2#sh context summary
CRASH INFO SUMMARY
  Slot 0 :0 crashes
  Slot 1 :0 crashes
  Slot 2 :0 crashes
  Slot 3 :0 crashes
  Slot 4 :0 crashes
  Slot 5 :0 crashes
  Slot 6 :1 crashes
    1 - crash at 16:27:54 PDT Tue Apr 24 2001
  Slot 7 :0 crashes
RESET INFO SUMMARY
  Slot 0 :0 resets
  Slot 1 :0 resets
  Slot 2 :0 resets
all
clear the context data for all slots
slot <num>
clear the context data for a specified slot
Release
Modification
12.0(17)S
This command was introduced.