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

logging correlator apply rule
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 rule command allows you to enter submode (config-corr-apply-rule) to apply
and activate rules:
RP/0/0/CPU0:router(config)# logging correlator apply rule stateful1
RP/0/0/CPU0:router(config-corr-apply-rule)#?
all-of-router
clear
clear
commit
context
describe
do
exit
location
no
pwd
root
show
RP/0/0/CPU0:router(config-corr-apply-rule)#
While in the submode, you can negate keyword options:
RP/0/0/CPU0:router(config-corr-apply-rule)# no all-of-router
RP/0/0/CPU0:router(config-corr-apply-rule)# no context
RP/0/0/CPU0:router(config-corr-apply-rule)# no location
Task ID
Task ID
logging
Examples
This example shows how to apply a predefined correlator rule to a location:
RP/0/0/CPU0:router(config)# logging correlator apply rule rule1
RP/0/0/CPU0:router(config-corr-apply-rule)# location 0/2/CPU0
Related Commands
Command
logging correlator rule, on page 22
show logging correlator rule, on page 52

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

16
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
Alarm Management and Logging Correlation Commands
Operations
read, write
Description
Defines the rules for correlating messages.
Displays one or more predefined logging correlator
rules.
OL-24735-01

Advertisement

Table of Contents
loading

Table of Contents