- source-address address;
- [edit snmp trap-options]
Statement introduced before JUNOS Release 7.4.
Set the source address of every SNMP trap packet sent by this router to a single address regardless of the outgoing interface. If the source address is not specified, the default is to use the address of the outgoing interface as the source address.
address—Source address of SNMP traps. You can configure the source address of trap packets two ways: lo0 or a valid IPv4 address configured on one of the router interfaces. The value lo0 indicates that the source address of all SNMP trap packets will be set to the lowest loopback address configured at interface lo0.
See Configuring the Source Address for SNMP Traps.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.