When a rule is applied (or if a rule set that contains this rule is applied), then the rule definition cannot be
modified through the configuration until the rule or rule set is once again unapplied.
Tip
It is possible to configure apply settings at the same time for both a rule and zero or more rule sets that
contain the rule. In this case, the apply settings for the rule are the union of all the apply configurations.
Tip
The logging correlator apply ruleset command allows you to enter the submode (config-corr-apply-ruleset)
to apply and activate rule sets:
RP/0/0/CPU0:router(config)# logging correlator apply ruleset ruleset1
RP/0/0/CPU0:router(config-corr-apply-ruleset)#?
all-of-router Apply the rule to all of the router
clear Clear the uncommitted configuration
clear Clear the configuration
commit Commit the configuration changes to running
context Apply rule to specified context
describe Describe a command without taking real actions
do Run an exec command
exit Exit from this submode
location Apply rule to specified location
no Negate a command or set its defaults
pwd Commands used to reach current submode
root Exit to the global configuration mode
show Show contents of configuration
RP/0/0/CPU0:router(config-corr-apply-ruleset)#
While in the submode, you can negate keyword options:
RP/0/0/CPU0:router(config-corr-apply-ruleset)# no all-of-router
RP/0/0/CPU0:router(config-corr-apply-ruleset)# no context
RP/0/0/CPU0:router(config-corr-apply-ruleset)# no location
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to apply a predefined correlator rule set to the entire router:
RP/0/0/CPU0:router(config)# logging correlator apply ruleset ruleset1
RP/0/0/CPU0:router(config-corr-apply-rule)# all-of-router
Related Commands
DescriptionCommand
Displays one or more predefined logging correlator
rule sets.
show logging correlator ruleset, on page 55
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 19
Alarm Management and Logging Correlation Commands
logging correlator apply ruleset