Cisco IOS XR System Monitoring Command Reference for the Cisco


Add to my manuals
550 Pages

advertisement

Cisco IOS XR System Monitoring Command Reference for the Cisco | Manualzz

Logging Services Commands clear logging

clear logging

To clear system logging (syslog) messages from the logging buffer, use the clear logging command in EXEC modeXR EXEC mode.

clear logging

Syntax Description This command has no keywords or arguments.

Command Default None

Command Modes EXEC modeXR EXEC mode

Command History

Release

Release 2.0

Release 3.2

Release 3.7.0

Release 3.7.2

Release 5.0.0

Modification

This command was introduced.

This command was supported.

Removed the internal keyword.

This command was introduced.

This command was introduced.

Usage Guidelines Use the clear logging command to empty the contents of the logging buffer. When the logging buffer becomes full, new logged messages overwrite old messages.

Use the

logging buffered, on page 350

command to specify the logging buffer as a destination for syslog messages, set the size of the logging buffer, and limit syslog messages sent to the logging buffer based on severity.

Use the

show logging, on page 387

command to display syslog messages stored in the logging buffer.

Task ID

Task ID logging

Operations execute

Examples This example shows how to clear the logging buffer:

RP/0/0RP0RSP0/CPU0:router:hostname# clear logging

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

339 OL-26517-02

Logging Services Commands clear logging

Clear logging buffer [confirm] [y/n] : y

Related Commands

Command

logging buffered, on page 350

show logging, on page 387

Description

Specifies the logging buffer as a destination for syslog messages, sets the size of the logging buffer, and limits syslog messages sent to the logging buffer based on severity.

Displays syslog messages stored in the logging buffer.

340

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

OL-26517-02

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents