← All questions
Card 95 · Networking

What is the task of the Simple Network Management Protocol (SNMP)?

Answer

SNMP is a network protocol developed by the IETF to monitor and control network elements centrally – routers, switches, servers, printers, UPS systems, temperature sensors and more.

Operations:

Current version: SNMPv3 – with authentication and encryption (v1/v2c only use plain-text community strings).

Diagram

SNMP managermonitoring stationSwitchagent + MIBRouteragent + MIBServer / UPSagent + MIBGET/SET → UDP 161 · TRAP ← UDP 162

Key vocabulary

TermMeaningExample
network monitoringwatching the status of network devicesWe use Zabbix for network monitoring.
agentsoftware on a device that answers SNMP requestsEnable the SNMP agent on the switch.
MIBManagement Information Base – the list of values a device offersThe MIB contains the interface counters.
trapa message a device sends on its own when something happensThe UPS sent a trap when the power failed.
to pollto ask for values again and again at intervalsThe manager polls the switches every minute.
community stringa simple password in SNMPv1/v2cNever leave the community string as “public”.

Useful phrases

Talk about it

  1. Which values would you monitor on a switch, a server and a UPS? Explain why.
  2. What is the difference between polling and traps? Which is better for what?
  3. Why is SNMPv1/v2c considered insecure?

IHK hint

German: SNMP: zentrale Überwachung und Steuerung von Netzwerkelementen; Agent, Manager, MIB; GET/SET über UDP 161, Traps UDP 162; aktuell SNMPv3.