[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring Alarms with a Configuration Editor

To configure interface alarms on a device, you must select the network interface on which to apply an alarm and the condition you to trigger the alarm. For a list of conditions, see Interface Alarm Conditions.

To configure interface alarms:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 172.
  3. If you are finished configuring the network, commit the configuration.
  4. To verify the alarms configuration, see Displaying Alarm Configurations.
  5. To check the status of active alarms, see Checking Active Alarms.

Table 172: Configuring Interface Alarms

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Alarm level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Chassis, click Configure or Edit.
  3. Next to Alarm, click Configure or Edit.

From the [edit] hierarchy level, enter

edit chassis alarm

Configure the system to generate a red interface alarm when a Yellow alarm is detected on a T1 (DS1) link.

  1. In the Ds1 field, click Configure.
  2. From the Ylw list, select red.
  3. Click OK.

Enter

set ds1 ylw red

Configure the system to generate a red interface alarm when a link down failure is detected on an Ethernet link.

  1. In the Ethernet field, click Configure.
  2. From the Link down list, select red.
  3. Click OK.

Enter

set ethernet link–down red

Configure the system to generate the following interface alarms on a serial link:

  • Yellow alarm when no CTS signal is detected
  • Yellow alarm when no DCD signal is detected
  • Red alarm when the receiver clock is not detected
  • Red alarm when the transmission clock is not detected
  1. In the Serial field, click Configure.
  2. From the Cts absent list, select yellow.
  3. From the Dcd absent list, select yellow.
  4. From the Loss of rx clock list, select red.
  5. From the Loss of tx clock list, select red.
  6. Click OK.
  1. Enter

    set serial cts–absent yellow

  2. Enter

    set serial dcd–absent yellow

  3. Enter

    set serial loss–of–rx–clock red

  4. Enter

    set serial loss–of–tx–clock red

Configure the system to generate the following interface alarms on a T3 link:

  • Red alarm when the remote endpoint is experiencing a Red failure
  • Yellow alarm when the upstream bit stream has more consecutive zeros than are permitted
  • Red alarm when there is a loss of signal on the interface
  1. In the T3 field, click Configure.
  2. From the Ylw list, select red.
  3. From the Exz list, select yellow.
  4. From the Los list, select red.
  5. Click OK.
  1. Enter

    set t3 ylw red

  2. Enter

    set t3 exz yellow

  3. Enter

    set t3 los red

Configure the system to display active system alarms whenever a user with the login class admin logs in to the device.

To define login classes, see the JUNOS System Basics Configuration Guide.

  1. On the main Configuration page next to System, click Configure or Edit.
  2. Next to Login, click Configure or Edit.
  3. In the Class field, click Add new entry.
  4. In the Class name field, type admin.
  5. Select the Login alarms check box.
  6. Click OK.
  1. Enter

    edit system login

  2. Enter

    set class admin login-alarms


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]