EasyManua.ls Logo

Cisco XR 1200 series User Manual

Cisco XR 1200 series
432 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background image
Examples
This example shows how to enter non-root-cause configuration mode and display the commands that are
available under this mode:
RP/0/0/CPU0:router(config)# logging correlator rule state_rule type stateful
RP/0/0/CPU0:router(config-corr-rule-st)# nonrootcause
RP/0/0/CPU0:router(config-corr-rule-st-nonrc)# ?
alarm Specify non-root cause alarm: Category/Group/Code combos
clear Clear the uncommitted configuration
clear Clear the configuration
commit Commit the configuration changes to running
describe Describe a command without taking real actions
do Run an exec command
exit Exit from this submode
no Negate a command or set its defaults
pwd Commands used to reach current submode
root Exit to the global configuration mode
show Show contents of configuration
This example shows how to specify a non-root-cause alarm for Layer 2 local SONET messages with an alarm
severity of 4. The non-root-cause alarm is associated with the correlation rule named state_rule.
RP/0/0/CPU0:router(config-corr-rule-st-nonrc)# alarm L2 SONET_LOCAL ALARM
Related Commands
DescriptionCommand
Specifies the logging correlator buffer size.logging events buffer-size, on page 27
Specifies a severity level for logging alarm messages.logging events level, on page 31
Specifies the logging events buffer capacity threshold
that, when surpassed, will generate an alarm.
logging events threshold, on page 33
Displays configuration and operational messages
about the logging events buffer.
show logging events info, on page 62
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
40 OL-24735-01
Alarm Management and Logging Correlation Commands
nonrootcause

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Cisco XR 1200 series and is the answer not in the manual?

Cisco XR 1200 series Specifications

General IconGeneral
ModelXR 1200 series
Product TypeNetwork Router
Form FactorRack-mountable
Operating SystemCisco IOS XR
Power SupplyAC or DC options
Supported ProtocolsBGP, OSPF, MPLS, IPv4/IPv6
DimensionsVaries depending on the specific model
WeightVaries depending on the specific model

Summary

Preface

Changes to This Document

Lists technical changes made to the document since its first printing.

Obtaining Documentation and Submitting a Service Request

Provides information on obtaining documentation and submitting service requests via Cisco resources.

Alarm Management and Logging Correlation Commands

alarm

Specifies a type of alarm to be suppressed by a logging suppression rule.

all-alarms

Configures a logging suppression rule to suppress all types of alarms.

all-of-router

Applies a logging suppression rule to alarms originating from all locations on the router.

clear logging correlator delete

Deletes messages or messages specified by correlation ID from the logging correlator buffer.

clear logging events delete

Deletes messages from the logging events buffer based on specified criteria.

clear logging events reset

Resets bi-state alarms messages from the logging events buffer.

context-correlation

Enables context-specific correlation for each context where a given rule is applied.

logging correlator apply rule

Applies and activates a correlation rule, entering correlation apply rule configuration mode.

logging correlator apply ruleset

Applies and activates a correlation rule set, entering correlation apply rule set configuration mode.

logging correlator buffer-size

Configures the size of the logging correlator buffer.

logging correlator rule

Defines the rules for correlating messages.

logging correlator ruleset

Defines a specific correlation rule set.

logging events buffer-size

Configures the size of the logging events buffer.

logging events display-location

Enables the alarm source location display field for bistate alarms.

logging events level

Specifies a severity level for logging alarm messages.

logging events threshold

Specifies the logging events buffer threshold that generates an alarm.

logging suppress apply rule

Applies and activates a logging suppression rule.

logging suppress rule

Creates a logging suppression rule and enters configuration mode.

nonrootcause

Enters non-root-cause configuration mode and specifies a non-root-cause alarm.

reissue-nonbistate

Reissues non-bistate alarm messages after the root-cause alarm clears.

reparent

Reparents non-root-cause messages to the next highest active root-cause.

rootcause

Specifies the root-cause alarm message for a correlation rule.

show logging correlator buffer

Displays messages in the logging correlator buffer.

show logging correlator info

Displays logging correlator buffer size and percentage occupied.

show logging correlator rule

Displays defined correlation rules.

show logging correlator ruleset

Displays defined correlation rule set names.

show logging events buffer

Displays messages in the logging events buffer.

show logging events info

Displays configuration and operational information about logging events buffer.

show logging suppress rule

Displays defined logging suppression rules.

show snmp correlator buffer

Displays messages in the SNMP correlator buffer.

show snmp correlator info

Displays SNMP correlator buffer size and percentage occupied.

show snmp correlator rule

Displays defined SNMP correlation rules.

show snmp correlator ruleset

Displays defined SNMP correlation rule set names.

source

Applies a logging suppression rule to alarms originating from a specific node.

timeout

Specifies the collection period duration time for the logging correlator rule message.

timeout-rootcause

Specifies an optional parameter for an applied correlation rule.

Embedded Event Manager Commands

event manager directory user

Specifies a directory for storing user library files or user-defined EEM policies.

event manager environment

Sets an Embedded Event Manager (EEM) environment variable.

event manager policy

Registers an Embedded Event Manager (EEM) policy with the EEM.

event manager refresh-time

Defines the time between user authentication refreshes in Embedded Event Manager (EEM).

event manager run

Manually runs an Embedded Event Manager (EEM) policy.

event manager scheduler suspend

Suspends the Embedded Event Manager (EEM) policy scheduling execution immediately.

show event manager directory user

Displays the current value of EEM user library files or user-defined policies.

show event manager environment

Displays the names and values of EEM environment variables.

show event manager metric hardware

Displays EEM reliability data for processes running on a particular node.

show event manager metric process

Displays EEM reliability metric data for processes.

show event manager policy available

Displays EEM policies available to be registered.

show event manager policy registered

Displays EEM policies that are already registered.

show event manager refresh-time

Displays the time between user authentication refreshes in EEM.

show event manager statistics-table

Displays statistic counters maintained by the Statistic Event Detector.

IP Service Level Agreement Commands

access-list

Specifies an access-list name to filter provider edge (PE) addresses for MPLS LSP monitor operations.

action (IP SLA)

Specifies actions performed when configuring the react command or when threshold events occur.

ageout

Specifies how long to keep operation in memory when not actively collecting information.

buckets (history)

Sets the number of history buckets kept during the lifetime of an IP SLA operation.

buckets (statistics hourly)

Sets the number of hours for which statistics are kept for IP SLA operations.

buckets (statistics interval)

Specifies the maximum number of buckets for enhanced history statistics.

control disable

Disables control packets in IP SLA operations.

datasize request

Sets the protocol data size in the payload of an operation's request packet.

destination address (IP SLA)

Identifies the IPv4 address of the target device for an IP SLA operation.

destination port

Identifies the port number of the target device for UDP operations.

distribution count

Sets the number of statistics distributions kept for each hop during an IP SLA operation.

distribution interval

Sets the time interval in milliseconds for each statistical distribution.

exp

Specifies the MPLS experimental field (EXP) value in echo request packet headers.

filter

Defines the type of information kept in the history table for IP SLA operations.

force explicit-null

Adds an explicit null label to the label stack of an LSP for echo requests.

frequency (IP SLA)

Sets the frequency for probing in IP SLA operations.

history

Configures history parameters for IP SLA operations.

interval

Configures the refresh interval for MPLS label switched path (LSP) monitoring.

ipsla

Enters IP SLA configuration mode to configure IP Service Level Agreements.

key-chain

Configures MD5 authentication for IP SLA control messages.

life

Specifies the length of time to execute an IP SLA operation.

lives

Sets the number of lives maintained in the history table for an IP SLA operation.

low-memory

Configures the low-memory watermark value for IP SLA.

lsp selector ipv4

Specifies the local host IPv4 address used to select an LSP.

lsr-path

Specifies a loose source routing path for ICMP measurement.

maximum hops

Sets the number of hops for statistics maintained for each path in an IP SLA operation.

maximum paths (IP SLA)

Sets the number of paths for statistics maintained per hour for an IP SLA operation.

monitor

Configures an MPLS LSP monitor instance.

mpls discovery vpn

Configures MPLS label switched path (LSP) provider edge (PE) router discovery.

mpls lsp-monitor

Configures MPLS label switched path (LSP) monitoring.

operation

Configures an IP SLA operation.

output interface

Specifies the echo request output interface for LSP ping or trace operations.

output nexthop

Specifies the next-hop address for LSP ping or trace operations.

packet count

Specifies the number of packets transmitted during a probe.

packet interval

Specifies the interval between packets in milliseconds.

path discover

Enables path discovery and enters MPLS LSP monitor (MPLSLM) LPD submode.

path discover echo

Configures MPLS LSP echo parameters for path discovery.

path discover path

Configures MPLS LSP path parameters for MPLSLM LPD submode.

path discover scan

Configures MPLS LSP scan parameters for MPLSLM LPD submode.

path discover session

Configures MPLS LSP session parameters for MPLSLM LPD submode.

react

Specifies an element to be monitored for a reaction.

react lpd

Specifies reaction for LSP Path Discovery (LPD) violation.

reaction monitor

Configures MPLS LSP monitoring reactions.

reaction operation

Configures actions based on events controlled by the IP SLA agent.

reaction trigger

Defines a second IP SLA operation to transition from pending to active state.

recurring

Indicates operation starts automatically at a specified time daily.

reply dscp

Specifies the DSCP value used in echo reply packets.

reply mode

Specifies how to reply to echo requests.

scan delete-factor

Specifies frequency for deleting provider edge (PE) routers.

scan interval

Specifies frequency for MPLS LSP monitor instance to check scan queue.

schedule monitor

Schedules MPLS LSP monitoring instances.

schedule operation

Enters schedule configuration mode for IP SLA operations.

schedule period

Configures time for all LSP operations to start or run.

show ipsla application

Displays information for the IP SLA application.

show ipsla history

Displays history collected for IP SLA operations.

show ipsla mpls discovery vpn

Displays routing info for BGP next-hop discovery in MPLS VPN.

show ipsla mpls lsp-monitor lpd

Displays LSP Path Discovery (LPD) operational status.

show ipsla mpls lsp-monitor scan-queue

Displays BGP next-hop addresses waiting for addition/deletion.

show ipsla mpls lsp-monitor summary

Displays list of operations created automatically by MPLS LSP monitor.

show ipsla responder statistics ports

Displays probes handled by active ports on the responder.

show ipsla statistics aggregated

Displays hourly statistics for IP SLA operations.

show ipsla statistics

Displays operational data and latest statistics for IP SLA operations.

show ipsla statistics enhanced aggregated

Displays enhanced history statistics for collected buckets.

source address

Identifies the IPv4 address of the source device.

source port

Identifies the port number of the source device.

start-time

Determines the time when an operation or monitor instance starts.

statistics

Sets statistics collection parameters for an operation.

tag (IP SLA)

Creates a user-specified identifier for an IP SLA operation.

target ipv4

Specifies the IPv4 address of the target router for MPLS LSP ping/trace.

target pseudowire

Specifies the pseudowire as the target for an MPLS LSP ping operation.

target traffic-eng

Specifies the target MPLS traffic engineering tunnel for LSP ping/trace.

threshold

Sets the lower-limit and upper-limit values for threshold checking.

threshold type average

Takes action on average values that violate a threshold.

threshold type consecutive

Takes action after a number of consecutive violations.

threshold type immediate

Takes action immediately upon a threshold violation.

threshold type xofy

Takes action upon X violations in Y probe operations.

timeout (IP SLA)

Sets the probe or control timeout interval for IP SLA operations.

tos

Sets the type of service (ToS) in a probe packet.

ttl

Specifies the time-to-live (TTL) value in the MPLS label of echo request packets.

type icmp echo

Configures the ICMP echo operation type.

type icmp path-echo

Configures the ICMP path-echo operation type.

type icmp path-jitter

Configures the ICMP path-jitter operation type.

type mpls lsp ping

Verifies end-to-end LSP connectivity and MPLS network integrity.

type mpls lsp trace

Traces LSP paths and localizes network faults in an MPLS network.

type udp echo

Configures the UDP echo operation type.

type udp ipv4 address

Configures a permanent port in IP SLA responder for UDP operations.

type udp jitter

Configures the UDP jitter operation type.

verify-data

Checks each IP SLA response for corruption.

vrf (IP SLA)

Configures VRF table for non-default VPN routing for IP SLA operations.

vrf (IP SLA MPLS LSP monitor)

Specifies VRF for monitoring in MPLS LSP monitor ping or trace operations.

Logging Services Commands

archive-length

Specifies the length of time logs are maintained in the logging archive.

archive-size

Specifies the amount of space allotted for syslogs on a device.

clear logging

Clears system logging (syslog) messages from the logging buffer.

device

Specifies the device to be used for logging syslogs.

file-size

Specifies the maximum file size for a log file in the logging archive.

frequency (logging)

Specifies the collection period for logs (daily or weekly).

logging

Specifies a system logging (syslog) server host as the recipient of syslog messages.

logging archive

Configures attributes for archiving syslogs.

logging buffered

Specifies the logging buffer as a destination for system logging (syslog) messages.

logging console

Enables logging of syslog messages to the console by severity level.

logging console disable

Disables logging of system logging (syslog) messages to the console.

logging events link-status

Enables logging of link-status messages for logical and physical links.

logging events link-status (interface)

Enables logging of link-status messages on a specific interface.

logging facility

Configures the type of syslog facility for sending syslog messages.

logging history

Changes the severity level of syslog messages sent to the history table.

logging history size

Changes the number of syslog messages stored in the history table.

logging hostnameprefix

Appends a hostname prefix to syslog messages.

logging localfilesize

Specifies the size of the local logging file.

logging monitor

Specifies terminal lines as destinations for syslog messages and limits them by severity.

logging source-interface

Sets the IP address of an interface as the source IP address for all messages.

logging suppress deprecated

Prevents logging of messages indicating deprecated commands.

logging suppress duplicates

Prevents consecutive logging of the same syslog message.

logging trap

Specifies the severity level of messages logged to syslog servers.

service timestamps

Modifies the time-stamp format for syslog and debug messages.

severity

Specifies the filter level for logs.

show logging

Displays the contents of the logging buffer.

show logging history

Displays information about the state of the syslog history table.

terminal monitor

Enables display of debug output and syslog messages for the current terminal session.

Onboard Failure Logging Commands

clear logging onboard

Clears OBFL logging messages from a node or from all nodes.

hw-module logging onboard

Enables or disables onboard failure logging (OBFL).

show logging onboard

Displays onboard failure logging (OBFL) messages.

Performance Management Commands

monitor controller fabric

Monitors controller fabric counters in real time.

monitor controller sonet

Monitors SONET controller counters.

monitor interface

Monitors interface counters in real time.

performance-mgmt apply monitor

Applies a statistics template to gather samples for a particular instance.

performance-mgmt apply statistics

Applies a statistics template and enables statistics collection.

performance-mgmt apply thresholds

Applies a threshold template and enables threshold collection.

performance-mgmt regular-expression

Applies a defined regular expression group to statistics or threshold templates.

performance-mgmt resources dump local

Configures the local filesystem for dumping statistics data.

performance-mgmt resources memory

Configures memory consumption limits for performance management.

performance-mgmt resources tftp-server

Configures a destination TFTP server for PM statistics collections.

performance-mgmt statistics

Creates a template for collecting performance management statistics.

performance-mgmt thresholds

Configures a template for threshold checking.

show performance-mgmt bgp

Displays PM data from BGP entity instance monitoring or statistics collections.

show performance-mgmt interface

Displays PM data from interface entity instance monitoring or statistics collections.

show performance-mgmt mpls

Displays PM data for MPLS entity instance monitoring or statistics collections.

show performance-mgmt node

Displays PM data for node entity monitoring or statistics collections.

show performance-mgmt ospf

Displays PM data for OSPF entity instance monitoring or statistics collections.

show running performance-mgmt

Displays configured templates and the template being applied.

Statistics Service Commands

clear counters

Clears the interface counters.

load-interval

Specifies the interval for load calculation of an interface.

Related product manuals