- trap-options {
-
agent-address outgoing-interface;
-
source-address address;
- }
- [edit snmp]
Statement introduced before JUNOS Release 7.4.
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.
See Configuring SNMP Trap Groups.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.