alertentries -T system:mm[x] -recipient-number <-f filter-type> <-n recipient-name> <-status (on | off)> <-t snmp>
Command supported by JUNOS Release 9.1 and later.
(JCS management module CLI) Display or configure the recipients of SNMP alerts generated by the JCS management module.
-T system:mm[x]—Specify a JCS management module as the command target. Replace x with the primary management module number (1 or 2).
-recipient-number—Create or specify an alert recipient. Each alert recipient you create must have a unique number (1 through 12).
-f filter-type—(Optional) Filter the type of alerts received by the alert recipient. Replace filter-type with a value of critical (receive critical alerts only) or none (no filtering, receive all alerts).
-n recipient-name—(Optional) Specify the name of the alert recipient. Recipient names can be up to 31 characters in length. The name can include any character (including spaces), except for less than (<) and greater than (>) symbols.
-status (on | off)—(Optional) Set alert status for the specified alert recipient. When the status is on, the recipient receives alarm notifications. When the status is off, the recipient does not receive alarm notifications.
-t snmp—(Optional) Sets SNMP as the alert notification method for the specified alert recipient.
operator (display)
supervisor (display or configure)
Table 7 lists the output fields for the alertentries command. Output fields are listed in the approximate order in which they appear.
Table 7: alertentries Output Fields
system> alertentries -T system:mm[1] -2—status on -n test1 -f critical -t snmp
system> alertentries -T system:mm[1] -3 -f none
-n trap -status on -t snmpOK