What is SNMP and how do I use it to monitor switches?

Asked 29 days ago Viewed 3,980 times Industrial Switches
SNMP network monitoring NMS MIB
75
✓ Best Answer

SNMP (Simple Network Management Protocol) is the industry standard for monitoring and managing network devices.

SNMP Versions

  • SNMPv1: Legacy, plaintext community strings, avoid
  • SNMPv2c: Most common, adds bulk operations, still plaintext
  • SNMPv3: Adds authentication and encryption — recommended

Key Components

  • Agent: Runs on the switch, responds to queries
  • Manager (NMS): Central monitoring system (e.g., Zabbix, PRTG, SolarWinds)
  • MIB (Management Information Base): Hierarchical database of variables
  • OID (Object Identifier): Numeric address for MIB variables
  • Traps: Unsolicited notifications from device

Common Monitored Items

  • Port up/down status (ifOperStatus)
  • Bandwidth utilization (ifInOctets/ifOutOctets)
  • CPU and memory usage
  • Temperature (in industrial switches)
  • PoE power draw per port
  • Optical DDM values (SFP temp, Tx/Rx power)

Setup Best Practices

  1. Use SNMPv3 with authPriv wherever possible
  2. Restrict SNMP access to management VLAN
  3. Use ACLs to limit source IPs
  4. Configure SNMP traps for critical events (port down, temp high)
  5. Poll intervals: 5min for stats, 30s for critical

Popular NMS Tools

  • PRTG Network Monitor
  • Zabbix (open-source)
  • LibreNMS (open-source)
  • SolarWinds NPM
  • Nagios/Icinga
LP
Lisa Park
IT Infrastructure Manager
7,890 reputation
answered 27 days ago

2 Other Answers

14

Zabbix + LibreNMS combo has served us well for 3 years.

DV
Dmitri Volkov
Field Engineer
5,680 reputation
answered 25 days ago
21

Don't forget to disable SNMP write access unless absolutely needed!

VP
Viktor Petrov
Ring Network Designer
11,800 reputation
answered 23 days ago

Your Answer