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.

SNMP over IPv6

This sequence is the same as the previous example but uses IPv6 addresses. When you have finished, the system is configured as shown in the following figure.

Figure 1. Configuring SNMP communities and traps - IPv6

To define the SNMP configuration, perform the following steps in configuration mode.

Table 1. Defining the SNMP configuration

Step

Command

Create the snmp configuration node and the community configuration node. Set the community string.

vyatta@R1# set service snmp community abc123

List the SNMP clients making up this community.

vyatta@R1# set service snmp community abc123 client 2001:db8:2::15
vyatta@R1# set service snmp community abc123 client 2001:db8:2::16
vyatta@R1# set service snmp community abc123 client 2001:db8:2::17

Set the privilege level for this community to read-only.

vyatta@R1# set service snmp community abc123 authorization ro

Define the trap destinations, one at a time.

vyatta@R1# set service snmp trap-target 2001:db8:2::15
vyatta@R1# set service snmp trap-target 2001:db8:2::16
vyatta@R1# set service snmp trap-target 2001:db8:2::17

Commit the change.

vyatta@R1# commit

Verify the configuration.

vyatta@R1# show service snmp
 community abc123 {
	authorization ro
	client 176.16.0.15
	client 176.16.0.16
	client 176.16.0.17
	client 2001:db8:2::15
	client 2001:db8:2::16
	client 2001:db8:2::17
 }
 trap-target 176.16.0.15 {
 }
 trap-target 176.16.0.16 {
 }
 trap-target 176.16.0.17
 }
 trap-target 2001:db8:2::15 {
 }
 trap-target 2001:db8:2::16
 }
 trap-target 2001:db8:2::17 {
 }