Enabling SNMP Traps

To enable SNMP traps, you must:

  1. Setup the destination host. Use separate commands for SNMPv1 or SNMPv2c and SNMPv3 to setup the destination host.
  2. Enable the SNMP traps to be sent.

To setup the destination host for SNMPv1 or SNMPv2c, use the command:

CLI (network-admin@switch) > snmp-trap-sink-create community community-string [type TRAP_TYPE_V1_TRAP|TRAP_TYPE_V2C_TRAP|TRAP_TYPE_V2_INFORM] dest-host dest-host-string [dest-port dest-port-number]        

community community-string

Specify the community type.


Specify the trap type. The default trap is: TRAP_TYPE_V2C_TRAP.

dest-host dest-host-string

Specify the destination host.

[dest-port dest-port-number]

Specify the destination port. The default port number is 162.

For example, to create a community test1, with destination host as lyra10.pluribusnetworks.com and trap type as TRAP_TYPE_V1_TRAP, use the command:

CLI (network-admin@switch) > snmp-trap-sink-create community test1 dest-host lyra10.pluribusnetworks.com type TRAP_TYPE_V1_TRAP

This command sends the SNMPv1 traps to a receiver on the host lyra10 with the community string test1.

To setup the destination host for SNMPv3 trap receiver, use the command:

CLI (network-admin@switch) > snmp-v3-trap-sink-create user-name user-name-string [type TRAP_TYPE_V3_TRAP|TRAP_TYPE_V3_INFORM] dest-host dest-host-string [dest-port dest-port-number]

user-name user-name-string

Specify the user name for the SNMPv3 trap.


Specify the SNMPv3 trap type.

dest-host dest-host-string

Specify the destination host.

[dest-port dest-port-number]

Specify the destination port number. The default port number is 162

For example, to configure SNMPv3 traps for a user: test2,  destination host as lyra10.pluribusnetworks.com and with authentication enabled, use the command:

CLI (network-admin@switch) > snmp-v3-trap-sink-create user-name test2 dest-host lyra10.pluribusnetworks.com auth

This command configures the traps to be sent to lyra10 with the username test2, engine id 0xABCDEF and with authentication enabled. You will be prompted for an authentication password with this command.

After configuring the destination, you must enable the type of traps to be sent using the command:

CLI (network-admin@switch) > snmp-trap-enable-modify

Specify one or more of the following options:


Specify the port link state as up or down.


Specify the vrouter interface status.


Specify the default monitoring.


Specify the temperature, fan speed.


Specify the allowed low disk space.

low-disk-space-threshold low-disk-space-threshold-string

Specify the Threshold value of low-disk-space in %.


Specify the Memory and CPU usage.

high-system-usage-threshold high-system-usage-threshold-string

Specify the Threshold value of

system-usage in %.


Specify failure on Incorrect passwords during login.


Specify when the cluster transaction lists have diverged.


Specify the LACP status.


Specify when vPort modification happens.


Specify when STP port is modified.


Specify when Mirror to CPU configured.


Specify when STP Port State Failed.


Specify when Congestion detected at port.


Specify when Fabric Node State Changed.


Specify when New STP Root Detected.


Specify when STP Topology Changed


Specify when VRRP Master Change.


Specify when Disable Start/Stop Traps.


Specify whether to monitor  the expiry of the Netvisor ONE certificates ( shipped with the switches)  or not.  

The above command enables the notifications to be sent out when a link changes the state to up or down.

Further, You can enable to collect system log messages and SNMP trap notifications for the following events when:

  • Physical Interface is Up/Down
  • Data/vRouter Interface is Up/Down
  • CPU usage is higher than 70%
  • Memory Utilization is higher than 70%
  • Disk Utilization is when higher than 70%
  • STP port is modified
  • vPort is modified
  • LAG/vLAG status changes
  • Mirror to CPU vFlow is configured