Configuring the Trap Target Address
The target address defines a management application's address and parameters that are used in sending notifications. It can also identify management stations that are allowed to use specific community strings. When you receive a packet with a recognized community string and a tag is associated with it, the JUNOS software looks up all the target addresses with this tag and verifies that the source address of this packet matches one of the configured target addresses.
NOTE: You must configure the address mask when you configure the SNMP community.
To specify where you want the traps to be sent and define what SNMPv1 and SNMP2vc packets are allowed, include the
target-addressstatement at the [edit snmp v3] hierarchy level:[edit snmp v3] target-addresstarget-address-name;
target-address-nameis the string that identifies the target address.To configure the target address properties, include the following statements at the
[edit snmp v3 target-addresstarget-address-name] hierarchy level:[edit snmp v3 target-addresstarget-address-name]addressaddress;address-maskaddress-mask;port <port-number>;tag-list [tag-list];target-parameterstarget-parameters-name;