Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1 - Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

Alarm Management and Logging Correlation Commands
Tip
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.
It is possible to configure apply settings at the same time for both a rule and zero or more rule sets that
Tip
contain the rule. In this case, the apply settings for the rule are the union of all the apply configurations.
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
clear
clear
commit
context
describe
do
exit
location
no
pwd
root
show
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
Task ID
logging
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
Command
show logging correlator ruleset, on page 55
OL-24735-01
Apply the rule to all of the router
Clear the uncommitted configuration
Clear the configuration
Commit the configuration changes to running
Apply rule to specified context
Describe a command without taking real actions
Run an exec command
Exit from this submode
Apply rule to specified location
Negate a command or set its defaults
Commands used to reach current submode
Exit to the global configuration mode
Show contents of configuration

Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1

logging correlator apply ruleset
Operations
read, write
Description
Displays one or more predefined logging correlator
rule sets.
19

Advertisement

Table of Contents
loading

Table of Contents