[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring SNMP Trap Options

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 the SNMPv1 traps. For more information on the contents of SNMPv1 traps, see RFC 1157.

NOTE: SNMP cannot be associated with any routing instances other than the master routing instance.


To configure SNMP trap options, include the trap-options statement at the [edit snmp] hierarchy level:

[edit snmp]
trap-options {
    agent-address outgoing-interface;
    source-address address;
}

You must also configure a trap group for the trap options to take effect. For information about trap groups, see Configuring SNMP Trap Groups.

This section contains the following topics:


[Contents] [Prev] [Next] [Index] [Report an Error]