alarm
To specify a type of alarm to be suppressed by a logging suppression rule, use the
alarm
command in logging
suppression rule configuration mode.
alarm msg-category group-name msg-code
Syntax Description
Message category of the root message.
msg-category
Group name of the root message.
group-name
Message code of the root message.
msg-code
Command Default
No alarm types are configured by default.
Command Modes
Logging suppression rule configuration
Command History
Modification
Release
This command was introduced.
Release 3.8.0
Usage Guidelines
Task ID
Operations
Task ID
read, write
logging
Examples
This example shows how to configure the logging suppression rule
“
commit
”
to suppress alarms whose root
message are
“
MBGL
”
, with group name
“
commit
”
and message code
“
succeeded
”
:
RP/0/0/CPU0:router(config)#
logging suppress rule commit
RP/0/0/CPU0:router(config-suppr-rule)#
alarm MBGL COMMIT SUCCEEDED
Related Commands
Description
Command
Creates a logging suppression rule.
logging suppress rule, on page 37
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
3
Alarm Management and Logging Correlation Commands
alarm