Configuring the Agent Address for SNMP Traps
The agent address
is only available in the SNMPv1 trap packets (see RFC 1157). By default, the router's default local address is used in the agent address field of the SNMPv1 trap. To configure the agent address, include theagent-addressstatement at the [edit snmp trap-options] hierarchy level. Currently, the agent address can only be the address of the outgoing interface:[edit snmp]trap-options {agent-address outgoing-interface;}