Cisco ASR 1000 Series Aggregation Services Routers Operations and Maintenance Guide
Monitoring Hardware Using Alarms
Downloads: This chapterpdf (PDF - 139.0KB) The complete bookPDF (PDF - 1.13MB) | Feedback

Monitoring Hardware Using Alarms

Table Of Contents

Monitoring Hardware Using Alarms

Router Design and Monitoring Hardware

Approaches for Monitoring Hardware Alarms

Onsite Network Administrator Responds to Audible or Visual Alarms

Clearing Audible and Visual Alarms

Network Administrator Checks Console or Syslog for Alarm Messages

Enabling the logging alarm Command

Examples of Alarm Messages

Reviewing and Analyzing Alarm Messages

Network Management System Alerts Network Administrator When an Alarm Is Reported Through SNMP

For More Information


Monitoring Hardware Using Alarms


Once hardware is installed and operational, use alarms to monitor hardware status on a daily basis.

This chapter includes the following sections:

Router Design and Monitoring Hardware

Approaches for Monitoring Hardware Alarms

For More Information

Router Design and Monitoring Hardware

The Cisco ASR 1000 Series Aggregation Services Routers are designed to send alarm notifications when problems are detected. Network administrators do not need to use show commands to poll devices on a routine basis and can monitor the network remotely. However, network administrators can perform onsite monitoring if they so choose.

Approaches for Monitoring Hardware Alarms

The following sections discuss ways in which you can monitor hardware using alarms:

Onsite Network Administrator Responds to Audible or Visual Alarms

Network Administrator Checks Console or Syslog for Alarm Messages

Network Management System Alerts Network Administrator When an Alarm Is Reported Through SNMP

Onsite Network Administrator Responds to Audible or Visual Alarms

An external element can be connected to a power supply using the DB-25 alarm connector on the power supply. The external element is a DC lightbulb for a visual alarm and a bell for an audible alarm.

If an alarm illuminates the CRIT, MIN, or MAJ LED on the Cisco ASR 1000 Series Route Processor (RP) faceplate, and a visual or audible alarm is wired, the alarm also activates an alarm relay in the power supply DB-25 connector (on the Cisco ASR 1006 Router and Cisco ASR 1004 Router). The bell rings or the lightbulb flashes.

Clearing Audible and Visual Alarms

To clear an audible alarm, do one of the following:

Press the Audible Cut Off button on the RP faceplate.

Enter the clear facility-alarm command.

To clear a visual alarm, you must resolve the alarm condition. The clear facility-alarm command does not clear an alarm LED on the RP faceplate or turn off the DC lightbulb. For example, if a critical alarm LED is illuminated because an active SPA was removed without a graceful deactivation of the SPA, the only way to resolve that alarm is to replace the SPA.

Network Administrator Checks Console or Syslog for Alarm Messages

The network administrator can monitor alarm messages by reviewing alarm messages sent to the system console or to a syslog. This section discusses the following topics:

Enabling the logging alarm Command

Examples of Alarm Messages

Reviewing and Analyzing Alarm Messages

Enabling the logging alarm Command

The logging alarm command must be enabled for the system to send alarm messages to a logging device, such as the console or a syslog. This command is not enabled by default.

You can specify the severity level of alarm to log. All alarms at and above the specified threshold generate alarm messages. For example, the following command sends only critical alarm messages to logging devices:

Router(config)# logging alarm critical

If alarm severity is not specified, alarm messages for all severity levels are sent to logging devices.

Examples of Alarm Messages

The following alarm messages are examples of alarm messages that are sent to the console when a SPA is removed without first doing a graceful deactivation of the SPA. The alarm is cleared when the SPA is re-inserted.

SPA REMOVED

*Aug 22 13:27:33.774: %ASR1000_OIR-6-REMSPA: SPA removed from subslot 1/1, interfaces disabled

*Aug 22 13:27:33.775: %SPA_OIR-6-OFFLINECARD: SPA (SPA-4XT-SERIAL) offline in subslot 1/1

SPA RE-INSERTED

*Aug 22 13:32:29.447: %ASR1000_OIR-6-INSSPA: SPA inserted in subslot 1/1

*Aug 22 13:32:34.916: %SPA_OIR-6-ONLINECARD: SPA (SPA-4XT-SERIAL) online in subslot 1/1

*Aug 22 13:32:35.523: %LINK-3-UPDOWN: SIP1/1: Interface EOBC1/1, changed state to up

ALARMS For Cisco ASR 1001 Router

To view the alarms on Cisco ASR 1001 router, use the show facility-alarm status command. The example shows a critical alarm for Power supply along with the description:

Router# show facility-alarm status
System Totals  Critical: 2  Major: 0  Minor: 1
Source              Severity      Description [Index]
------              --------      -------------------
Power Supply Bay 0         CRITICAL      Power Supply/FAN Module Missing [0]
xcvr container 0/0/0       CRITICAL      Transceiver Missing - Link Down [1]
xcvr container 0/1/0       INFO          Transceiver Missing [0]
xcvr container 0/1/1       INFO          Transceiver Missing [0]
xcvr container 0/2/0       INFO          Transceiver Missing [0]
xcvr container 0/2/1       INFO          Transceiver Missing [0]
xcvr container 0/2/2       INFO          Transceiver Missing [0]
xcvr container 0/2/3       INFO          Transceiver Missing [0]
Temp: Rear R0/26           MINOR         Temp Above Normal [4]

To view critical alarms specifically, use the show facility-alarm status critical command:

Router# show facility-alarm status critical
System Totals  Critical: 2  Major: 0  Minor: 1

Source              	 Severity      Description [Index]
------                     --------      -------------------
Power Supply Bay 0         CRITICAL      Power Supply/FAN Module Missing [0]
xcvr container 0/0/0       CRITICAL      Transceiver Missing - Link Down [1]

To view the operational state of the major hardware components on Cisco ASR 1001 Router, use the show platform diag command. This example shows the Power supply P0 has failed:

Router# show platform diag
Chassis type: ASR1001

Slot: 0, ASR1001
  Running state               : ok
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:51 (1d01h ago)
  Software declared up time   : 00:01:37 (1d01h ago)
  CPLD version                : 0902010A
  Firmware version            : 12.2(20090526:143323) [gschnorr-mcp_dev_1ru2 rel
ease 1.5 ]

Sub-slot: 0/0, 4XGE-BUILT-IN
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:01:39 (1d01h ago)
  Logical insert detect time  : 00:01:45 (1d01h ago)

Sub-slot: 0/1, SPA-2XOC12-POS
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:01:40 (1d01h ago)
  Logical insert detect time  : 00:01:47 (1d01h ago)

Sub-slot: 0/2, ASR1001-IDC-4XGE
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:01:41 (1d01h ago)
  Logical insert detect time  : 00:01:45 (1d01h ago)

Slot: R0, ASR1001
  Running state               : ok
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:51 (1d01h ago)
  Software declared up time   : 00:00:51 (1d01h ago)
  CPLD version                : 09020110
  Firmware version            : 12.2(20090526:143323) [gschnorr-mcp_dev_1ru2 rel
ease 1.5 ]

Sub-slot: R0/0,
  Running state               : ok, active
  Logical insert detect time  : 00:00:51 (1d01h ago)
  Became HA Active time       : 00:03:20 (1d01h ago)

Sub-slot: R0/1,
  Running state               : ok, standby
  Logical insert detect time  : 00:02:04 (1d01h ago)

Slot: F0, ASR1001
  Running state               : ok, active
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:51 (1d01h ago)
  Software declared up time   : 00:01:32 (1d01h ago)
  Hardware ready signal time  : 00:01:26 (1d01h ago)
  Packet ready signal time    : 00:01:37 (1d01h ago)
  CPLD version                : 0902010A
  Firmware version            : 12.2(20090526:143323) [gschnorr-mcp_dev_1ru2 rel
ease 1.5 ]

Slot: P0, Unknown
  State                       : ps, fail
  Physical insert detect time : 00:00:00 (never ago)

Slot: P1, ASR1001-PWR-AC
  State                       : ok
  Physical insert detect time : 00:01:18 (1d01h ago)

Slot: P2, ASR1001-FANTRAY
  State                       : ok
  Physical insert detect time : 00:01:17 (1d01h ago)

To view the operational state of the major hardware components on Cisco ASR 1013 Router, use the show platform diag command. This example shows the Power supply P0 has failed:

Router# show platform diag
Chassis type: ASR1013

Slot: 4, ASR1000-SIP10
  Running state               : ok
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:48 (02:20:23 ago)
  Software declared up time   : 00:01:42 (02:19:29 ago)
  CPLD version                : 09111601
  Firmware version            : 15.0(1r)S

Sub-slot: 4/2, SPA-2CHT3-CE-ATM
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:00:44 (02:20:27 ago)
  Logical insert detect time  : 00:02:23 (02:18:48 ago)

Slot: 5, ASR1000-SIP40
  Running state               : ok
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:48 (02:20:23 ago)
  Software declared up time   : 00:01:39 (02:19:32 ago)
  CPLD version                : 00200800
  Firmware version            : 15.0(1r)S

Sub-slot: 5/0, SPA-5X1GE-V2
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:00:43 (02:20:28 ago)
  Logical insert detect time  : 00:02:30 (02:18:41 ago)

Sub-slot: 5/1, SPA-8X1GE-V2
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:00:43 (02:20:28 ago)
  Logical insert detect time  : 00:02:24 (02:18:47 ago)

Sub-slot: 5/2, SPA-4XT3/E3
  Operational status          : ok
  Internal state              : inserted
  Physical insert detect time : 00:00:43 (02:20:28 ago)
  Logical insert detect time  : 00:02:30 (02:18:40 ago)

Slot: R0, ASR1000-RP2
  Running state               : ok, active
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:48 (02:20:23 ago)
  Software declared up time   : 00:00:48 (02:20:23 ago)
  Became HA Active time       : 00:05:05 (02:16:06 ago)
  CPLD version                : 10021901
  Firmware version            : 12.2(33r)XND

Slot: R1, ASR1000-RP2
  Running state               : ok, standby
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:48 (02:20:23 ago)
  Software declared up time   : 00:02:42 (02:18:29 ago)
  CPLD version                : 10021901
  Firmware version            : 12.2(33r)XND

Slot: F0, ASR1000-ESP40
  Running state               : ok, active
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:48 (02:20:23 ago)
  Software declared up time   : 00:05:30 (02:15:41 ago)
  Hardware ready signal time  : 00:04:22 (02:16:49 ago)
  Packet ready signal time    : 00:05:33 (02:15:37 ago)
  CPLD version                : 1003190E
  Firmware version            : 15.0(1r)S

Slot: F1, ASR1000-ESP40
  Running state               : init, standby
  Internal state              : online
  Internal operational state  : ok
  Physical insert detect time : 00:00:48 (02:20:23 ago)
  Software declared up time   : 01:35:45 (00:45:26 ago)
  Hardware ready signal time  : 01:34:35 (00:46:36 ago)
  Packet ready signal time    : 00:00:00 (never ago)
  CPLD version                : 1003190E
  Firmware version            : 15.0(1r)S

Slot: P0, Unknown
  State                       : ps,fail
  Physical insert detect time : 00:00:00 (never ago)

Slot: P1, ASR1013-PWR-AC
  State                       : ok
  Physical insert detect time : 00:01:35 (02:19:36 ago)

Slot: P2, ASR1013-PWR-AC
  State                       : ok
  Physical insert detect time : 00:01:35 (02:19:35 ago)

Slot: P3, ASR1013-PWR-AC
  State                       : ok
  Physical insert detect time : 00:01:36 (02:19:35 ago)

Reviewing and Analyzing Alarm Messages

To facilitate the review of alarm messages, you can write scripts to analyze alarm messages sent to the console or syslog. Scripts can provide reports on events such as alarms, security alerts, and interface status.

Syslog messages can also be accessed through Simple Network Management Protocol (SNMP) using the history table defined in the CISCO-SYSLOG-MIB.

Network Management System Alerts Network Administrator When an Alarm Is Reported Through SNMP

The Simple Network Management Protocol (SNMP) is an application-layer protocol that provides a standardized framework and a common language used for monitoring and managing devices in a network. Of all the approaches to monitor alarms, SNMP is the best approach for enterprise and service provider customers that have many routers to monitor.

SNMP provides notification of faults, alarms, and conditions that might affect services. SNMP allows a network administrator to access router information through a network management system (NMS) instead of by polling devices, reviewing logs, or reviewing log reports.

To use SNMP to get alarm notification, you must use the following MIBs:

ENTITY-MIB, RFC 4133 (required for the CISCO-ENTITY-ALARM-MIB and CISCO-ENTITY-SENSOR-MIB to work)

CISCO-ENTITY-ALARM-MIB

CISCO-ENTITY-SENSOR-MIB (for SPA and transceiver environmental alarm information, which is not provided through the CISCO-ENTITY-ALARM-MIB)

For More Information

For more information about the topics discussed in this chapter, see the following documents:

Topic
Document

Command descriptions

Cisco IOS Master Command List, All Releases

Command Lookup Tool (Requires Cisco.com user ID and password)

Configuring MIB support

Cisco ASR 1000 Series Aggregation Services Routers MIB Specifications Guide

Configuring SNMP

"SNMP Support" chapter in the Cisco IOS XE Network Management Configuration Guide, Release 2

Graceful Deactivation of a SIP or SPA: Online insertion and removal (OIR)

"Installing and Removing a SIP" chapter in the
Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Hardware Installation Guide

MIBs supported on the Cisco ASR 1000 Series Aggregation Services Routers

Cisco ASR 1000 Series Aggregation Services Routers MIB Specifications Guide

Power supplies and the DB-25 alarm connector

"Cisco ASR 1000 Series Routers Components Overview" chapter in the Cisco ASR 1000 Series Aggregations Services Routers Hardware Installation Guide