Vyatta NOS documentation

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

service snmp v3 trap-target <addr> port <port>

Specifies the port on a trap target that SNMP traps and to which informs are sent.

set service snmp v3 trap-target addr port port
delete service snmp v3 trap-target addr port
show service snmp v3 trap-target addr port

The trap target uses port 162.

addr
The IPv4 or IPv6 address of the SNMPv3 trap target.
port
The port to which SNMPv3 traps and informs are sent. The range of values is 1 to 65535. The default value is 162.

Configuration mode


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

Use this command to specify the port on a trap target that SNMP traps to which informs are sent.

Use the set form of this command to specify the port on a trap target that SNMP traps to which informs are sent.

Use the delete form of this command to remove the ports specified and return the system to using the default port.

Use the show form of this command to view the port configuration.