Monitoring Alarms
Once hardware is installed and operational, use alarms to monitor hardware status on a daily basis.
The 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.
Use snmp-server enable traps alarms <severity> command to enable the entity related Traps.
The default severity level is informational, which shows all alarms. Severity levels are defined as the following:
- 1—Critical. The condition affects service.
- 2—Major. Immediate action is needed.
- 3—Minor. Minor warning conditions.
- 4—Informational. No action is required. This is the default.
The entity notifications ceAlarmAsserted and ceAlarmCleared are used to report the condition for e.g. when a physical entity asserted or cleared an alarm.
Note |
Effective from Cisco IOS XE Everest 16.6.1, on RSP3 module, alarm notification is enabled on 900 watts DC power supply. There are 2 input feeds for 900 watts DC power supply, if one of the input voltage is lesser than the operating voltage, critical alarm is generated for that particular feed and clears (stops) once the voltage is restored but the power supply state remains in OK state as the other power supply is operationally up. |
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.
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
*May 18 14:50:48.540: %TRANSCEIVER-6-REMOVED: SIP0: iomd: Transceiver module removed from TenGigabitEthernet0/0/1
*May 18 14:50:49.471: %IOSXE_OIR-6-REMSPA: SPA removed from subslot 0/0, interfaces disabled
*May 18 14:50:49.490: %SPA_OIR-6-OFFLINECARD: SPA (A900-IMA2Z) offline in subslot 0/0
SPA RE-INSERTED
*May 18 14:52:11.803: %IOSXE_OIR-6-INSSPA: SPA inserted in subslot 0/0
*May 18 14:52:52.807: %SPA_OIR-6-ONLINECARD: SPA (A900-IMA2Z) online in subslot 0/0
*May 18 14:52:53.543: %TRANSCEIVER-6-INSERTED: SIP0: iomd: transceiver module inserted in TenGigabitEthernet0/0/0
*May 18 14:52:53.551: %TRANSCEIVER-6-INSERTED: SIP0: iomd: transceiver module inserted in TenGigabitEthernet0/0/1
*May 18 14:52:54.780: %LINK-3-UPDOWN: Interface TenGigabitEthernet0/0/0, changed state to down
*May 18 14:52:54.799: %LINK-3-UPDOWN: Interface TenGigabitEthernet0/0/1, changed state to down
*May 18 14:53:06.578: %LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet0/0/1, changed state to up
*May 18 14:53:08.482: %LINK-3-UPDOWN: Interface TenGigabitEthernet0/0/1, changed state to up
ALARMS for Router
To view the alarms on router, use the show facility-alarm status command. The example shows a critical alarm for Power supply along with the description:
SPA Removed
Router# show facility-alarm status
System Totals Critical: 22 Major: 0 Minor: 0
Source Time Severity Description [Index]
------ ------ -------- -------------------
subslot 0/0 May 18 2016 14:50:49 CRITICAL Active Card Removed OIR Alarm [0]
GigabitEthernet0/1/0 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/1 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/2 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/5 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/6 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/7 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
xcvr container 0/2/0 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/2/2 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/2/3 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/2/4 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/2/5 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/2/6 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
SONET 0/3/0 May 11 2016 18:54:25 INFO Physical Port Administrative State Down [36]
xcvr container 0/3/1 May 11 2016 18:53:44 INFO Transceiver Missing [0]
xcvr container 0/3/2 May 11 2016 18:53:44 INFO Transceiver Missing [0]
xcvr container 0/3/3 May 11 2016 18:53:44 INFO Transceiver Missing [0]
xcvr container 0/4/0 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/1 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/2 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/4/3 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/4/4 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/5 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/6 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/7 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
TenGigabitEthernet0/4/8 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [35]
SPA Re-Inserted
Router# show facility-alarm status
System Totals Critical: 22 Major: 0 Minor: 0
Source Time Severity Description [Index]
------ ------ -------- -------------------
TenGigabitEthernet0/0/0 May 18 2016 14:53:02 CRITICAL Physical Port Link Down [35]
GigabitEthernet0/1/0 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/1 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/2 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/5 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/6 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/7 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
xcvr container 0/2/0 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/2/2 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/2/3 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/2/4 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/2/5 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/2/6 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
SONET 0/3/0 May 11 2016 18:54:25 INFO Physical Port Administrative State Down [36]
xcvr container 0/3/1 May 11 2016 18:53:44 INFO Transceiver Missing [0]
xcvr container 0/3/2 May 11 2016 18:53:44 INFO Transceiver Missing [0]
xcvr container 0/3/3 May 11 2016 18:53:44 INFO Transceiver Missing [0]
xcvr container 0/4/0 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/1 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/2 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/4/3 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/4/4 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/5 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/6 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/7 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
TenGigabitEthernet0/4/8 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [35]
To view critical alarms specifically, use the show facility-alarm status critical command:
Router# show facility-alarm status critical
System Totals Critical: 22 Major: 0 Minor: 0
Source Time Severity Description [Index]
------ ------ -------- -------------------
TenGigabitEthernet0/0/0 May 18 2016 14:53:02 CRITICAL Physical Port Link Down [35]
GigabitEthernet0/1/0 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/1 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/2 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/5 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/6 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
GigabitEthernet0/1/7 May 11 2016 18:53:36 CRITICAL Physical Port Link Down [1]
xcvr container 0/2/0 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/2/2 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/2/3 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/2/4 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/2/5 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/2/6 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/4/0 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/1 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/2 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
GigabitEthernet0/4/3 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [1]
xcvr container 0/4/4 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/5 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/6 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
xcvr container 0/4/7 May 11 2016 18:54:25 CRITICAL Transceiver Missing - Link Down [1]
TenGigabitEthernet0/4/8 May 11 2016 18:54:25 CRITICAL Physical Port Link Down [35]
To view the operational state of the major hardware components on the router, use the show platform diag command. This example shows the Power supply P0 has failed:
Router# show platform diag
Chassis type: ASR903
Slot: 1, A900-RSP2A-128
Running state : ok
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:02:33 (00:57:31 ago)
Software declared up time : 00:03:41 (00:56:24 ago)
CPLD version : 15092360
Firmware version : 15.4(3r)S2
Sub-slot: 0/0, A900-IMA2Z
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:04:46 (00:55:19 ago)
Logical insert detect time : 00:04:46 (00:55:19 ago)
Sub-slot: 0/1, A900-IMA8T
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:04:46 (00:55:19 ago)
Logical insert detect time : 00:04:46 (00:55:19 ago)
Sub-slot: 0/2, A900-IMA8S
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:04:46 (00:55:19 ago)
Logical insert detect time : 00:04:46 (00:55:19 ago)
Sub-slot: 0/3, A900-IMA4OS
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:04:46 (00:55:18 ago)
Logical insert detect time : 00:04:46 (00:55:18 ago)
Sub-slot: 0/4, A900-IMA8S1Z
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:04:46 (00:55:18 ago)
Logical insert detect time : 00:04:46 (00:55:18 ago)
Sub-slot: 0/5, A900-IMASER14A/S
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:04:46 (00:55:19 ago)
Logical insert detect time : 00:04:46 (00:55:19 ago)
Slot: R0, A900-RSP2A-128
Running state : ok, standby
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:24:37 (00:35:28 ago)
Software declared up time : 00:31:28 (00:28:36 ago)
CPLD version : 15092360
Firmware version : 15.4(3r)S2
Slot: R1, A900-RSP2A-128
Running state : ok, active
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:02:33 (00:57:31 ago)
Software declared up time : 00:02:33 (00:57:31 ago)
Became HA Active time : 00:34:41 (00:25:23 ago)
CPLD version : 15092360
Firmware version : 15.4(3r)S2
Slot: F0,
Running state : ok, standby
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:24:37 (00:35:28 ago)
Software declared up time : 00:31:45 (00:28:20 ago)
Hardware ready signal time : 00:31:39 (00:28:25 ago)
Packet ready signal time : 00:33:25 (00:26:40 ago)
CPLD version : 15092360
Firmware version : 15.4(3r)S2
Slot: F1,
Running state : ok, active
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:02:33 (00:57:31 ago)
Software declared up time : 00:03:23 (00:56:42 ago)
Hardware ready signal time : 00:03:14 (00:56:51 ago)
Packet ready signal time : 00:04:19 (00:55:46 ago)
Became HA Active time : 00:33:25 (00:26:40 ago)
CPLD version : 15092360
Firmware version : 15.4(3r)S2
Slot: P0, Unknown
State : N/A
Physical insert detect time : 00:00:00 (never ago)
Slot: P1, A900-PWR550-A
State : ok
Physical insert detect time : 00:03:17 (00:56:48 ago)
Slot: P2, A903-FAN-E
State : ok
Physical insert detect time : 00:03:21 (00:56:44 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.