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.

service snmp trap-target <addr>

Specifies the IP address and port of the destination for SNMP traps.

set service snmp trap-target addr [ community community | port port]
delete service snmp trap-target addr [ community community | port ]
show service snmp trap-target addr [ community community | port ]
addr
Optional. Multi-node. The IPv4 or IPv6 address of the destination for SNMP traps.

You can specify multiple destinations for SNMP traps by creating multiple trap-target configuration nodes. Or, you can enter a space-separated list of IP addresses.

community
The community used when sending trap information. The default community is public.
port
The destination UDP port used for trap notification. The default port is 162.

Configuration mode


service {
	snmp {
		trap-target addr {
			community community
			port port
		}
	}
}

Use this command to specify the IPv4 or IPv6 address and port of the destination for SNMP traps as well as the community used when sending trap information.

Use the set form of this command to specify trap-target parameters.

Use the delete form of this command to remove trap-target parameters.

Use the show form of this command to view the trap-target configuration.