alarm-port
Syntax
alarm-port { input port port-number { active { (high | low); } admin-state { (disabled | enabled); } description description; } severity { (critical | major | minor | warning) } output port port-number { admin-state { (disabled | enabled); } description description; } }
Hierarchy Level
[edit chassis]
Description
Configure an alarm input or output on the dedicated alarm port on the router. You can use the alarm input configuration to receive alarm inputs from the external devices such as sensors. You can use the alarm output configuration to relay the alarms in the router to external alarm devices. You can configure up to three alarm inputs and one alarm output.
Options
port-number | Specify the port number for the alarm input or output. The system supports up to three alarm input ports (port number: 1 to 3). The system supports only one alarm output port (port number: 1) |
active | Applicable only to alarm inputs. Configure a signal polarity for the alarm input based on the user environment. The alarm relay becomes operational when the input signal polarity is high or low based on this configuration. The following options are available.
|
admin-state | Specify the administrative state of the alarms.
|
description description | Provide a description for the alarm input or output. For example, you can provide a description to identify the device connected to the alarm port. |
severity | Applicable only to alarm inputs. Configure an alarm severity. The system supports the following alarm severities.
Note:
The system considers the alarm inputs configured with the critical or major severity as major alarms. The alarm inputs configured with the minor or warning severity are considered minor alarms.
|
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 20.2R1.