Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security alarms

Syntax

Description

Display the alarms that are active on the device. Run this command when the CLI prompt indicates that a security alarm has been raised, as shown here:

Options

none

Display all active alarms.

detail

(Optional) Display detailed output.

alarm-id id-number

(Optional) Display the specified alarm.

alarm-type [ types ]

(Optional) Display 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) Display active alarms that were raised after the specified date and time.

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

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

process process

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

severity severity

(Optional) Display 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

Table 1 lists the output fields for the show security alarms command. Output fields are listed in the approximate order in which they appear. Field names might be abbreviated (as shown in parentheses) when no level of output is specified or when the detail keyword is used.

Table 1: show security alarms

Field Name

Field Description

Level of Output

ID

Identification number of the alarm.

All levels

Alarm time

Date and time the alarm was raised..

All levels

Message

Information about the alarm, including the alarm type, username, IP address, and port number.

All levels

Process

System process (For example, login or sshd) and process identification number associated with the alarm.

detail

Severity

Severity level of the alarm.

detail

Sample Output

show security alarms

show security alarms detail

show security alarms alarm-id

show security alarms alarm-type authentication

show 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.