Cisco XR 1200 series Command Reference Manual

Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

Quick Links

Cisco IOS XR System Monitoring Command Reference for the Cisco
XR 12000 Series Router, Release 4.1
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-24735-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco XR 1200 series

  • Page 1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-24735-01...
  • Page 2 Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
  • Page 3 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 4 IP Service Level Agreement Commands C H A P T E R 3 access-list action (IP SLA) ageout Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 5 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 6 (IP SLA) target ipv4 target pseudowire target traffic-eng threshold Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 7 (logging) logging logging archive logging buffered logging console logging console disable logging events link-status logging events link-status (interface) logging facility logging history Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 8 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 viii OL-24735-01...
  • Page 9 Statistics Service Commands C H A P T E R 7 clear counters load-interval Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 10 Contents Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 11: Obtaining Documentation And Submitting A Service Request

    Preface The Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router preface contains these sections: • Changes to This Document, page xi • Obtaining Documentation and Submitting a Service Request, page xi Changes to This Document Table 1 lists the technical changes made to this document since it was first printed.
  • Page 12 Preface Obtaining Documentation and Submitting a Service Request Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 13 Cisco IOS XR System Monitoring Configuration Guide for the Cisco XR 12000 Series Router. For system logging commands, see the Logging Services Commands module. For system logging concepts, see the Implementing Logging Services module in the Cisco IOS XR System Monitoring Configuration Guide for the Cisco XR 12000 Series Router.
  • Page 14 69 • show snmp correlator ruleset, page 70 • source, page 71 • timeout, page 72 • timeout-rootcause, page 74 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 15: Alarm

    RP/0/0/CPU0:router(config)# logging suppress rule commit RP/0/0/CPU0:router(config-suppr-rule)# alarm MBGL COMMIT SUCCEEDED Related Commands Command Description logging suppress rule, on page 37 Creates a logging suppression rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 16: All-Alarms

    This example shows how to configure the logging suppression rule commit to suppress all alarms: RP/0/0/CPU0:router(config)# logging suppress rule commit RP/0/0/CPU0:router(config-suppr-rule)# all-alarms Related Commands Command Description logging suppress rule, on page 37 Creates a logging suppression rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 17: All-Of-Router

    RP/0/0/CPU0:router(config)# logging suppress apply rule commit RP/0/0/CPU0:router(config-suppr-apply-rule)# all-of-router Related Commands Command Description logging suppress apply rule, on page 35 Applies and activates a logging suppression rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 18: Clear Logging Correlator Delete

    RP/0/0/CPU0:router# clear logging correlator delete all-in-buffer Related Commands Command Description show logging correlator buffer, on page 47 Displays messages in the logging correlator buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 19: Clear Logging Events Delete

    Deletes events with the specified message code. severity-hi-limit Deletes events with a severity level equal to or lower than the severity level specified with the severity argument. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 20: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Deletes events with a severity level equal to or higher than the severity level severity-lo-limit specified with the severity argument. Deletes events with a time stamp equal to or lower than the specified time timestamp-hi-limit stamp. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 21: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Deletes events with a time stamp equal to or higher than the specified time timestamp-lo-limit stamp. Command Default No messages are automatically deleted unless buffer capacity is reached. Command Modes EXEC Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 22: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    11 Resets bi-state alarms. show logging events buffer, on page 57 Displays messages in the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 23: Clear Logging Events Reset

    Operations logging execute Examples This example shows how to reset all bi-alarms in the logging events buffer: RP/0/0/CPU0:router# clear logging events reset all-in-buffer Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 24: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    ID, from the logging events buffer. show logging events buffer, on page 57 Displays messages in the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 25: Context-Correlation

    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 Command Description logging correlator rule, on page 22 Defines the rules for correlating messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 26: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Alarm Management and Logging Correlation Commands context-correlation Command Description show logging correlator rule, on page 52 Displays one or more predefined logging correlator rules. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 27: Logging Correlator Apply Rule

    Use the show logging correlator rule, on page 52 command to show the current apply settings for a given rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 28: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    22 Defines the rules for correlating messages. show logging correlator rule, on page 52 Displays one or more predefined logging correlator rules. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 29: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Alarm Management and Logging Correlation Commands logging correlator apply rule Command Description show logging correlator ruleset, on page 55 Displays one or more predefined logging correlator rule sets. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 30: Logging Correlator Apply Ruleset

    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 OL-24735-01...
  • Page 31: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    RP/0/0/CPU0:router(config)# logging correlator apply ruleset ruleset1 RP/0/0/CPU0:router(config-corr-apply-rule)# all-of-router Related Commands Command Description show logging correlator ruleset, on page 55 Displays one or more predefined logging correlator rule sets. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 32: Logging Correlator Buffer-Size

    Examples This example shows how to set the logging correlator buffer size to 90000 bytes: RP/0/0/CPU0:router(config)# logging correlator buffer-size 90000 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 33: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    50 Displays the logging correlator buffer size and the percentage of the buffer occupied by correlated messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 34: Logging Correlator Rule

    Below are the rule parameters that are available while in stateful correlation rule configuration mode: RP/0/0/CPU0:router(config-corr-rule-st)# ? context-correlation Specify enable correlation on context nonrootcause nonrootcause alarm reissue-nonbistate Specify reissue of non-bistate alarms on parent clear Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 35: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Enters non-root-cause configuration mode and specifies a non-root-cause alarm. reissue-nonbistate, on page 41 Reissues non-bistate alarm messages (events) from the correlator log after its root-cause alarm clears. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 36: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Specifies the collection period duration time for the logging correlator rule message. timeout-rootcause, on page 74 Specifies an optional parameter for an applied correlation rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 37: Logging Correlator Ruleset

    Description logging correlator apply ruleset, on page 18 Applies and activates a correlation rule set and enters correlation apply rule set configuration mode. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 38: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    47 Displays messages in the logging correlator buffer. show logging correlator ruleset, on page 55 Displays defined correlation rule set names. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 39: Logging Events Buffer-Size

    Examples This example shows how to increase the logging events buffer size to 50000 bytes: RP/0/0/CPU0:router(config)# logging events buffer-size 50000 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 40: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Displays messages in the logging events buffer. show logging events info, on page 62 Displays configuration and operational messages about the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 41: Logging Events Display-Location

    Customer OSS tools may rely on the default output to parse and interpret the alarm output. Note Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 42: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    MgmtEth0/5/CPU0/0: Line protocol on Interface MgmtEth0/5/CPU0/0, changed state to Up Related Commands Command Description show logging events buffer, on page 57 Displays messages in the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 43: Logging Events Level

    Severity Level Keyword Numeric Value Logged System Messages emergencies System is unusable. alerts Critical system condition exists requiring immediate action. critical Critical system condition exists. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 44: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Specifies the logging events buffer size. logging events threshold, on page 33 Specifies the logging events buffer capacity threshold that, when surpassed, will generate an alarm. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 45: Logging Events Threshold

    Examples This example shows how to configure the threshold setting to 95 percent of buffer capacity: RP/0/0/CPU0:router(config)# logging events threshold 95 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 46: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Specifies a severity level for logging alarm messages. show logging events info, on page 62 Displays configuration and operational messages about the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 47: Logging Suppress Apply Rule

    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...
  • Page 48: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    71 Applies a logging suppression rule to alarms originating from a specific node on the router. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 49: Logging Suppress Rule

    If you use the logging suppress rule command without specifying a non-root-cause alarm, you can do so afterwards, by entering the alarm keyword at the prompt. Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 50: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Specifies a type of alarm to be suppressed by a logging suppression rule. all-alarms, on page 4 Configures a logging suppression rule to suppress all types of alarms. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 51: Nonrootcause

    If you use the nonrootcause command without specifying a non-root-cause alarm, you can do so afterwards, by entering the alarm keyword at the prompt. Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 52: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    62 Displays configuration and operational messages about the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 53: Reissue-Nonbistate

    47 Displays messages in the logging correlator buffer. show logging events buffer, on page 57 Displays messages in the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 54: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Alarm Management and Logging Correlation Commands reissue-nonbistate Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 55: Reparent

    Stateful behavior, such as reparenting, is supported only for bistate alarms. Bistate alarms are associated Note with system hardware, such as a change of interface state from active to inactive. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 56: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Displays messages in the logging correlator buffer. show logging events info, on page 62 Displays configuration and operational messages about the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 57: Rootcause

    This example shows how to configure a root-cause alarm for a stateful correlation rule: RP/0/0/CPU0:router(config)# logging correlator rule state_rule type stateful RP/0/0/CPU0:router(config-corr-rule-st)# rootcause L2 SONET_LOCAL ALARM Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 58: Cisco Ios Xr System Monitoring Command Reference For The Cisco Xr 12000 Series Router, Release 4.1

    Specifies an optional parameter for an applied correlation rule. show logging events info, on page 62 Displays configuration and operational messages about the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 59: Show Logging Correlator Buffer

    IDs can be specified, separated by a space. Range is 0 to 4294967294. Command Default None Command Modes EXEC Command History Release Modification Release 3.2 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 60 Table 3: show logging correlator buffer Field Descriptions Field Description C_id. Correlation ID assigned to a event that matches a logging correlation rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 61 52 Displays one or more predefined logging correlator rules. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 62: Show Logging Correlator Info

    20 Specifies the logging correlator buffer size. show logging correlator buffer, on page 47 Displays messages in the logging correlator buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 63 Alarm Management and Logging Correlation Commands show logging correlator info Command Description show logging correlator rule, on page 52 Displays one or more predefined logging correlator rules. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 64: Show Logging Correlator Rule

    (Optional) Displays the summary information. detail (Optional) Displays detailed information. Command Default None Command Modes EXEC Command History Release Modification Release 3.2 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 65 Table 4: show logging correlator rule Field Descriptions Field Description Rule Name Name of defined correlation rule. Time out Configured timeout for the correlation rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 66 50 Displays the logging correlator buffer size and the percentage of the buffer occupied by correlated messages Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 67: Show Logging Correlator Ruleset

    This is the sample output from the show logging correlator ruleset command: RP/0/0/CPU0:router# show logging correlator RuleSetOne RuleSetTwo Rule Set Name : RuleSetOne Rules: Rule1 : Applied Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 68 Displays the logging correlator buffer size and the percentage of the buffer occupied by correlated messages. show logging correlator rule, on page 52 Displays defined correlation rules. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 69: Show Logging Events Buffer

    Displays events with the specified message code. Displays events with a severity level equal to or lower than the specified severity-hi-limit severity level. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 70 Displays events with a severity level equal to or higher than the specified severity-lo-limit severity level. Displays events with a time stamp equal to or lower than the specified timestamp-hi-limit time stamp. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 71 04 for 2004). Range is 01 to 37. timestamp-lo-limit Displays events with a time stamp equal to or higher than the specified time stamp. Command Default None Command Modes EXEC Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 72 Time Date and time at which the event occurred. %CATEGORY-GROUP-SEVERITY-MESSAGECODE The category, group name, severity level, and message code associated with the event. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 73 Message string that delineates the event. Related Commands Command Description show logging events info, on page 62 Displays configuration and operational messages about the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 74: Show Logging Events Info

    The current and maximum size of the logging events buffer. The maximum size of the buffer is controlled by the logging events buffer-size, on page 27 command. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 75 57 Displays information about messages in the logging events buffer according to type, time, or severity level. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 76: Show Logging Suppress Rule

    This example displays information about a logging suppression rule that has been configured but has not been activated: RP/0/0/CPU0:router# show logging suppression rule test_suppression Rule Name : test_suppression Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 77 35 Applies and activates a logging suppression rule. logging suppress rule, on page 37 Creates a logging suppression rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 78: Show Snmp Correlator Buffer

    Time : Dec 14 02:32:05 Varbind(s): ifIndex.17 = 17 ifDescr.17 = POS0/7/0/0 ifType.17 = other(1) cieIfStateChangeReason.17 = down Nonroot : 1.3.6.1.2.1.14.16.2.2 Time: Dec 14 02:32:04 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 79 Alarm Management and Logging Correlation Commands show snmp correlator buffer Varbind(s): ospfRouterId = 1.1.1.1 ospfNbrIpAddr = 30.0.28.2 ospfNbrAddressLessIndex = 0 ospfNbrRtrId = 3.3.3.3 ospfNbrState = down(1) Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 80: Show Snmp Correlator Info

    The sample shows an output that contains remaining buffer size and percentage allocated to correlated messages from the show snmp correlator info command: RP/0/0/CPU0:router# show snmp correlator info Buffer-Size Percentage-Occupied 85720 0.00 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 81: Show Snmp Correlator Rule

    Time out : 888 Rule State: RULE_APPLIED_ALL Root: : 1.3.6.1.2.1.11.0.2 vbind : 1.3.6.1.2.1.2.2.1.2 value /3\.3\.\d{1,3}\.\d{1,3}/ vbind : 1.3.6.1.2.1.5.8.3 index val Nonroot: : 1.3.6.1.2.1.11.3.3 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 82: Show Snmp Correlator Ruleset

    This sample shows an output from the show snmp correlator ruleset command: RP/0/0/CPU0:router# show snmp correlator ruleset test Rule Set Name : test Rules: chris1 : Not Applied chris2 : Applied Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 83: Source

    RP/0/0/CPU0:router(config)# logging suppress apply rule infobistate RP/0/0/CPU0:router(config-suppr-apply-rule)# source location 0/RP0/CPU0 Related Commands Command Description logging suppress apply rule, on page 35 Applies and activates a logging suppression rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 84: Timeout

    The root-cause alarm does not have to appear first. It can appear at any time within the correlation time Note period. Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 85 Defines the rules by which the correlator logs messages to the logging events buffer. timeout-rootcause, on page 74 Specifies an optional parameter for an applied correlation rule. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 86: Timeout-Rootcause

    Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 87 Related Commands Command Description logging correlator rule, on page 22 Defines the rules by which the correlator logs messages to the logging events buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 88 Alarm Management and Logging Correlation Commands timeout-rootcause Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 89: Embedded Event Manager Commands

    This module describes the commands that are used to set the Embedded Event Manager (EEM) operational attributes and monitor EEM operations. The Cisco IOS XR software EEM functions as the central clearing house for the events detected by any portion of Cisco IOS XR software High Availability Services. The EEM is responsible for fault detection, fault recovery, and process the reliability statistics in a system.
  • Page 90: Event Manager Directory User

    Task ID was changed from fault-mgr to eem. Usage Guidelines Cisco IOS XR software supports only the policy files that are created by using the Tool Command Language (TCL) scripting language. The TCL software is provided in the Cisco IOS XR software image when the EEM is installed on the network device.
  • Page 91 Registers an EEM policy with the EEM. show event manager directory user, on page 90 Displays the directory name for storing user library and policy files. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 92: Event Manager Environment

    They become unavailable when you remove them with the no form of this command. By convention, the names of all the environment variables defined by Cisco begin with an underscore character (_) to set them apart, for example, _show_cmd.
  • Page 93 RP/0/0/CPU0:router(config)# event manager environment _email_cc Related Commands Command Description show event manager environment, on page 92 Displays the name and value for all the EEM environment variables. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 94: Event Manager Policy

    Support was added for the required keyword and argument username username . Support was added for the optional keyword and argument persist-time [ seconds | infinite ]. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 95 EEM attempts to contact the AAA server and refresh the username reauthenticate whenever the configured Note refresh-time expires. See the event manager refresh-time, on page 85 command for more information. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 96 Displays EEM policies that are available to be registered. show event manager policy registered, on page 102 Displays the EEM policies that are already registered. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 97: Event Manager Refresh-Time

    Task ID Task ID Operations read, write Examples This example shows how to set the refresh time: RP/0/0/CPU0:router(config)# event manager refresh-time 1900 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 98: Event Manager Run

    The policy can be registered with none as the event type. Task ID Task ID Operations read Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 99 RP/0/0/CPU0:Sep 20 10:26:31.175 : user-plocy.tcl[65724]: The reqinfo of event_pub_msec is Related Commands Command Description event manager policy, on page 82 Registers an EEM policy with the EEM. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 100: Event Manager Scheduler Suspend

    • Performance—If you want to suspend policy execution temporarily to make more CPU cycles available for other functions. Task ID Task ID Operations read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 101 RP/0/0/CPU0:router(config)# no event manager scheduler suspend Related Commands Command Description event manager policy, on page 82 Registers an EEM policy with the EEM. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 102: Show Event Manager Directory User

    This is a sample output of the show event manager directory user command: RP/0/0/CPU0:router# show event manager directory user library disk0:/fm_user_lib_dir RP/0/0/CPU0:router# show event manager directory user policy disk0:/fm_user_pol_dir Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 103 78 Specifies the name of a directory that is to be used for storing either the user library or the policy files. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 104: Show Event Manager Environment

    RP/0/0/CPU0:router# show event manager environment Name Value _email_cc _email_to mosnerd@cisco.com _show_cmd show event manager policy registered _cron_entry 0-59/2 0-23/1 * * 0-7 _email_from mosnerd@cisco.com _email_server zeta@cisco.com Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 105 Value of the EEM environment variable. Related Commands Command Description event manager environment, on page 80 Specifies a directory to use for storing user library files. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 106: Show Event Manager Metric Hardware

    RP/0/0/CPU0:router# show event manager metric hardware location 0/0/CPU0 ===================================== node: 0/0/CPU0 Most recent online: Mon Sep 10 21:45:02 2007 Number of times online: 1 Cumulative time online: 0 days, 09:01:07 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 107 Total number of times the node was terminated. Cumulative time offline Total amount of time the node was terminated. Related Commands Command Description show processes Displays information about active processes. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 108: Show Event Manager Metric Process

    Use the show event manager metric process command to obtain availability information for a process or group of processes. A process is considered available when it is running. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 109 24 hours (since reload): 0 number of abnormal ends within the past 30 days (since reload): 0 This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 110 60 minutes Number of times the process has stopped abnormally within the last 60 minutes. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 111 Number of times the process has stopped abnormally within the last 30 days. Related Commands Command Description show processes Displays information about active processes. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 112: Show Event Manager Policy Available

    Task ID Operations read Examples This is a sample output of the show event manager policy available command: RP/0/0/CPU0:router# show event manager policy available Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 113 Registers an EEM policy with the EEM. show event manager policy registered, on page 102 Displays the EEM policies that are already registered. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 114: Show Event Manager Policy Registered

    If this command is invoked with no optional keywords or arguments, it displays the registered EEM policies for all the event types. The policies are displayed according to the registration time. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 115 30 maxrun_nsec 0 system wdsysmon Wed Jan 16 23:45:15 2004 test6.tcl timewin_sec 120 timewin_nsec 0 sub1 mem_tot_used {node {localhost} op gt val 23000} Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 116 Time at which the policy was registered. Name Name of the policy. Related Commands Command Description event manager policy, on page 82 Registers an EEM policy with the EEM. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 117: Show Event Manager Refresh-Time

    85 Specifies the time between the system attempts to contact the AAA server, and refreshes the username reauthentication. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 118 Embedded Event Manager Commands show event manager refresh-time Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 119: Show Event Manager Statistics-Table

    Use the show event manager statistics-table all command to display the output for all the statistics types. Task ID Task ID Operations read Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 120 Seconds since last clear counters LastClearTime uint32 SysUpTime when counters were last cleared (in seconds) This table describes the significant fields displayed in the example. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 121 Type of statistic. Description Description of the statistic. Related Commands Command Description event manager policy, on page 82 Registers an EEM policy with the EEM. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 122 Embedded Event Manager Commands show event manager statistics-table Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 123: Ip Service Level Agreement Commands

    (IP SLAs) on your router. For detailed information about IP SLA concepts, configuration tasks, and examples, see the Implementing IP Service Level Agreements module in the Cisco IOS XR System Monitoring Configuration Guide for the Cisco XR 12000 Series Router.
  • Page 124 207 • scan delete-factor, page 209 • scan interval, page 211 • schedule monitor, page 213 • schedule operation, page 215 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 125 285 • type mpls lsp ping, page 286 • type mpls lsp trace, page 288 • type udp echo, page 290 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 126 292 • verify-data, page 294 • vrf (IP SLA), page 295 • vrf (IP SLA MPLS LSP monitor), page 297 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 127: Access-List

    Examples The following example shows how to use the access-list command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 128 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 129: Action (Ip Sla)

    (PE) routers. This configuration is inherited by all LSP operations that are created automatically. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 130 273 Takes action immediately upon a threshold violation. threshold type xofy, on page 275 Takes action upon X violations in Y probe operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 131: Ageout

    RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# schedule operation 1 RP/0/0/CPU0:router(config-ipsla-sched)# ageout 3600 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 132 IP Service Level Agreement Commands ageout Command Description schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 133: Buckets (History)

    The following example shows how to use the buckets command in IP SLA UDP echo configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp echo RP/0/0/CPU0:router(config-ipsla-udp-echo)# history RP/0/0/CPU0:router(config-ipsla-op-hist)# buckets 30 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 134 Configures the history parameters for the IP SLA operation. operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 135: Buckets (Statistics Hourly)

    The following example shows how to set the number of hours in which statistics are maintained for the IP SLA UDP jitter operation for the buckets command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 136 (statistics hourly) RP/0/0/CPU0:router(config-ipsla-udp-jitter)# statistics hourly RP/0/0/CPU0:router(config-ipsla-op-stats)# buckets 10 Related Commands Command Description statistics, on page 256 Sets the statistics collection parameters for the operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 137: Buckets (Statistics Interval)

    RP/0/0/CPU0:router(config-ipsla-udp-jitter)# statistics interval 60 RP/0/0/CPU0:router(config-ipsla-op-stats)# buckets 50 Related Commands Command Description statistics, on page 256 Sets the statistics collection parameters for the operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 138: Control Disable

    The following example shows how to use the control disable command in IP SLA UDP jitter configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 139 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 140: Datasize Request

    IP SLA ICMP path-echo configuration IP SLA ICMP echo configuration IP SLA MPLS LSP ping configuration Command History Release Modification Release 3.3.0 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 141 290 Configures an IP SLA UDP echo operation. type udp jitter, on page 291 Configures an IP SLA UDP jitter operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 142: Destination Address (Ip Sla)

    The following example shows how to designate an IP address for the destination address command in IP SLA UDP jitter configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter RP/0/0/CPU0:router(config-ipsla-udp-jitter)# destination address 192.0.2.12 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 143 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 144: Destination Port

    The following example shows how to designate a port for the destination port command in IP SLA UDP jitter configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter RP/0/0/CPU0:router(config-ipsla-udp-jitter)# destination port 11111 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 145 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 146: Distribution Count

    The following example shows how to set the number of statistics distribution for the distribution count command: configure RP/0/0/CPU0:router# RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter RP/0/0/CPU0:router(config-ipsla-udp-jitter)# statistics hourly RP/0/0/CPU0:router(config-ipsla-op-stats)# distribution count 15 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 147 Sets the number of paths in which statistics are maintained for each hour for an IP SLA operation. statistics, on page 256 Sets the statistics collection parameters for the operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 148: Distribution Interval

    The following example shows how to set the time interval for the distribution interval command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter RP/0/0/CPU0:router(config-ipsla-udp-jitter)# statistics hourly RP/0/0/CPU0:router(config-ipsla-op-stats)# distribution interval 50 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 149 Sets the number of paths in which statistics are maintained for each hour for an IP SLA operation. statistics, on page 256 Sets the statistics collection parameters for the operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 150 (PE) routers. This configuration is inherited by all LSP operations that are created automatically. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 151 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 152: Filter

    Examples The following example shows how to use the filter command in IP SLA UDP echo configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 153 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 154: Force Explicit-Null

    You cannot use the force explicit-null command if pseudowire is specified as the target to be used in an MPLS LSP ping operation. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 155 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 156: Frequency (Ip Sla)

    600 seconds, every 1000 seconds the LSP operations are run. Each run takes 600 seconds. Use the schedule period command to specify the schedule period. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 157 Schedules an IP SLA operation. schedule period, on page 217 Configures the amount of time during which all LSP operations are scheduled to start or run. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 158: History

    IP SLA ICMP echo configuration IP SLA MPLS LSP ping configuration IP SLA MPLS LSP trace configuration Command History Release Modification Release 3.3.0 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 159 Schedules an IP SLA operation. lives, on page 156 Sets the number of lives that are maintained in the history table for an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 160: Interval

    Task ID Task ID Operations monitor read, write Examples The following example shows how to use the interval command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 161 Configures MPLS label switched path (LSP) provider edge (PE) router discovery. mpls lsp-monitor, on page 172 Configures MPLS label switched path (LSP) monitoring. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 162: Ipsla

    Command Description key-chain, on page 152 Configures MD5 authentication for IP SLA control messages. low-memory, on page 158 Configures a low-water memory mark. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 163 203 Enables the IP SLA responder for UDP echo or jitter operations. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 164: Key-Chain

    RP/0/0/CPU0:router(config-ipsla)# key-chain ipsla-keys Related Commands Command Description key chain Creates or modifies a key chain. operation, on page 174 Configures an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 165 IP Service Level Agreement Commands key-chain Command Description schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 166: Life

    RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# schedule operation 1 RP/0/0/CPU0:router(config-ipsla-sched)# life forever Related Commands Command Description operation, on page 174 Configures an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 167 IP Service Level Agreement Commands life Command Description schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 168: Lives

    The following example shows how to use the lives command in IP SLA UDP echo configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp echo Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 169 IP SLA operation. operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 170: Low-Memory

    215 Schedules an IP SLA operation. show ipsla application, on page 219 Displays the information for the IP SLA application. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 171 IP Service Level Agreement Commands low-memory Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 172: Lsp Selector Ipv4

    If the lsp selector ipv4 command is used in IP SLA operation mode, it acts on the MPLS echo requests for the specific operation being configured. If the lsp selector ipv4 command is used in IP SLA MPLS LSP Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 173 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 174: Lsr-Path

    The following example shows how to use the lsr-path command in IP SLA ICMP Path-echo configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type icmp path-echo RP/0/0/CPU0:router(config-ipsla-icmp-path-echo)# lsr-path 192.0.2.40 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 175 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 176: Maximum Hops

    The following example shows how to set the number of hops for the statistics for the maximum command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type icmp path-echo RP/0/0/CPU0:router(config-ipsla-icmp-path-echo)# statistics hourly RP/0/0/CPU0:router(config-ipsla-op-stats)# maximum hops 20 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 177 Sets the number of paths in which statistics are maintained for each hour for an IP SLA operation. statistics, on page 256 Sets the statistics collection parameters for the operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 178: Maximum Paths (Ip Sla)

    The following example shows how to set the number of paths for the statistics for the maximum paths command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type icmp path-echo RP/0/0/CPU0:router(config-ipsla-icmp-path-echo)# statistics hourly RP/0/0/CPU0:router(config-ipsla-op-stats)# maximum paths 20 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 179 Sets the number of hops in which statistics are maintained for each path for the IP SLA operation. statistics, on page 256 Sets the statistics collection parameters for the operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 180: Monitor

    Examples The following example shows how to use the monitor command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm-def)# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 181 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 182: Mpls Discovery Vpn

    RP/0/0/CPU0:router(config-ipsla)# mpls discovery vpn RP/0/0/CPU0:router(config-ipsla-mpls-discovery-vpn)# Related Commands Command Description interval, on page 148 Configures the refresh interval for MPLS label switched path (LSP) monitoring. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 183 IP Service Level Agreement Commands mpls discovery vpn Command Description mpls lsp-monitor, on page 172 Configures MPLS label switched path (LSP) monitoring. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 184: Mpls Lsp-Monitor

    Configures an IP SLA MPLS LSP monitor instance. mpls discovery vpn, on page 170 Configures MPLS label switched path (LSP) provider edge (PE) router discovery. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 185 197 Configures MPLS LSP monitoring reactions. schedule monitor, on page 213 Schedules an IP SLA MPLS LSP monitor instance. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 186: Operation

    The following example shows how to use the IP SLA operation command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# Related Commands Command Description schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 187: Output Interface

    You cannot use the output interface command if pseudowire is specified as the target to be used in an MPLS LSP ping operation. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 188 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 189: Output Nexthop

    Note Task ID Task ID Operations monitor read, write Examples The following example shows how to use the output nexthop command: RP/0/0/CPU0:router# configure Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 190 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 191: Packet Count

    RP/0/0/CPU0:router(config-ipsla)# operation 1 RP/0/0/CPU0:router(config-ipsla-op)# type udp jitter RP/0/0/CPU0:router(config-ipsla-udp-jitter)# packet count 30 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 192 Command Description schedule operation, on page 215 Schedules an IP SLA operation. packet interval, on page 181 Specifies the interval between packets. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 193: Packet Interval

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 194 IP Service Level Agreement Commands packet interval Command Description packet count, on page 179 Specifies the number of packets that are to be transmitted during a probe. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 195: Path Discover

    The following example shows how to enter path discover submode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla)# monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm)# type mpls lsp ping RP/0/0/CPU0:router(config-ipsla-mplslm-def)# path discover RP/0/0/CPU0:router(config-ipsla-mplslm-lsp-ping)# RP/0/0/CPU0:router(config-ipsla-mplslm-lpd)# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 196: Path Discover Echo

    3 timeout value: 5 Command Modes Path discover configuration MPLS LSP ping configuration Command History Release Modification Release 3.6.0 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 197 Configures MPLS LSP path parameters. path discover scan, on page 188 Configures MPLS LSP scan parameters. path discover session, on page 190 Configures MPLS LSP session parameters. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 198: Path Discover Path

    When failure condition disappears, probing resumes at the regular frequency. The secondary command works in tandem with the retry keyword. Both must be configured. Note Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 199 Configures MPLS LSP echo parameters. path discover scan, on page 188 Configures MPLS LSP scan parameters. path discover session, on page 190 Configures MPLS LSP session parameters. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 200: Path Discover Scan

    The following example shows how to configure the path discovery scan period value: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm-def)# type mpls lsp ping Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 201 Configures MPLS LSP echo parameters. path discover path, on page 186 Configures MPLS LSP path parameters. path discover session, on page 190 Configures MPLS LSP session parameters. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 202: Path Discover Session

    The following example shows how to configure the path discovery session timeout value: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm-def)# type mpls lsp ping Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 203 Configures MPLS LSP echo parameters. path discover path, on page 186 Configures MPLS LSP path parameters. path discover scan, on page 188 Configures MPLS LSP scan parameters. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 204: React

    If there is no default value, no reaction is configured. Command Modes IP SLA reaction configuration IP SLA MPLS LSP monitor reaction configuration Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 205 RP/0/0/CPU0:router(config-ipsla-react-cond)# The following example shows how to use the react command with the packet-loss keyword: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# reaction operation 432 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 206 273 Takes action immediately upon a threshold violation. threshold type xofy, on page 275 Takes action upon X violations in Y probe operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 207: React Lpd

    A path discovery violation for the monitored LPD group happens when path discovery to the target PE fails, or successful path discovery clears such a failure condition. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 208 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 209: Reaction Monitor

    The following example shows how to use the reaction operation command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# reaction monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm-react)# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 210 Specifies to take action after a number of consecutive violations. threshold type immediate, on page 273 Specifies to take action immediately upon a threshold violation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 211: Reaction Operation

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 212 IP Service Level Agreement Commands reaction operation Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 213: Reaction Trigger

    Examples The following example shows how to use the ipsla reaction trigger command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# reaction trigger 1 2 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 214 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 215: Responder

    Description type udp ipv4 address, on page 292 Configures a permanent port in the IP SLA Responder for UDP echo or jitter operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 216: Recurring

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 217: Reply Dscp

    If the reply dscp command is used in IP SLA operation mode, it acts on the headers of echo replies for the specific operation being configured. If the reply dscp command is used in IP SLA MPLS LSP monitor mode, Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 218 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 219: Reply Mode

    MPLS LSP ping or MPLS LSP trace operation. After you enter this command, echo reply packets are set to reply as an IPv4 UDP packet with the IP router alert option in the UDP packet header. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 220 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 221: Scan Delete-Factor

    Examples The following example shows how to use the scan delete-factor command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 222 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 223: Scan Interval

    The following example shows how to use the scan command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm-def)# type mpls lsp ping RP/0/0/CPU0:router(config-ipsla-mplslm-lsp-ping)# scan interval 120 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 224 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 225: Schedule Monitor

    The following example shows how to access and use the schedule monitor command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# schedule monitor 1 RP/0/0/CPU0:router(config-ipsla-mplslm-sched)# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 226 Configures the amount of time during which all LSP operations are scheduled to start or run. start-time , on page 253 Determines the time when an operation starts. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 227: Schedule Operation

    Examples The following example shows how to use the ipsla schedule operation command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# schedule operation 1 RP/0/0/CPU0:router(config-ipsla-sched)# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 228 Indicates that the operation starts automatically at the specified time and for the specified duration every day. start-time , on page 253 Determines the time when the operation starts. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 229: Schedule Period

    You must configure the schedule period before you can start MPLS LSP monitoring. Start MPLS LSP monitoring using the start-time command. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 230 Configures the frequency interval during which LSP groups and operations are scheduled to start. start-time , on page 253 Determines the time when the operation starts. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 231: Show Ipsla Application

    Number of configurable probes : 2047 SA Agent low memory water mark: 20480 (KB) This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 232 Related Commands Command Description low-memory, on page 158 Configures a low-water memory mark. operation, on page 174 Configures an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 233: Show Ipsla History

    Table 15: Response Return Values for the show ipsla history Command Code Description Okay Disconnected Over Threshold Timeout Busy Not Connected Dropped Sequence Error Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 234 Description Entry number Entry number. LifeI Life index. BucketI Bucket index. SampleI Sample index. SampleT Sample start time. CompT Completion time in milliseconds. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 235 Description show ipsla statistics aggregated, on page 238 Displays the statistical errors for all the IP SLA operations or for a specified operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 236: Show Ipsla Mpls Discovery Vpn

    This table describes the significant fields shown in the display. Table 17: show ipsla mpls discovery vpn Field Descriptions Field Description BGP next hop Identifier for the BGP next-hop neighbor. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 237 (VRFs) that contain routing entries for the specified BGP next-hop neighbor. PfxCount Count of the routing entries that participate in the VRF for the specified BGP next-hop neighbor. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 238: Show Ipsla Mpls Lsp-Monitor Lpd

    Latest path discovery return code : OK Latest path discovery completion time (ms): 3450 Completion Time Values: NumOfCompT: 1 CompTMin: 3450 CompTMax : 3450 CompTAvg: 3450 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 239 Completion Time samples and Minimum Completion Time. Number of Paths Values Number of paths values, consisting of Minimum number of paths and Maximum number of paths. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 240: Show Ipsla Mpls Lsp-Monitor Scan-Queue

    Next Delete scan Time after: 83 seconds BGP Next hop Prefix Add/Delete? 192.255.0.2 192.255.0.2/32 192.255.0.3 192.255.0.5/32 Delete This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 241 IPv4 Forward Equivalence Class (FEC) of the BGP next-hop neighbor to be used. Add/Delete Indicates that the specified BGP next-hop neighbor will be added or removed. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 242: Show Ipsla Mpls Lsp-Monitor Summary

    If the group-id argument is not specified, the list of paths is displayed for all operations created by the MPLS LSP monitor instance. Task ID Task ID Operations monitor read Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 243 The following sample output is from the show ipsla mpls lsp-monitor summary group command: RP/0/0/CPU0:router# show ipsla mpls lsp-monitor summary 1 group 100001 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 244 Round Trip Time (RTT) in milliseconds of the latest LSP echo request for the path. Latest Operation Time Time the latest operation cycle was issued for the path. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 245: Show Ipsla Responder Statistics Ports

    NumberOfProbes Port 12213 Local Address ... NumberOfProbes Port 55690 Local Address ... NumberOfProbes This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 246 IP address at which the responder is waiting for probe packets. NumberOfProbes Number of packets at which the responder has received for both control packets and probe packets. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 247: Show Ipsla Statistics

    Current seconds left in Life : Forever Operational state of entry : Active Connection loss occurred : FALSE Timeout occurred : FALSE Latest RTT (milliseconds) Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 248 Return code of the latest operation cycle RTTAvg Average RTT value that is observed in the last cycle. RTTMin Minimum RTT value that is observed in the last cycle. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 249 Description show ipsla statistics aggregated, on page 238 Displays the statistical errors for all the IP SLA operations or for a specified operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 250: Show Ipsla Statistics Aggregated

    10 percent of the round-trip time, the one-way measurement values are assumed to be faulty, and are discarded. Task ID Task ID Operations monitor read Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 251 OWMaxSD: 0 OWSumSD: 0 OWSum2SD: 0 OWMinDS : 0 OWMaxDS: 0 OWSumDS: 0 This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 252 Maximum negative jitter values from destination-to-source. The absolute value is given. MinOfPositivesDS Minimum jitter values from the destination to the source in milliseconds. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 253 Sum of one-way delay values from the destination to the source. OWSumSD Sum of one-way delay values from the source to the destination. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 254 Sum of the negative jitter values from the destination to the source. SumOfNegativesSD Sum of the negative jitter values from the source to the destination. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 255 Table 25: show ipsla statistics aggregated detail Field Descriptions Field Description Entry Entry number. StartT Start time of entry, in hundredths of seconds. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 256 Nexthop Downstream Sense Selector Interface Address Label Stack 127.0.0.1 Gi0/4/0/0 192.39.1.1 127.0.0.1 Gi0/4/0/0.1 192.39.2.1 127.0.0.1 Gi0/4/0/0.2 192.39.3.1 127.0.0.1 Gi0/4/0/0.3 192.39.4.1 127.0.0.8 Gi0/4/0/0 192.39.1.1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 257 Round-trip time statistics appear on the specified lines. RTT Min/Avg/Max Maximum values of the RTT that are observed in the latest cycle (*). NumOfRTT Number of successful round trips. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 258 Displays the statistical errors for all the IP SLA operations or for a specified operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 259: Show Ipsla Statistics Enhanced Aggregated

    Bucket : 1 - 300 seconds) Start Time Index: 00:38:14.286 UTC Thu Mar 16 2006 Number of Failed Operations due to a Disconnect Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 260 Sum of squares of the round-trip values, in milliseconds. Number of Failed Operations due to a Disconnect Number of failed operations due to a disconnect. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 261 238 Displays the statistical errors for all the IP SLA operations or for a specified operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 262: Source Address

    Support was added for IP SLA MPLS LSP Ping and IP SLA MPLS LSP Trace configuration modes. Usage Guidelines Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 263 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 264: Source Port

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 265: Start-Time

    Release 3.5.0 This command was added to IP SLA MPLS LSP monitor schedule configuration mode. Release 3.7.0 Added the ability to specify a year. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 266 213 Schedules an IP SLA MPLS LSP monitoring instance. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 267 IP Service Level Agreement Commands start-time Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 268: Statistics

    (PE) routers. This configuration is inherited by all LSP operations that are created automatically. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 269 168 Configures an IP SLA MPLS LSP monitor instance. mpls lsp-monitor, on page 172 Configures MPLS label switched path (LSP) monitoring. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 270 (IP SLA), on page 166 Sets the number of paths in which statistics are maintained for each hour for an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 271: Tag (Ip Sla)

    (PE) routers. This configuration is inherited by all LSP operations that are created automatically. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 272 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 273: Target Ipv4

    LSP ping or trace operation. If you enter the command a second time and configure a different IPv4 target address, you overwrite the first IPv4 address. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 274 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 275: Target Pseudowire

    For more information on VCCV, refer to the VCCV draft, “Pseudowire Virtual Circuit Connectivity Verification (VCCV)” on the IETF web page. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 276 215 Schedules an IP SLA operation. type mpls lsp ping, on page 286 Tests connectivity in an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 277: Target Traffic-Eng

    In an MPLS network, an IP SLA trace operation traces the LSP paths to a target router identified with the target traffic-eng command. In the verification of LSP routes, a packet is sent to the control plane of each Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 278 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 279: Threshold

    RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# reaction operation 432 RP/0/0/CPU0:router(config-ipsla-react)# react jitter-average RP/0/0/CPU0:router(config-ipsla-react-cond)# threshold lower-limit 8000 upper-limit 10000 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 280 273 Takes action immediately upon a threshold violation. threshold type xofy, on page 275 Takes action upon X violations in Y probe operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 281: Threshold Type Average

    RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# reaction operation 432 RP/0/0/CPU0:router(config-ipsla-react)# react jitter-average RP/0/0/CPU0:router(config-ipsla-react-cond)# threshold type average 8 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 282 273 Takes action immediately upon a threshold violation. threshold type xofy, on page 275 Takes action upon X violations in Y probe operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 283: Threshold Type Consecutive

    (PE) routers. This configuration is inherited by all LSP operations that are created automatically. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 284 273 Takes action immediately upon a threshold violation. threshold type xofy, on page 275 Takes action upon X violations in Y probe operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 285: Threshold Type Immediate

    Task ID Operations monitor read, write Examples The following example shows how to use the threshold type immediate command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 286 Takes action after a number of consecutive violations. threshold type xofy, on page 275 Takes action upon X violations in Y probe operations. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 287: Threshold Type Xofy

    The following example shows how to use the threshold type xofy command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# reaction operation 432 RP/0/0/CPU0:router(config-ipsla-react)# react verify-error RP/0/0/CPU0:router(config-ipsla-react-cond)# threshold type xofy 1 5 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 288 271 Takes action after a number of consecutive violations. threshold type immediate, on page 273 Takes action immediately upon a threshold violation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 289: Timeout (Ip Sla)

    (PE) routers wait for a response from the request packet. This configuration is inherited by all LSP operations that are created automatically. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 290 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 291 The following example shows how to use the tos command in IP SLA UDP jitter configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# operation 1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 292 Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 293 (PE) routers. This configuration is inherited by all LSP operations that are created automatically. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 294 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 295: Type Icmp Echo

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 296: Type Icmp Path-Echo

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 297: Type Icmp Path-Jitter

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 298: Type Mpls Lsp Ping

    If the type mpls lsp ping command is used in IP SLA MPLS LSP monitor configuration mode, it configures the parameters for all operations associated with the Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 299 Schedules an IP SLA operation. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 300: Type Mpls Lsp Trace

    If the type mpls lsp trace command is used in IP SLA operation configuration mode, it configures the parameters for the specific operation being configured. If the type mpls lsp trace command is used in IP SLA Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 301 215 Schedules an IP SLA operation. type mpls lsp ping, on page 286 Tests connectivity in an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 302: Type Udp Echo

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 303: Type Udp Jitter

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 304: Type Udp Ipv4 Address

    The following example shows how to configure a permanent port for the type udp ipv4 address command: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# responder RP/0/0/CPU0:router(config-ipsla-resp)# type udp ipv4 address 192.0.2.11 port 10001 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 305 Related Commands Command Description responder, on page 203 Enables the IP SLA responder for a UDP echo or UDP jitter operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 306: Verify-Data

    Related Commands Command Description operation, on page 174 Configures an IP SLA operation. schedule operation, on page 215 Schedules an IP SLA operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 307: Vrf (Ip Sla)

    The vrf command is supported only to configure the following IP SLA operations: • IP SLA ICMP echo • IP SLA ICMP path-echo Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 308 290 Configures an IP SLA UDP echo operation. type udp jitter, on page 291 Configures an IP SLA UDP jitter operation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 309: Vrf (Ip Sla Mpls Lsp Monitor)

    The following example shows how to use the vrf command in IP SLA MPLS LSP monitor configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# ipsla RP/0/0/CPU0:router(config-ipsla)# mpls lsp-monitor RP/0/0/CPU0:router(config-ipsla-mplslm)# monitor 2 RP/0/0/CPU0:router(config-ipsla-mplslm-def)# type mpls lsp trace RP/0/0/CPU0:router(config-ipsla-mplslm-lsp-trace)# vrf vpn-lsp Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 310 Tests connectivity in an LSP path in an MPLS VPN. type mpls lsp trace, on page 288 Traces the hop-by-hop route of an LSP path in an MPLS VPN. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 311: Logging Services Commands

    For detailed information about logging concepts, configuration tasks, and examples, see the Implementing Logging Services module in the Cisco IOS XR System Monitoring Configuration Guide for the Cisco XR 12000 Series Router. For alarm management and logging correlation commands, see the Alarm Management and Logging Correlation Commands module in the Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router.
  • Page 312 341 • severity, page 343 • show logging, page 344 • show logging history, page 348 • terminal monitor, page 350 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 313: Archive-Length

    Examples This example shows how to set the log archival period to 6 weeks: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# archive-length 6 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 314: Archive-Size

    Examples This example shows how to set the allotted space for syslogs to 50 MB: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# archive-size 50 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 315: Clear Logging

    Task ID Operations logging execute Examples This example shows how to clear the logging buffer: RP/0/0/CPU0:router# clear logging Clear logging buffer [confirm] [y/n] :y Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 316 344 Displays syslog messages stored in the logging buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 317: Device

    Examples This example shows how to specify disk1 as the device for logging syslog messages: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# device disk1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 318: File-Size

    Examples This example shows how to set the maximum log file size to 10 MB: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# file-size 10 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 319: Frequency (Logging)

    Examples This example shows how to specify that logs are collected weekly instead of daily: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# frequency weekly Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 320: Logging

    When syslog messages are sent to a syslog server, the Cisco IOS XR software includes a numerical message identifier in syslog messages. The message identifier is cumulative and sequential. The numerical identifier included in syslog messages sent to syslog servers provides a means to determine if any messages have been lost.
  • Page 321 RP/0/0/CPU0:router(config)# logging host1 Note Default level is severity info. Related Commands Command Description logging trap, on page 339 Limits the messages sent to snmp server. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 322: Logging Archive

    <disk0 | disk1 | harddisk> Use configured devices as harddisk the archive device. file-size <1-2047> Size in MB 1 MB frequency <daily | weekly> daily Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 323 This example shows how to enter logging archive configuration mode and change the device to be used for logging syslogs to disk1: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# device disk1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 324: Logging Buffered

    312for a list of the possible severity level keywords for the severity argument. This table describes the acceptable severity levels for the severity argument. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 325 302 Clears messages from the logging buffer. show logging, on page 344 Displays syslog messages stored in the logging buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 326: Logging Console

    Use the no logging console command to return the configuration to the default setting. Use the show logging, on page 344 command to display syslog messages stored in the logging buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 327 This example shows how to return console logging to the default setting (the console is enabled, severity: informational): RP/0/0/CPU0:router# no logging console Related Commands Command Description show logging, on page 344 Displays syslog messages stored in the logging buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 328: Logging Console Disable

    Use the no logging console disable command to return the configuration to the default setting. Task ID Task ID Operations logging read, write Examples This example shows how to disable syslog messages: RP/0/0/CPU0:router(config)# logging console disable Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 329: Logging Events Link-Status

    Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 330 (interface), on page 319 Enables the logging of link-status system logging (syslog) messages on a specific interface for virtual interfaces and subinterfaces. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 331: Logging Events Link-Status (Interface)

    Task ID Operations logging read, write Examples This example shows the results of turning on logging for a bundle interface: RP/0/0/CPU0:router(config)# int bundle-pos 1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 332 RP/0/0/CPU0:router(config-subif)# commit LC/0/5/CPU0:Jun 29 14:06:46.710 : ifmgr[142]: %PKT_INFRA-LINEPROTO-6-UPDOWN : Line protocol on Interface GigabitEthernet0/5/0/0.1, changed state to Administratively Down LC/0/5/CPU0:Jun 29 14:06:46.726 : ifmgr[142]: Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 333 %PKT_INFRA-LINK-3-UPDOWN : Interface GigabitEthernet0/5/0/0.1, changed state to Up LC/0/5/CPU0:Jun 29 14:06:52.244 : ifmgr[142]: %PKT_INFRA-LINEPROTO-6-UPDOWN : Line protocol on Interface GigabitEthernet0/5/0/0.1, changed state to Down Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 334: Logging Facility

    System daemon kern Kernel local0 Reserved for locally defined messages local1 Reserved for locally defined messages local2 Reserved for locally defined messages Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 335 Operations logging read, write Examples This example shows how to configure the syslog facility to the kern facility type: RP/0/0/CPU0:router(config)# logging facility kern Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 336 Logging Services Commands logging facility Related Commands Command Description logging, on page 308 Specifies a syslog server host as a destination for syslog messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 337: Logging History

    (2), alerts (1), and emergencies (0) to be stored in the history table and sent to the SNMP NMS. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 338 Changes the number of messages stored in the history table. show logging history, on page 348 Displays information about the state of the syslog history table. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 339: Logging History Size

    Examples This example shows how to set the number of messages stored in the history table to 20: RP/0/0/CPU0:router(config)# logging history size 20 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 340 SNMP server. show logging history, on page 348 Displays information about the state of the syslog history table. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 341: Logging Hostnameprefix

    This example shows how to add the hostname prefix host1 to messages sent to the syslog servers from the router: RP/0/0/CPU0:router(config)# logging hostnameprefix host1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 342 Logging Services Commands logging hostnameprefix Related Commands Command Description logging, on page 308 Specifies a syslog server host as a destination for syslog messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 343: Logging Localfilesize

    This example shows how to set the local logging file to 90000 bytes: RP/0/0/CPU0:router(config)# logging localfilesize 90000 Related Commands Command Description show logging, on page 344 Displays syslog messages stored in the logging buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 344: Logging Monitor

    Examples This example shows how to set the severity level of messages logged to terminal lines to errors: RP/0/0/CPU0:router(config)# logging monitor errors Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 345 Logging Services Commands logging monitor Related Commands Command Description terminal monitor, on page 350 Enables the display of syslog messages for the current terminal session. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 346: Logging Source-Interface

    308 command to specify a syslog server host as a destination for syslog messages. Task ID Task ID Operations logging read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 347 RP/0/0/CPU0:router(config)# logging source-interface pos 0/1/0/1 Related Commands Command Description logging, on page 308 Specifies a syslog server host as a destination for syslog messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 348: Logging Suppress Deprecated

    Task ID Operations logging read, write Examples This example shows how to suppress the consecutive logging of deprecated messages: RP/0/0/CPU0:router(config)# logging suppress deprecated Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 349: Logging Suppress Duplicates

    RP/0/0/CPU0:router(config)# logging suppress duplicates Related Commands Command Description logging, on page 308 Specifies a syslog server host as a destination for syslog messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 350 Specifies terminal lines other than the console terminal as destinations for syslog messages and limits the number of messages sent to terminal lines based on severity. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 351: Logging Trap

    Operations logging read, write Examples This example shows how to restrict messages to notifications (5) and numerically lower levels. RP/0/0/CPU0:router(config)# logging trap notifications Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 352 Logging Services Commands logging trap Related Commands Command Description logging, on page 308 Specifies a syslog server host as a destination for syslog messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 353: Service Timestamps

    Coordinated Universal Time (UTC) without milliseconds and time zone information. Command Modes Global configuration Command History Release Modification Release 3.2 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 354 This example shows how to enable time stamps on syslog messages, which show the current time and date relative to the local time zone, with the time zone name included: RP/0/0/CPU0:router(config)# service timestamps log datetime localtime show-timezone Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 355: Severity

    This example shows how to specify that warning conditions and higher-severity messages are logged to the archive: RP/0/0/CPU0:router(config)# logging archive RP/0/0/CPU0:router(config-logging-arch)# severity warnings Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 356: Show Logging

    (Optional) Displays system logging (syslog) messages from the specified local buffer. The node-id argument is entered in the rack/slot/modul e notation. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 357 (Optional) Displays syslog messages related to the specified process. string string (Optional) Displays syslog messages that contain the specified string. Command Default None Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 358 Console logging: level informational , 59 messages logged Monitor logging: level debugging, 0 messages logged Trap logging: level informational, 0 messages logged Buffer logging: level debugging, 75 messages logged Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 359 “disabled.” Related Commands Command Description clear logging, on page 303 Clears messages from the logging buffer. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 360: Show Logging History

    'warnings' or higher 137 messages ignored, 0 dropped, 29 table entries flushed SNMP notifications disabled This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 361 SNMP server. logging history size, on page 327 Changes the number of syslog messages that can be stored in the history table. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 362: Terminal Monitor

    Task ID Operations logging execute Examples This example shows how to enable the display syslog messages for the current terminal session: RP/0/0/CPU0:router# terminal monitor Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 363 Specifies terminal lines other than console terminal as destinations for syslog messages and limits the number of messages sent to terminal lines based on severity. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 364 Logging Services Commands terminal monitor Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 365 Cisco XR 12000 Series Router. For detailed information about logging concepts, configuration tasks, and examples, see the Implementing Logging Services module in the Cisco IOS XR System Monitoring Configuration Guide for the Cisco XR 12000 Series Router. For alarm management and logging correlation commands, see the Alarm Management and Logging Correlation Commands module in the Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router.
  • Page 366: Clear Logging Onboard

    Clears continuous information. continuous historical Clears historical information. Command Default All OBFL logging messages are cleared from all nodes. Command Modes Administration EXEC Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 367 Command Description hw-module logging onboard , on page 356 Enables or disables OBFL. show logging onboard, on page 358 Displays the OBFL messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 368: Hw-Module Logging Onboard

    OBFL is enabled by default. Use this command only if you disabled OBFL: no hw-module {all | subslot node-id} logging onboard disable Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 369 354 Clears OBFL logging messages from a node or from all nodes. show logging onboard, on page 358 Displays the OBFL messages. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 370: Show Logging Onboard

    Displays historical information. static-data Display system descriptor data. detail Displays detailed logging information. Displays raw OBFL data. summary Displays a summary of OBFL logging information. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 371 File cleared by user request. ------------------------------------------------------------------------------- This example displays continuous information about the temperature: RP/0/0/CPU0:router(admin)# show logging onboard temperature continuous RP/0/RSP1/CPU0:ios(admin)#show logging onboard temperature continuous Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 372 354 Clears OBFL logging messages from a node or from all nodes. hw-module logging onboard , on page 356 Enables or disables OBFL. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 373 405 • show performance-mgmt node, page 407 • show performance-mgmt ospf, page 409 • show running performance-mgmt, page 411 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 374: Monitor Controller Fabric

    Enables you to jump to a nonsequential fabric plane. You are prompted to enter the plane ID of the fabric to be monitored. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 375 Delta In Cells 0 ( 0 per-sec) 0 Out Cells 0 ( 0 per-sec) 0 CE Cells 0 ( 0 per-sec) 0 UCE Cells 0 ( 0 per-sec) 0 PE Cells 0 ( 0 per-sec) 0 Quit='q', Freeze='f', Thaw='t', Clear='c', Select controller='s' Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 376: Monitor Controller Sonet

    Terminates the controller SONET monitoring session. Enables you to jump to a nonsequential SONET controller. You are prompted to enter the SONETcontroller to be monitored. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 377 0 Line BIP 0 ( 0 per-sec) 0 Line FEBE 0 ( 0 per-sec) 0 Section LOS 1 per-sec) 1 Section LOF 0 ( 0 per-sec) 0 Section BIP 0 ( 0 per-sec) 0 Quit='q', Freeze='f', Thaw='t', Clear='c', Select controller='s' Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 378: Monitor Interface

    To display more than one selected interface, enter the monitor interface command with multiple type interface-path-id arguments. For example: monitor interface pos0/2/0/0 pos0/5/0/1 pos0/5/0/2 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 379 (Default) Displays statistics in bytes (“y”). Displays statistics in both bytes and packets (“o”). Use the following keys to display statistics for a different interface: Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 380 IPv4 Uni='4u', IPv4 Multi='4m', IPv6 Uni='6u', IPv6 Multi='6m') Rack6-1 Monitor Time: 00:00:01 SysUptime: 165:52:41 Protocol:IPv4 Unicast Interface In(bps) Out(bps) InBytes/Delta OutBytes/Delta Mg0/0/CPU0/0 0/ 0% 0/ 0% 85.3M/0 6.9M/0 PO0/4/0/0 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 381 POS0/1/0/1 84/ 0% 0/ 0% 274.8M/22 274.6M/0 POS0/6/0/0 1275/ 0% 0/ 0% 5.3M/330 1.4M/0 POS0/6/0/1 85/ 0% 0/ 0% 2.6M/22 1.4M/0 POS0/6/4/4 0/ 0% 0/ 0% 15.1M/0 1.4M/0 POS0/6/4/5 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 382 0 0 Output Underrun: 0 0 Quit='q', Freeze='f', Thaw='t', Clear='c', Interface='i', Next='n', Prev='p' Brief='b', Detail='d', Protocol(IPv4/IPv6)='r' (Additional options in 'Protocol'): Bytes='y', Packets='k', Both of bytes/packets='o' Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 383: Performance-Mgmt Apply Monitor

    Use the show interfaces command to see a list of all interfaces currently configured on the router. For more information about the syntax for the router, use the question mark (?) online help function. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 384 The type and interface-path-id arguments are only to be used with the interface data-rates or interface generic-counter keyword. For information about creating templates, see the performance-mgmt apply statistics, on page 374 command. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 385 Creates a template to use for collecting performance management statistics. show running performance-mgmt, on page 411 Displays a list of templates and the template being applied. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 386: Performance-Mgmt Apply Statistics

    (_). Use show running performance-mgmt, on page 411 command to display a list of available templates. default Applies the default template. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 387 Caution Each particular collection enabled requires a certain amount of resources. These resources are allocated for as long as the collection is enabled. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 388 Creates a template to use for collecting performance management statistics. show running performance-mgmt, on page 411 Displays a list of templates and the template being applied. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 389: Performance-Mgmt Apply Thresholds

    (_). Use show running performance-mgmt, on page 411 command to display a list of available templates. default Applies the default template. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 390 Examples This example shows how to start threshold collection for BGP using a template named stats1: RP/0/0/CPU0:router(config)#performance-mgmt apply thresholds bgp stats1 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 391 Creates a template to use for threshold collection. show running performance-mgmt, on page 411 Displays a list of templates and the template being applied. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 392: Performance-Mgmt Regular-Expression

    Task ID Operation monitor read, write Examples This is the sample output from the performance-mgmt regular-expression command: performance-mgmt regular-expression reg1 index 10 RP/0/0/CPU0:router# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 393: Performance-Mgmt Resources Dump Local

    Task ID Operation monitor read, write Examples This is the sample output for the performance-mgmt resources dumplocal command: performance-mgmt resources dump local RP/0/0/CPU0:router# Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 394: Performance-Mgmt Resources Memory

    PM does not exceed a maximum limit and that any new PM data request does not cause available memory in the system to fall below a certain threshold. Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 395 30,000 kilobytes and that any new PM data request does not cause available memory in the system to fall below 5000 kilobytes: RP/0/0/CPU0:router(config)# performance-mgmt resources memory max-limit 30000 min-reserved 5000 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 396: Performance-Mgmt Resources Tftp-Server

    TFTP server used should support creation of files as data is transferred, without requiring users to manually create them at the TFTP server host in advance. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 397 374 Applies a statistics template and enables statistics collection. performance-mgmt apply thresholds, on page 377 Applies a threshold template and enables threshold monitoring. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 398: Performance-Mgmt Statistics

    (_). Use the show running performance-mgmt, on page 411 to display information about templates, and to display the templates that are being used. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 399 TFTP server are in binary format and must be viewed using a customer-supplied tool or they can be queried as they are being collected using XML. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 400 Configures a template for collecting threshold statistics. show running performance-mgmt, on page 411 Displays a list of templates and the template being applied. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 401: Performance-Mgmt Thresholds

    Applies the settings of the default template. attribute The attributes for the entity. See Table 37: Attribute Values, on page 391for a list of attributes. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 402 The number of intervals to use with the rearm keyword. Command Default None Command Modes Global configuration Command History Release Modification Release 2.0 This command was introduced. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 403 35 - 20 = 15, which is > than 50 Generate event percent of 20 This table shows the attribute values supported by the entities. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 404 Peak input packet rate. OutputDataRate Output data rate in kbps. OutputPacketRate Output packets per second. OutputPeakPkts Peak output packet rate. OutputPeakRate Peak output data rate. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 405 OutOctets Bytes sent. OutPackets Packets sent. OutputTotalDrops Outbound correct packets discarded. OutputTotalErrors Outbound incorrect packets discarded. OutUcastPkts Unicast packets sent. OutputUnderrun Output underruns. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 406 NoProcesses Number of processes. node memory CurrMemory Current application memory (in bytes) in use. PeakMemory Maximum system memory (in MB) used since bootup. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 407 Attributes Description node process AverageCPUUsed Average percent CPU utilization. NumThreads Number of threads. PeakMemory Maximum dynamic memory (in KB) used since startup time. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 408 InputLSAAcksLSA Number of LSA received in LSA acknowledgements. OutputLSAAcks Number of LSA acknowledgements sent. OutputLSAAcksLSA Number of LSA sent in LSA acknowledgements. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 409 Performance Management Commands performance-mgmt thresholds Entity Attributes Description ChecksumErrors Number of packets received with checksum errors. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 410 InputLSAAcksLSA Number of LSA received in LSA acknowledgements. OutputLSAAcks Number of LSA acknowledgements sent OutputLSAAcksLSA Number of LSA sent in LSA acknowledgements. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 411 Configures a TFTP resource for performance management. show running performance-mgmt, on page 411 Displays a list of templates and the template being applied. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 412: Show Performance-Mgmt Bgp

    None Command Modes EXEC Command History Release Modification Release 3.2 This command was introduced. Usage Guidelines Task ID Task ID Operations monitor read Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 413 Number of error notifications sent on the connection. InputMessages Number of messages received. InputUpdateMessages Number of update messages received. OutputMessages Number of messages sent. OutputUpdateMessages Number of update messages sent. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 414: Show Performance-Mgmt Interface

    Sample ID of the monitoring collection or statistics collection to be displayed. Displays all collected samples. all-samples last-sample Displays the last collected samples. Command Default None Command Modes EXEC Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 415 OutputTotalDrops: 0 InputTotalErrors: 0 OutputTotalErrors: 0 InputOverrun: 0 OutputUnderrun: 0 InputQueueDrops: 0 InputUnknownProto: 0 InputCRC: 0 InputFrame: 0 This table describes the significant fields shown in the display. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 416 OutOctets Bytes sent. OutPackets Packets sent. OutputTotalDrops Outbound correct packets discarded. OutputTotalErrors Outbound incorrect packets discarded. OutUcastPkts Unicast packets sent. OutputUnderrun Output underruns. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 417: Show Performance-Mgmt Mpls

    Command Default None Command Modes EXEC Command History Release Modification Release 3.2 This command was introduced. Release 3.3.0 Removed support for MPLS interfaces. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 418 Table 40: show performance-mgmt mpls Field Descriptions Field Description InitMsgsSent Initial messages sent. InitMsgsRcvd Initial messages received. TotalMsgsSent Total messages sent. TotalMsgsRcvd Total messages received. AddressMsgsSent Address messages sent. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 419: Show Performance-Mgmt Node

    Sample ID of the monitoring or statistics collection to be displayed. all-samples Displays all collected samples. last-sample Displays the last collected samples. Command Default None Command Modes EXEC Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 420 Table 41: show performance-mgmt node Field Descriptions Field Description PeakMemory Maximum system memory (in MB) used since bootup. AverageCPUused Average system percent CPU utilization. NoThreads Number of threads. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 421: Show Performance-Mgmt Ospf

    Command Modes EXEC Command History Release Modification Release 3.7.0 This command was introduced. Usage Guidelines Task ID Task ID Operations monitor read, write Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 422 InputLSRequests: 1 OutputLSRequests: 2 InputLSRequestsLSA: 11 OutputLSRequestsLSA: 0 InputLSAUpdates: 989 OutputLSAUpdates: 109 InputLSAUpdatesLSA: 28282 OutputLSAUpdatesLSA: 587 InputLSAAcks: 34 OutputLSAAcks: 638 InputLSAAcksLSA: 299 OutputLSAAcksLSA: 27995 ChecksumErrors: 0 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 423: Show Running Performance-Mgmt

    RP/0/0/CPU0:router(config)#show running performance-mgmt performance-mgmt resources tftp-server 192.168.134.254 directory muckier/jagrelo/pmtest performance-mgmt statistics bgp template template3 sample-size 5 sample-interval 60 performance-mgmt statistics node cpu template template4 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 424 0/0/CPU0 template6 performance-mgmt apply thresholds node cpu global template20 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 425: Statistics Service Commands

    (exception packets). The counters are always local (relative to the CPU) to the node on which the interface is homed. The Cisco IOS XR software provides an efficient mechanism to collect these counters from various application-specific integrated circuits (ASICs) or NetIO and assemble an accurate set of statistics for an interface.
  • Page 426: Clear Counters

    This command does not clear counters retrieved using Simple Network Management Protocol (SNMP), but only those counters displayed with the show interfaces command. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 427 Clear "show interface" counters on this interface [confirm] Related Commands Command Description show interfaces Displays statistics for all interfaces configured on the networking device. Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 428: Load-Interval

    Examples This example shows how to configure the load interval to 30 seconds: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# interface pos 0/1/0/0 RP/0/0/CPU0:router(config-if)# load-interval 30 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01...
  • Page 429 (IP SLA) command key-chain command destination port command device command distribution count command distribution interval command life command lives command Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01 IN-1...
  • Page 430 Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 IN-2 OL-24735-01...
  • Page 431 (IP SLA MPLS LSP monitor) command show snmp correlator ruleset command vrf (IP SLA) command source address command Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 OL-24735-01 IN-3...
  • Page 432 Index Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1 IN-4 OL-24735-01...

Table of Contents