Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

trap target

snmp trap target—Configure the target SNMP server to receive the SNMP traps generated by this device.

For each trap generated by a Viptela device, the device also generates a notification message. Use the show notification stream viptela command to display these messages.

vManage Feature Template

For all Viptela devices:

Configuration ► Templates ► SNMP

Command Hierarchy

snmp
  trap
    target vpn vpn-id ipv4-address udp-port
      community-name community-name
      group-name name
      source-interface interface-name

Options

Community Name
community-name community-name
Name of an SNMP community configured with the community command.
Group Name
group group-name
Name of a trap group configured with the trap group command.
Interface To Reach Target
source-interface interface-name
Interface to use to send traps to the SNMP server that is receiving the trap information. This interface cannot be a subinterface.
Trap Target
vpn vpn-id ipv4-address udp-port
Location of the SNMP server to receive the trap information. You must specify the following:
vpn vpn-id—Number of the VPN to use to reach to the SNMP server. It can be a value from 0 through 65530.
ipv4-address—IPv4 address of the SNMP server.
udp-port—UDP port number to connect to on the SNMP server. The number can be a value from 1 through 65535.

Operational Commands

show running-config snmp

Example

Configure trap groups and associate them with SNMP trap servers:

vEdge# show running-config snmp 
snmp
 no shutdown
 view v2
  oid 1.3.6.1
 !
 community private
  view          v2
  authorization read-only
 !
 trap target vpn 0 10.0.100.1 162
  group-name     test
  community-name private
  source-interface eth0
 !
 trap target vpn 0 10.0.100.1 16662
  group-name     test
  community-name private
  source-interface eht0
 !
 trap group test
  all
   level critical major minor
  !
 !
!

Release Information

Command introduced in Viptela Software Release 15.2.
In Release 16.2, add source-interface option.

Additional Information

See the Configuring SNMP article for your software release.
show notification stream viptela
trap group

  • Was this article helpful?