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

To configure the destination of trap and inform notifications, specify the IP address (IPv4 or IPv6) of the SNMPv3 trap target and the name of the SNMPv3 user at the trap target. To authenticate the SNMPv3 user at the trap target, specify the service snmp v3 trap-target addr auth [ encrypted-key | plaintext-key ] passwd command. To encrypt the notifications at the trap target, specify the service snmp v3 trap-target addr privacy [ encrypted-key | plaintext-key ] passwd command.

By default, the vRouter sends inform notifications to trap targets.

The following table shows an example of the vRouter configured to send SNMP traps to the configured SNMP manager at 172.18.93.86.

To specify trap destinations, SNMPv3 user names at the trap target, and security keys, perform the following steps in configuration mode.

Table 1. Specifying trap destinations, SNMPv3 user names and security keys

Step

Command

Specify the IP address of the trap target and the clear-text password used for authenticating the user at the trap target.

Note: The clear-text password is stored in the system in this form.

vyatta@R1# set service snmp v3 trap-target 172.18.93.86 auth plaintext-key password7

Optional. Specify the IP address of the trap target and the clear-text password used to encrypt the traps and informs.

Note: The clear-text password is stored in the system in this form.

vyatta@R1# set service snmp v3 trap-target 172.18.93.86 privacy plaintext-key password8

Specify the type of notifications to send to the trap target.

vyatta@R1#set service snmp v3 trap-target 72.18.93.86 type trap

Specify the SNMP engine ID of the SNMPv3 trap target.

Note: If the service snmp v3 trap-target addr type type command is set to trap, you must also the specify the engine ID of the SNMPv3 trap target using service snmp v3 trap-target addr engineid engineid command.
vyatta@R1# set service snmp v3 trap-target 172.18.93.86 engineid 80001f8880634bd405730cdc50

Specify the IP address of the trap target and the username at the trap target.

vyatta@R1# set service snmp v3 trap-target 172.18.93.86 user Adminuser

Commit the change.

vyatta@R1# commit

Verify the configuration.

vyatta@R1:~$ show snmp v3 trap‐target
SNMPv3 Trap-targets:
Trap-target                   Port   Protocol Auth Priv Type   EngineID                 User
-----------                   ----   -------- ---- ---- ----   --------                 ----
172.18.93.86               162    udp      md5       trap 80001f8880634bd405730... Administrator