[an error occurred while processing this directive][an error occurred while processing this directive]



trap-options {agent-address outgoing-interface;source-address address;}

Hierarchy Level

[edit snmp]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.


Using SNMP trap options, you can set the source address of every SNMP trap packet sent by the router to a single address, regardless of the outgoing interface. In addition, you can set the agent address of each SNMPv1 trap. For more information about the contents of SNMPv1 traps, see RFC 1157.

The remaining statements are explained separately.



Required Privilege Level

snmp—To view this statement in the configuration.

snmp-control—To add this statement to the configuration.

Published: 2010-04-27

[an error occurred while processing this directive]