![Cisco ASR 9000 Serie Скачать руководство пользователя страница 314](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679314.webp)
SUMMARY STEPS
1.
configure
2.
logging history severity
3.
logging history size number
4.
commit
5.
show logging history
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Changes the default severity level of syslog messages stored in the
history file and sent to the SNMP server.
logging history severity
Example:
RP/0/RSP0/CPU0:router(config)# logging
history errors
Step 2
•
By default, syslog messages at or below the
warnings
severity
level are stored in the history file and sent to the SNMP server.
Changes the number of syslog messages that can be stored in the history
table.
logging history size number
Example:
RP/0/RSP0/CPU0:router(config)# logging
history size 200
Step 3
•
By default, one syslog message is stored in the history table.
When the history table is full (that is, when it contains the
maximum number of messages specified with this command),
the oldest message is deleted from the table to allow the new
message to be stored.
Note
commit
Step 4
(Optional) Displays information about the state of the syslog history
table.
show logging history
Example:
RP/0/RSP0/CPU0:router# show logging
history
Step 5
Modifying Logging to the Console Terminal and the Logging Buffer
This task explains how to modify logging configuration for the console terminal and the logging buffer.
Logging is enabled by default.
Note
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
298
Implementing Logging Services
Modifying Logging to the Console Terminal and the Logging Buffer