rootcause
To specify the root-cause alarm message, use the
rootcause
command in stateful or nonstateful correlation
rule configuration modes.
rootcause msg-category group-name msg-code
no rootcause
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
Root-cause alarm is not specified.
Command Modes
Stateful correlation rule configuration
Nonstateful correlation rule configuration
Command History
Modification
Release
This command was introduced.
Release 3.6.0
Usage Guidelines
This command is used to configure the root-cause message for a particular correlation rule. Messages are
identified by their message category, group, and code. The category, group, and code each can contain up to
32 characters. The root-cause message for a stateful correlation rule should be a bi-state alarm.
Use the
show logging events info, on page 62
command to display the root-cause and non-root-cause alarms
for a correlation rule.
Task ID
Operations
Task ID
read, write
logging
Examples
This example shows how to configure a root-cause alarm for a stateful correlation rule:
RP/0/0/CPU0:router(config)#
logging correlator rule state_rule type stateful
RP/0/0/CPU0:router(config-corr-rule-st)#
rootcause L2 SONET_LOCAL ALARM
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
45
Alarm Management and Logging Correlation Commands
rootcause