Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear security alarms

Syntax

Description

Clear (acknowledge) the alarms that are active on the device.

Options

all

(Optional) Clear all active alarms.

alarm-id id-number

(Optional) Clear the specified alarm.

alarm-type [ types ]

(Optional) Clear the specified alarm type or a set of types.

You can specify one or more of the following alarm types:

  • authentication

  • cryptographic-self-test

  • decryption-failures

  • encryption-failures

  • ike-phase1-failures

  • ike-phase2-failures

  • key-generation-self-test

  • non-cryptographic-self-test

  • policy

  • replay-attacks

newer-than YYYY-MM-DD.HH:MM:SS

(Optional) Clear active alarms that were raised after the specified date and time.

older-than YYYY-MM-DD.HH:MM:SS

(Optional) Clear active alarms that were raised before the specified date and time.

process process

(Optional) Clear active alarms that were raised by the specified system process.

severity severity

(Optional) Clear active alarms of the specified severity.

You can specify the following severity levels:

  • alert

  • crit

  • debug

  • emerg

  • err

  • info

  • notice

  • warning

Required Privilege Level

security—To view this statement in the configuration.

Output Fields

This command produces no output, except a statement about the number of security alarms cleared.

Sample Output

clear security alarms all

clear security alarms alarm-id <alarm-id>

clear security alarms alarm-type authentication

clear security alarms newer-than <time>

show security alarms older-than <time>

show security alarms process <process>

show security alarms severity <severity>

Release Information

Command introduced in Junos OS Release 11.2.