System alarm contact commands

alarm-contact-in-power

Syntax

alarm-contact-in-power {on | off}

Context

config>system

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command allows the user to enable a supply of +24V power to the alarm input. With this feature, users can use the power supplied through the alarm input pin to supply power to the external sensor devices, and Equipment cabinet door sensors, and so on connected to the alarm input, instead of using an external power source for the external sensor devices.

If the users want to use an external power source, they disable the supply of power to the alarm input pin by using this command. By default, power is not supplied to the alarm input pin

Note:

Read the 7210 SAS device specific Installation Guides for a description of how to connect the external sensor devices to use this capability.

Default

off

Parameters

on

Keyword to turn on power to the alarm input pin.

off

Keyword to turn off power to the alarm input pin.

alarm-contact-input

Syntax

alarm-contact-input alarm-contact-input-id

Context

config>system

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

Commands in this context configure one of four available alarm contact input pins.

Parameters

alarm-contact-input-id

Specifies the alarm contact input pin.

Values

1 to 4 (7210 SAS-T and 7210 SAS-Mxp)

Values

1 to 3 (7210 SAS-R6 and 7210 SAS-R12)

alarm-output-severity

Syntax

[no] alarm-output-severity {critical | major | minor | none}

Context

config>system>alarm-contact-input

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command allows the user to relay alarms from the alarm-contact input to the alarm-contact output by associating an appropriate alarm-contact output with the alarm-contact input. The system generates or clears the alarm-contact output when it triggers or clears the alarm for the associated alarm-contact input.

If multiple alarm-contact input pins share an alarm-contact output, the system generates the alarm-contact output even if any one of the alarm-contact input is triggered and the system clears alarm-contact output only when all the alarm-contact input pins are cleared.

The severity parameter configured by the user determines the appropriate alarm-contact output to be used for generation and clearing the alarm.

Note:

The system relays the alarm-contact input to the appropriate alarm-contact output only if the alarm-contact output is available on the platform.

Default

major

Parameters

critical

Specifies that a critical alarm output is generated or cleared.

major

Specifies that a major alarm output is generated or cleared.

minor

Specifies that a minor alarm output is generated or cleared. This parameter is only supported on 7210 SAS-T and 7210 SAS-Mxp.

none

Specifies that no alarm output is generated or cleared.

clear-alarm-msg

Syntax

[no] clear-alarm-msg {alarm-msg-text}

Context

config>system>alarm-contact-input

Platforms

7210 SAS-T network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command allows the user to configure a text message for use along with SNMP trap and Log message that are sent when the system clears an alarm. The system generates a default message if the message is not configured.

The no form of this command removes the configured alarm clear message.

Parameters

alarm-msg-text

Specifies a printable character string, up to 160 characters.

description

Syntax

description description-string

Context

config>system>alarm-contact-input

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command describes an alarm contact input pin. The description provides an indication of the usage or attribute of the pin. It is stored in the CLI configuration file and helps the user in identifying the purpose of the pin.

normal-state

Syntax

normal-state [open | closed]

Context

config>system>alarm-contact-input

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command configures the normal state to be associated with the alarm-contact input. When the system detects a transition from the normal state, an alarm is generated. The alarm is cleared when the system detects a transition is back to the normal state.

Parameters

open

Specifies an open normal-state. When the system detects a transition to the closed state, an alarm is generated. The alarm is cleared when the system detects a transition back to the open state.

closed

Specifies a closed normal-state. When the system detects a transition to the open state, and alarm is generated. The alarm is cleared when the system detects a transition back to the closed state.

shutdown

Syntax

[no] shutdown

Context

config>system>alarm-contact-input

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command stops tracking the state changes associated with the alarm contact input.The system does not generate or clear the alarms for the alarm-contact input, but if an alarm is generated for the alarm-contact-input, the system clears the alarm when the shutdown command is executed.

The no form of this command starts tracking the state changes associated with the alarm contact input.

Default

shutdown

trigger-alarm-msg

Syntax

[no] trigger-alarm-msg {alarm-msg-text}

Context

config>system>alarm-contact-input

Platforms

7210 SAS-T (network and access-uplink), 7210 SAS-Mxp, 7210 SAS-R6 and 7210 SAS-R12

Description

This command allows the user to configure a text message for use along with SNMP trap and Log message that are sent when the system generates an alarm. The system generates a default message if the message is not configured.

The no form of this command removes the configured alarm trigger message.

Parameters

alarm-msg-text

Specifies a printable character string, up to 160 characters.