What is SNMP and how do I use it to monitor switches?
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
- Use SNMPv3 with authPriv wherever possible
- Restrict SNMP access to management VLAN
- Use ACLs to limit source IPs
- Configure SNMP traps for critical events (port down, temp high)
- Poll intervals: 5min for stats, 30s for critical
Popular NMS Tools
- PRTG Network Monitor
- Zabbix (open-source)
- LibreNMS (open-source)
- SolarWinds NPM
- Nagios/Icinga
2 Other Answers
14
Zabbix + LibreNMS combo has served us well for 3 years.
21
Don't forget to disable SNMP write access unless absolutely needed!
Your Answer
You must be signed in to post an answer.