What is SNMP?
Why Interviewers Ask This
Mid-level Networking roles require deep understanding of this topic. Interviewers ask this to separate candidates who truly understand the mechanics from those who only know surface-level concepts.
Answer
SNMP (Simple Network Management Protocol) is an application-layer protocol for collecting and organizing information about managed devices on a network — routers, switches, servers, printers — and for modifying device behavior. Components: SNMP Manager (network management system that polls devices), SNMP Agent (software on the managed device that responds to queries), and MIB (Management Information Base) (database of OIDs — Object Identifiers — defining manageable parameters). SNMP operations: GET (retrieve a value), SET (modify a value), TRAP (unsolicited alert from agent to manager). Versions: SNMPv1/v2c use community strings for authentication (transmitted in plaintext — insecure). SNMPv3 adds authentication (MD5/SHA) and encryption (DES/AES). Common SNMP ports: 161 (agent), 162 (traps). Tools: Nagios, Zabbix, PRTG, SolarWinds use SNMP for network monitoring.
Pro Tip
This topic has Networking-specific nuances that differ from general programming. Highlighting those nuances in your answer shows expertise rather than generic knowledge.