You can create an alarm profile for chassis, card or interface module, and port. The alarm profile name should be a string
with alpha numeric characters. The alarm profile is associated with an alarm with controller types such as T1 or E1. You can
suppress syslog and provide a new severity for the alarm.
Note |
Before including syslog for the alarm, ensure that you enable the logging alarm command at the global level. To enable the logging alarms, use the logging alarm [critical | major | minor | informational] command.
|
Note |
You cannot provide the same profile name for chassis, card, or port.
|
Creating Alarm Profile for Chassis
To create the alarm profile CHASSIS, use the following commands:
router(config)#alarm profile CHASSIS chassis
router(config-alarm-profile)#alarm ds1
router(config-alarm-properties)#DS1_LOS suppress
router(config-alarm-properties)#DS1_LOS severity critical
router(config-alarm-properties)# ains
The command ains enables Auto In-Service (AINS) on the chassis.
Note |
When the alarm profile is attached to the chassis, all cards and ports on the chassis inherit the severity from the chassis
profile.
|
Creating Alarm Profile for Card
To create the alarm profile CARD, use the following commands:
router(config)#alarm profile CARD card
router(config-alarm-profile)#alarm ds1
router(config-alarm-properties)#DS1_LOS suppress
router(config-alarm-properties)#DS1_LOS severity major
router(config-alarm-properties)# ains
The command ains enables AINS on the card.
Note |
When the alarm profile is attached to a card, all ports on the card inherit the severity from the card profile.
|
Note |
If a chassis profile is already attached and if you want to have a separate profile for a card, you can still create a card
profile and attach it to that card. The card and all its ports inherit the properties of the card profile.
|
Creating Alarm Profile for Port
To create the alarm profile PORT, use the following commands:
router(config)#alarm profile PORT port
router(config-alarm-profile)#alarm ds1
router(config-alarm-properties)#DS1_LOS suppress
router(config-alarm-properties)#DS1_LOS severity major
router(config-alarm-properties)# ains
The command ains enables AINS on the port.
Note |
When the alarm profile attached to a port, only the port inherits the severity from the port profile.
|
Note |
If the chassis profile is already attached and if you want to have a separate profile for a port, you can still create a port
profile and attach it to that port. The port inherits the properties of the port profile.
|
Use Case 1
The following example explains default alarm profile having DS1_TX_AIS alarm with severity as MINOR and syslog is enabled,
and when the alarm is configured as suppressed with default severity, the alarm is not displayed under the show alarm profile command.
Use the following steps to suppress the default alarm profile:
-
Create a chassis profile, for example, chassis and verity that the DS1_TX_AIS alarm is listed under the show alarm profile chassis command.
-
Set the alarm DS1_TX_AIS as suppressed.
The alarm DS1_TX_AIS is not displayed under the show alarm profile chassis command.
Create chassis profile
Router#configure terminal
Router(config)#alarm-profile chassis chassis
Router(config-alarm-profile)#end
Router#show alarm profile chassis
Alarm profile chassis:
DS1:
Alarm Name Severity Syslog
Transmitter is sending AIS MINOR Enabled
Receiver has loss of signal CRITICAL Enabled
Receiver has loss of frame INFO Enabled
Receiver has remote alarm INFO INFO Enabled
Set the alarm DS1_TX_AIS as suppressed
Router(config)#alarm-profile chassis chassis
Router(config-alarm-profile)#alarm ds1
Router(config-alarm-properties)#DS1_TX_AIS suppress
Router(config-alarm-properties)#end
Note that the DS1_TX_AIS alarm is not displayed under the show alarm profile chassis command.
Router#show alarm profile chassis
Alarm profile chassis:
DS1:
Alarm Name Severity Syslog
Receiver has loss of signal CRITICAL Enabled
Receiver has loss of frame INFO Enabled
Receiver has remote alarm INFO Enabled
Use Case 2
The following example displays default profile having DS1_TX_AIS alarm with severity as MINOR and syslog enabled, and when
the alarm is configured as suppressed with severity set to INFO, the alarm is displayed under the show alarm profile command.
Use the following steps to change the DS1_TX_AIS alarm severity:
-
Create a chassis profile, for example, chassis.
-
Set the alarm DS1_TX_AIS as suppressed and alarm DS1_TX_AIS severity to INFO.
The alarm DS1_TX_AIS is displayed under the show alarm profile chassis command.
Create chassis profile
Router#configure terminal
Router(config)#alarm-profile chassis chassis
Router(config-alarm-profile)#end
Set the alarm DS1_TX_AIS as suppressed and severity to INFO
Router(config)#alarm-profile chassis chassis
Router(config-alarm-profile)#alarm ds1
Router(config-alarm-properties)#DS1_TX_AIS suppress
Router(config-alarm-properties)#DS1_TX_AIS severity INFO
Router(config-alarm-properties)#end
Note that the DS1_TX_AIS alarm is displayed under the show alarm profile chassis command.
Router#show alarm profile chassis
Alarm profile chassis:
DS1:
Alarm Name Severity Syslog
Transmitter is sending AIS MINOR Enabled
Receiver has loss of signal CRITICAL Enabled
Receiver has loss of frame INFO Enabled
Receiver has remote alarm INFO Enabled
Use Case 3
The following example displays default profile having DS1_LOF and DS1_RX_RAI alarms with severities as CRITICAL and MINOR
respectively. Using the chassis profile, you can set the DS1_LOF alarm severity to INFO and verify using the show alarm profile command. The show output displays the DS1_LOF as INFO and DS1_RX_RAI as MINOR.
Use the following steps to change the DS1_LOF alarm severity:
-
Create a chassis profile, for example, chassis.
-
Set the alarm DS1_LOF severity to INFO.
The alarm DS1_LOF is displayed under the show alarm profile chassis command.
Create a chassis profile
Router#configure terminal
Router(config)#alarm-profile chassis chassis
Router(config-alarm-profile)#end
Set the alarm DS1_LOF severity to INFO
Router(config)#alarm-profile chassis chassis
Router(config-alarm-profile)#alarm t1
Router(config-alarm-properties)#DS1_LOF severity INFO
Router(config-alarm-properties)#end
Note that the DS1_LOF alarm is displayed under the show alarm profile chassis command.
Router#show alarm profile chassis
Alarm profile chassis:
T1:
Alarm Name Severity Syslog
Transmitter is sending AIS MINOR Enabled
Receiver has loss of signal CRITICAL Enabled
Receiver has loss of frame INFO Enabled
Receiver has remote alarm MINOR Enabled
Use Case 4
The following example displays default profile having DS1_LOF and DS1_RX_RAI alarms with severities as CRITICAL and MINOR
respectively. Using the card profile, you can set the DS1_LOF alarm severity to MAJOR and verify using the show alarm profile command. The show output displays the DS1_LOF as MAJOR and DS1_RX_RAI as MINOR.
Use the following steps to change the DS1_LOF alam severity:
-
Create a card profile, for example, card.
-
Set the alarm DS1_LOF severity to MAJOR.
The alarm DS1_LOF with severity MAJOR is displayed under the show alarm profile command.
Create a card profile and set the alarm DS1_LOF severity to MAJOR
Router#configure terminal
Router(config)#alarm-profile card card
Router(config-alarm-profile)#alarm ds1
Router(config-alarm-properties)#DS1_LOF severity MAJOR
Router(config-alarm-properties)#end
Note that the DS1_LOF with severity MAJOR and DS1_RX_RAI with severity MINOR are displayed under the show alarm profile command.
Router#show alarm profile
Alarm profile card:
DS1:
Alarm Name Severity Syslog
Transmitter is sending AIS MINOR Enabled
Receiver has loss of signal CRITICAL Enabled
Receiver has loss of frame MAJOR Enabled
Receiver has remote alarm MINOR Enabled
Use Case 5
The following example displays default profile having DS1_LOF and DS1_RX_RAI alarms with severities as CRITICAL and MINOR
respectively. Using the port profile, you can set the DS1_LOF alarm severity to MAJOR and DS1_RX_RAI alarm severity to INFO.
Verify using the show alarm profile command. The show output displays the DS1_LOF as MAJOR and DS1_RX_RAI as INFO.
Use the following steps to change the DS1_LOF and DS1_RX_RAI alarm severities:
-
Create a port profile, for example, port.
-
Set the alarm severities DS1_LOF to MAJOR and DS1_RX_RAI to INFO.
The alarm DS1_LOF with severity MAJOR and DS1_RX_RAI with severity INFO are displayed under the show alarm profile command.
Create a port profile and set the alarm severities of DS1_LOF to MAJOR and DS1_RX_RAI to INFO
Router#configure terminal
Router(config)#alarm-profile port port
Router(config-alarm-profile)#alarm ds1
Router(config-alarm-properties)#DS1_LOF severity MAJOR
Router(config-alarm-properties)#DS1_RX_RAI severity MINOR
Router(config-alarm-properties)#end
Note that the DS1_LOF with severity MAJOR and DS1_RX_RAI with severity INFO are displayed under the show alarm profile command.
Router#show alarm profile
Alarm profile port:
DS1:
Alarm Name Severity Syslog
Transmitter is sending AIS MINOR Enabled
Receiver has loss of signal CRITICAL Enabled
Receiver has loss of frame MAJOR Enabled
Receiver has remote alarm INFO Enabled