home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Specifying trap destinations

After you specify an SNMP trap for a particular protocol, you must specify the SNMP trap destination as one or some of the configured SNMP managers.

With reference to the figure Configuring SNMP communities and traps, the following configuration example shows how to direct the system R1 to send SNMP traps to the configured network managers at 176.16.0.15, 176.16.0.16, and 176.16.0.17.

Table 1. Specifying SNMP trap destinations

Step

Command

Define the trap destinations, one at a time.

vyatta@R1# set service snmp trap-target 176.16.0.15
vyatta@R1# set service snmp trap-target 176.16.0.16
vyatta@R1# set service snmp trap-target 176.16.0.17

Commit the change.

vyatta@R1# commit

Verify the configuration.

vyatta@R1# show service snmp trap-target
 trap-target 176.16.0.15 {
 }
 trap-target 176.16.0.16 {
 }
 trap-target 176.16.0.17 {
 }