logging suppress apply rule
To apply and activate a logging suppression rule, use the logging suppress apply rule command in global
configuration mode. To deactivate a logging suppression rule, use the no form of this command.
logging suppress apply rule rule-name [all-of-router| source location node-id]
no logging suppress apply rule rule-name [all-of-router| source location node-id]
Syntax Description
Name of the logging suppression rule to activate.
rule-name
(Optional) Applies the specified logging suppression rule to alarms originating
from all locations on the router.
all-of-router
(Optional) Applies the specified logging suppression rule to alarms originating
from the specified node. The node-id argument is entered in the
rack/slot/module notation.
source location node-id
Command Default
No logging suppression rules are applied.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Release 3.8.0
Usage Guidelines
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to apply a predefined logging suppression rule to the entire router:
RP/0/0/CPU0:router(config)#logging suppress apply rule infobistate
RP/0/0/CPU0:router(config-suppr-apply-rule)# all-of-router
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 35
Alarm Management and Logging Correlation Commands
logging suppress apply rule