Modifying the SNMP Engine ID


Netvisor One allows you to modify the SNMP Engine ID and retrieve previous SNMP agent information for a switch no longer in use.


If you have to remove a switch from the network, you can modify the SNMP Engine ID to use the old SNMP Engine ID so Netvisor One can query and maintain the same history records for the new switch.


CLI (network-admin@Spine1) snmp-engineid-modify


engineid string

Specify the 28 character unique ID for the SNMP engine.


snmp-engineid-modify engineid 0x80001f8880077f7820da49395a00000000


Warning: All SNMP users will be erased.

 

Please confirm y/n (Default: n):y

Modified snmp engineID, Deleted all SNMP users.Please re-create SNMP users.

 

Supported MIBs


Netvisor One customized MIBs:


  • IfTable
  • IfXTable
  • EntPhySensorTable


Additional commands that support SNMPv1, SNMPv2, and SNMPv3:


  • snmp-engineid-show — The SNMP engine ID is a unique string of 24 characters that identifies the device for administrative purposes. This command displays the identification of the local SNMP engine and all remove engines configured on the switch. 
  • snmp-trap-enable-modify — Used to enable notifications about link conditions and common system errors. This is used with the snmp-monitor commands. 
  • snmp-trap-enable-show — Display enabled SNMP traps.
  • snmp-trap-sink-create — Used to specify a SNMPv1 trap receiver.
  • snmp-trap-sink-delete — Delete SNMP trap sinks.
  • snmp-trap-sink-modify — Modify SNMP trap sinks.
  • snmp-trap-sink-show — Display SNMP trap sinks.
  • snmp-v3-trap-sink-create — Used to specify a SNMPv3 trap receiver. 
  • snmp-v3-trap-sink-delete — Used to delete a SNMPv3 trap receiver.
  • snmp-v3-trap-sink-modify — Used to modify a SNMPv3 trap receiver.
  • snmp-v3-trap-sink-show — Used to display a SNMPv3 trap receiver.


 Traps (MIBs) for Link Congestion


SNMP MIBs send traps when a link is congested and when a node state in the fabric changes are now supported by Netvisor One.


Link congestion can be detected when there are ingress or egress packets are dropped due to link congestion. Netvisor One logs this information into the system logs and you can enable Netvisor One to send “Link Congestion detected” SNMP traps.


When a fabric node is detected as dead or keepalives are detected, the previous state of the node is checked and determined if the previous state was online or offline. Traps are then sent out as “Node status changed.”


To enable the traps, use the snmp-trap-enable-modify command:


CLI (network-admin@Spine1)snmp-trap-enable-modify


One or more of the following options:


link-up-down|no-link-up-down

Specify if you want to enable a link up|down trap.

default-monitors|no-default-monitors

Specify if you want to enable a default monitoring trap.

physical-sensors|no-physical-sensors

Specify if you want to enable a physical sensor trap.

low-disk-space|no-low-disk-space
low-disk-space-threshold-string

Specify if you want to enable a low disk space trap.

system-usage|no-system-usage

Specify if you want to enable a system usage trap.

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

Specify if you want to enable a low disk space trap.

login-failure|no-login-failure

Specify if you want to enable login failure trap.

lacp-status|no-lacp-status

Specify if you want to enable a LACP trap.

vport-modified|no-vport-modified 

Specify if you want a enable a trap when a vPort is modified.

mirror-to-cpu|no-mirror-to-cpu

Specify if you want a mirror to CPU trap.

stp-port-state-failed|
no-stp-port-state-failed

Specify if you want to enable a trap when the STP port state is failed.

link-congestion-detected|
no-link-congestion-detected

Specify if you want to enable a trap when a link congestion state is detected.

fabric-node-state-changed|no-fabric-node-state-changed

Specify if you want a trap send when a fabric node state changes.