![Cisco ASR 9000 Serie Скачать руководство пользователя страница 309](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679309.webp)
Description
Command
Limits the syslog messages sent to terminal lines
based on severity.
logging monitor
[
severity
]
Limits the syslog messages sent to syslog servers
based on severity.
logging trap
[
severity
]
Limits the syslog messages sent to a syslog archive
based on severity.
severity severity
The
logging buffered
,
logging console
,
logging monitor
, and
logging traps
commands limit syslog messages
sent to their respective destinations to messages with a level number at or below the specified severity level,
which is specified with the
severity
argument.
Syslog messages of lower severity level indicate events of higher importance. See
Message Severity Levels, on page 294
for severity level definitions.
Note
Logging History Table
If you have enabled syslog messages traps to be sent to a Simple Network Management Protocol (SNMP)
network management station (NMS) with the
snmp-server enable traps syslog
command, you can change
the level of messages sent and stored in a history table on the router. You can also change the number of
messages that get stored in the history table.
Messages are stored in the history table, because SNMP traps are not guaranteed to reach their destination.
By default, one message of the level warning and above (see
Table 32: Syslog Message Severity Levels, on
page 294
) is stored in the history table even if syslog traps are not enabled.
This table lists the commands used to change the severity level and table size defaults of the logging history
table
Table 31: Logging History Table Commands
Description
Command
Changes the default severity level of syslog messages
stored in the history file and sent to the SNMP server.
logging history severity
Changes the number of syslog messages that can be
stored in the history table.
logging history size number
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
293
Implementing Logging Services
Severity Levels