Configuring the Trap Notification
The
notifystatement specifies the type of notification (trap) and contains a single tag. The tag defines a set of target addresses to receive a trap. The tag list contains one or more tags and is configured at the[edit snmp v3 target-addresstarget-address-name] hierarchy level. If the tag list contains this tag, the JUNOS software sends a notification to all the target addresses associated with this tag.To configure the trap notifications, include the
notifystatement at the[edit snmp v3]hierarchy level:[edit snmp v3]notifyname{tagtag-name;type trap;}
nameis the name assigned to the notification.
tag-namedefines the target addresses that are sent this notification. All the target-addresses that have this tag in their tag list are sent this notification. Thetag-nameis not included in the notification.
trapis the type of notification.
NOTE: Each notify entry name must be unique.
The JUNOS software supports only one type of notification: trap.
For information about how to configure the tag list, see Configuring the Tag List.