![Cisco ASR 9000 Serie Скачать руководство пользователя страница 311](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679311.webp)
Level
Default Severity Keyword
Command
6
informational
logging trap
How to Implement Logging Services
Setting Up Destinations for System Logging Messages
This task explains how to configure logging to destinations other than the console terminal.
For conceptual information, see the
Syslog Message Destinations, on page 288
section.
SUMMARY STEPS
1.
configure
2.
logging buffered
[
size
|
severity
]
3.
logging monitor
[
severity
]
4.
commit
5.
terminal monitor
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
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.
logging buffered
[
size
|
severity
]
Example:
RP/0/RSP0/CPU0:router(config)#
Step 2
•
The default value for the
size
argument is 4096 bytes.
logging buffered severity
warnings
•
The default value for the
severity
argument is
debugging
.
•
Keyword options for the
severity
argument are
emergencies
,
alerts
,
critical
,
errors
,
warnings
,
notifications
,
informational
, and
debugging
.
•
By default, entering this command without specifying a severity level for the
severity
argument or specifying the size of the buffer for the
size
argument
sets the severity level to
debugging
and the buffer size to 4096 bytes.
Specifies terminal lines other than console terminal as destinations for syslog
messages and limits the number of messages sent to terminal lines based on severity.
logging monitor
[
severity
]
Example:
RP/0/RSP0/CPU0:router(config)#
logging monitor critical
Step 3
•
Keyword options for the
severity
argument are
emergencies
,
alerts
,
critical
,
errors
,
warnings
,
notifications
,
informational
, and
debugging
.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
295
Implementing Logging Services
How to Implement Logging Services