Logging Trap - Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

Logging Services Commands

logging trap

To specify the severity level of messages logged to system logging (syslog) servers, use the logging trap
command in global configuration mode. To restore the default behavior, use the no form of this command.
logging trap [ severity ]
no logging trap
Syntax Description
severity
Command Default
severity: informational
Command Modes
Global configuration
Command History
Release
Release 3.2
Usage Guidelines
Use the logging trap command to limit the logging of messages sent to syslog servers to only those messages
at the specified level.
Table 29: Severity Levels for Messages, on page 312
buffered, on page 312
Use the
Task ID
Task ID
logging
Examples
This example shows how to restrict messages to notifications (5) and numerically lower levels.
RP/0/0/CPU0:router(config)# logging trap notifications
OL-24735-01
(Optional) Severity level of messages logged to the syslog servers, including events of a
higher severity level (numerically lower). The default is informational. Settings for the
severity levels and their respective system conditions are listed under
Levels for Messages, on page 312
command.
command lists the syslog definitions that correspond to the debugging message levels.
logging, on page 308
command to specify a syslog server host as a destination for syslog messages.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
in the "Usage Guidelines" section for the logging buffered
Modification
This command was introduced.
under the "Usage Guidelines" section for the
Operations
read, write
logging trap
Table 29: Severity
logging
339

Advertisement

Table of Contents
loading

Table of Contents