Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

service snmp trap-source <addr>

Specifies the IP address of the source of SNMP traps.

set service snmp trap-source addr
delete service snmp trap-source addr
show service snmp trap-source

By default, the system automatically selects the primary IP address of the interface facing the trap target.

addr
The IPv4 or IPv6 address of the source of SNMP traps.

This address is included as the source of SNMP traps in SNMP messages sent to an SNMP server. The address must be an address configured on a system interface.

Configuration mode


service {
	snmp {
		trap-source addr
	}
}

Use this command to specify the IPv4 or IPv6 address of the source of SNMP traps.

Use the set form of this command to specify the IP address of the source of SNMP traps.

Use the delete form of this command to remove a trap-source address and have the system select the source address automatically.

Use the show form of this command to view the trap-source addresses.