logging correlator apply ruleset
To apply and activate a correlation rule set and enter correlation apply rule set configuration mode, use the
logging correlator apply ruleset
command in global configuration mode. To deactivate a correlation rule
set, use the
no
form of this command.
logging correlator apply ruleset correlation-ruleset
[
all-of-router
|
context name
|
location node-id
]
no logging correlator apply ruleset correlation-ruleset
[
all-of-router
|
context name
|
location node-id
]
Syntax Description
Name of the correlation rule set to be applied.
correlation-ruleset
(Optional) Applies the correlation rule set to the entire router.
all-of-router
(Optional) Applies the correlation rule set to the specified context. Unlimited
number of contexts. The
name
string is limited to 32 characters.
context name
(Optional) Applies the correlation rule to the specified node. The
node-id
argument is entered in the
rack/slot/module
notation. Unlimited number of
locations.
location node-id
Command Default
No correlation rule sets are applied.
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.6.0
Usage Guidelines
The
logging correlator apply ruleset
command is used to either add or remove apply settings for a given
rule set. These settings then determine which messages are correlated for the affected rules.
If the rule set is applied to
all-of-router
, then correlation occurs for only those messages that match the
configured cause values for the rule to be correlated, regardless of the context or location setting of that
message.
If a rule set is applied to a specific set of contexts or locations, then correlation occurs for only those messages
that match both the configured cause values for the rule and at least one of those contexts or locations.
Use the
show logging correlator ruleset, on page 55
command to show the current apply settings for a given
rule set.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
18
OL-24735-01
Alarm Management and Logging Correlation Commands
logging correlator apply ruleset