System alarm contact commands

alarm-contact-input

Syntax

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

Context

config>system>alarm-contact-input

Platforms

Supported on all 7210 SAS platforms as described in this document

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

console-1 (when using console as alarm input pin) (7210 SAS-D, 7210 SAS-Dxp 12p, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C)

1 to 3 (7210 SAS-Dxp 16p and 7210 SAS-Dxp 24p)

alarm-output-severity

Syntax

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

Context

config>system>alarm-contact-input

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command relays 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 pins is triggered, and the system clears alarm-contact output only when all the alarm-contact input pins are cleared.

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.

The no form of this command reverts to the default value.

Default

alarm-output-severity 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.

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

Supported on all 7210 SAS platforms as described in this document

Description

This command configures 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 causes the system to not generate a trap or log.

Parameters

alarm-msg-text

Specifies a printable character string, up to 80 characters.

description

Syntax

description description-string

no description

Context

config>system>alarm-contact-input

Platforms

Supported on all 7210 SAS platforms as described in this document

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 identify the purpose of the pin.

The no form of this command removes the description string.

Parameters

description-string

Specifies the description character string, up to 80 characters.

normal-state

Syntax

normal-state [open | closed]

Context

config>system>alarm-contact-input

Platforms

Supported on all 7210 SAS platforms as described in this document

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.

Default

normal-state open

Parameters

open

Specifies that the normal state is identified as ‟open”. 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 that the normal state is identified as ‟closed”. 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

Supported on all 7210 SAS platforms as described in this document

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

Supported on all 7210 SAS platforms as described in this document

Description

This command configures a text message for use with an 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 causes the system to not generate a trap or log.

Parameters

alarm-msg-text

Specifies a printable character string, up to 80 characters.