Configuring SNMP

Netvisor ONE supports SNMP v1, v2, and v3 and the implementation is based on net-SNMP, where the SNMP daemon runs as a service. When an external browser or SNMP collector contacts the SNMP daemon on Netvisor, the SNMP daemon queries the nvOSd for details. However, the SNMP daemons (snmpd or nvOS_snmpd) can hog the CPU and memory of the system  causing out of memory and kill other processes such as  nvOSd. Configuring the  CPU and memory-limit thresholds mitigates this issue. For more details, see Configuring Thresholds on SNMP Processes.

Netvisor ONE uses SNMP for monitoring the networks only, that is, you can use SNMP service for read-only MIB support and does not provide support for managing the network.

The following sections explain how to configure access controls and enable SNMP on a switch.

Activating SNMP Service

By default, the SNMP service is disabled on Netvisor ONE. You can enable the SNMP service by using the admin-service-modify command. Netvisor ONE retains the status of the SNMP service (enabled or disabled) when you upgrade from one release version to another version.

To enable SNMP service, use the command:

CLI (network-admin@switch) admin-service-modify if if-string snmp|no snmp

if if-string

Specify the administrative service interface. The options are mgmt or data.

snmp|no snmp

Specify to enable or disable SNMP.

To enable SNMP service through management interface, use the command:

CLI (network-admin@switch)admin-service-modify if mgmt snmp

To enable SNMP service on data interface, use the command:

CLI (network-admin@switch)admin-service-modify if data snmp

The above commands launch the daemon, sub-agents, and opens the firewall so that remote queries can reach the daemon. Use the no-snmp parameter for disabling SNMP service on the administrative interface:

CLI (network-admin@switch)admin-service-modify if mgmt no-snmp

For using SNMP services, you must configure access controls either by creating SNMP communities and/or by creating SNMP users.