- trap-options {
- agent-address outgoing-interface;
- source-address address;
- }
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 on the contents of SNMPv1 traps, see RFC 1157.
The remaining statements are explained separately.
Disabled
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.