context-correlation
To enable context-specific correlation, use the context-correlation command in either stateful or nonstateful
correlation rule configuration mode. To disable correlation on context, use the no form of this command.
context-correlation
no context-correlation
Syntax Description
This command has no keywords or arguments.
Command Default
Correlation on context is not enabled.
Command Modes
Stateful correlation rule configuration
Nonstateful correlation rule configuration
Command History
ModificationRelease
This command was introduced.Release 3.6.0
Usage Guidelines
This command enables context-specific correlation for each of the contexts in which a given rule is applied.
For example, if the rule is applied to two contexts (context1 and context2), messages that have context
“context1” are correlated separately from those messages with context “context2”.
Use the show logging correlator rule, on page 52 command to show the current setting for the
context-correlation flag.
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to enable correlation on context for a stateful correlation rule:
RP/0/0/CPU0:router(config)# logging correlator rule stateful_rule type stateful
RP/0/0/CPU0:router(config-corr-rule-st)# context-correlation
Related Commands
DescriptionCommand
Defines the rules for correlating messages.logging correlator rule, on page 22
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 13
Alarm Management and Logging Correlation Commands
context-correlation