Use the following CLI syntax to configure the external alarm parameters for the Auxiliary Alarm card, 7705 SAR Ethernet ports (supported on all platforms with Ethernet ports), and for the four alarm inputs on the fan module (for the 7705 SAR-8 Shelf V2), alarm connector (for the 7705 SAR-M, 7705 SAR-Wx, 7705 SAR-H, 7705 SAR-Hc, and 7705 SAR-X), and alarm module (for the 7705 SAR-18).
The output commands apply to the Auxiliary Alarm card only. The debounce and normally commands do not apply to external alarm parameters configured on an Ethernet port.
config# external-alarms
alarm
alarm-id
chassis-alarming
description description-string
log
severity {critical | major | minor | warning}
thresholds
analog
level {lt | gt} millivolts
exit
trigger [any | all] {alarm-input1 | alarm-input2... | alarm-input8}
exit
input alarm-input
debounce seconds
debounce detect detect-seconds clear clear-seconds
description description-string
name name-string
normally {open | closed}
shutdown
exit
output alarm-output
description description-string
name name-string
shutdown
config# external-alarms input alarm.d-1
config# external-alarms input alarm.d-2
config# external-alarms input alarm.d-3
config# external-alarms input alarm.d-4
config# external-alarms input alarm-1/1.d-1 name dinput1
config# external-alarms input alarm-1/1.d-2 name dinput2
config# external-alarms input alarm-1/1.d-3 name dinput3
config# external-alarms input alarm-1/1.d-4 name dinput4
config# external-alarms input alarm-1/1.d-5 name dinput5
config# external-alarms input alarm-1/1.d-23 name dinput23
config# external-alarms input alarm-1/1.d-24 name dinput24
config# external-alarms output alarm-1/1.d-1 name dinput11
config# external-alarms output relay-1/1.d-2 name output2
config# external-alarms output relay-1/1.d-3 name output3
config# external-alarms output relay-1/1.d-4 name output4
config# external-alarms output relay-1/1.d-5 name output5
config# external-alarms output relay-1/1.d-2 name output2
config# external-alarms output relay-1/1.d-3 name output3
config# external-alarms output relay-1/1.d-4 name output4
config# external-alarms output relay-1/1.d-5 name output5
config>ext-alarms# alarm 1
config>ext-alarms>alarm# chassis-alarming
config>ext-alarms>alarm# log
config>ext-alarms>alarm# trigger all alarm-1/1.d-1 alarm-1/1.d-2 alarm-1/1.d-3 alarm-1/1.d-4 alarm-1/1.d-5 alarm-1/1.a-1
config>ext-alarms>alarm# exit
config>ext-alarms# alarm 2
config>ext-alarms>alarm# chassis-alarming
config>ext-alarms>alarm# no log
config>ext-alarms>alarm# trigger all alarm-1/1.d-1 alarm-1/1.d-2 alarm-1/1.d-3 alarm-1/1.d-4 alarm-1/1.d-23 alarm-1/1.d-24 alarm-1/1.a-1 alarm-1/1.a-2
config>ext-alarms>alarm# exit
config>ext-alarms# alarm 3
config>ext-alarms>alarm# chassis-alarming
config>ext-alarms>alarm# log
config>ext-alarms>alarm# trigger any alarm-1/1.d-1 alarm-1/1.d-2 alarm-1/1.d-3 alarm-1/1.d-4 alarm-1/1.d-5 alarm-1/1.a-1 alarm-1/1.a-2 alarm.d-1 alarm.d-2
config>ext-alarms>alarm# exit
config>ext-alarms# alarm 4
config>ext-alarms>alarm# chassis-alarming
config>ext-alarms>alarm# log
config>ext-alarms>alarm# trigger any alarm-1/1.a-1 alarm-1/1.a-2 alarm.d-1 alarm.d-2 alarm.d-3 alarm.d-4
config>ext-alarms>alarm# severity major
config>ext-alarms>alarm# thresholds
config>ext-alarms>alarm>thresholds# analog level lt 4
config>ext-alarms>alarm>thresholds# exit
config>ext-alarms>alarm# exit
config>ext-alarms# exit
The following CLI syntax shows an example of configuring custom alarms on Ethernet ports.
config# external-alarms input port-1/1/5
config>ext-alarms>in# name ‟CABINET-DOOR”
config>ext-alarms>in# description ‟Front Panel Access Door Sensor”
config>ext-alarms>in# exit
config# external-alarms input port-1/1/6
config>ext-alarms>in# name ‟REAR-PANEL”
config>ext-alarms>in# description ‟Rear Maintenance Panel Sensor”
config>ext-alarms>in# exit
config# external-alarms alarm 1
config>ext-alarms>alarm# description ‟Local Security Breach”
config>ext-alarms>alarm# trigger ‟CABINET-DOOR” ‟REAR-PANEL”
config>ext-alarms>alarm# severity critical
config>ext-alarms>alarm# no shutdown
config>ext-alarms>alarm# exit
Use the show external-alarms input command to display Ethernet port alarm input information.
*NOK-A# show external-alarms input
===========================================================================
External Alarm Input Summary
===========================================================================
Input Id Name Type Admin Value Alarm State
---------------------------------------------------------------------------
alarm.d-1 Digital-In Up Open Ok
alarm.d-2 Digital-In Up Open Ok
alarm.d-3 Digital-In Up Open Ok
alarm.d-4 Digital-In Up Open Ok
port-1/5/1 CABINET-DOOR Oper-State Up Down Alarm-Detected
port-1/6/1 REAR-PANEL Oper-State Up Up Ok
===========================================================================