It is possible to configure apply settings at the same time for both a rule and rule sets that contain the rule.
In this case, the apply settings for the rule are the union of all these apply configurations.
Note
SUMMARY STEPS
1.
configure
2.
logging correlator apply rule correlation-rule
3.
Do one of the following:
•
all-of-router
•
location node-id
•
context name
4.
commit
5.
show logging correlator rule { all | correlation-rule1...correlation-rule14 } [ context context1...context
6 ] [ location node-id1...node-id6 ] [ rulesource { internal | user }] [ ruletype { nonstateful | stateful
}] [ summary | detail ]
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Applies and activates a correlation rule and enters
correlation apply rule configuration mode.
logging correlator apply rule correlation-rule
Example:
RP/0/RSP0/CPU0:router(config)# logging correlator
apply-rule rule1
Step 2
Do one of the following:
Step 3
•
Applies a logging correlation rule to all nodes
on the router.
•
all-of-router
•
Applies a logging correlation rule to a
specific node on the router.
•
location node-id
•
context name
◦
The location of the node is specified in
the format rack/slot/module.
Example:
RP/0/RSP0/CPU0:router(config-corr-apply-rule)#
all-of-router
•
Applies a logging correlation rule to a
specific context.
or
RP/0/RSP0/CPU0:router(config-corr-apply-rule)# location
0/2/CPU0
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
15
Implementing and Monitoring Alarms and Alarm Log Correlation
Applying Logging Correlation Rules