
Command Reference
30
Release 11.2 GS
clear logging
To clear messages from the logging buffer, use the clear logging privileged EXEC command.
clear logging {all | slot slot-number} [counts | messages]
Syntax Description
Default
If no options are specified, clear the counters and messages from the logging buffer for all line cards.
Command Mode
Privileged EXEC
Usage Guidelines
This command was modified in Cisco IOS Release 11.2 GS to include the all, slot, counts, and
messages keywords.
Use the show logging command to display logging information.
all Clears the logging buffer for all slots.
slot slot-number Clears the logging buffer for a specific slot. Slot numbers range from 0
to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008.
counts (Optional) Clears the message counters only from the logging buffer.
The messages are kept.
messages (Optional) Clears the messages from logging buffer (that is, discard all
messages in the log).
Kommentare zu diesen Handbüchern