Pcornel
Networking · Network & Protocols › IP Services & Monitoring

SNMP, Syslog & NTP Operations Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=223

Back to the Topic

Answer

Three protocols make a network observable: SNMP lets a monitoring system read counters and status, syslog sends each device's log messages to a central server, and NTP keeps the clocks in step so those messages can be put in order.

Remember

All three depend on the device reaching a server from the right source address — set the source interface explicitly, and name the VRF where management runs in one. Fix NTP first; without correct time the logs cannot be correlated. Use SNMPv3.

First checks

  • show ntp status / show ntp associations — synchronised, to which server.
  • show clock detail — the time and its source.
  • show logging — hosts, levels, counts, and the local buffer.
  • show snmp — requests and errors such as unknown community names.
  • show snmp user / show snmp host — users and notification targets.

Commands

show ntp status
show logging
show snmp

Verify in this order

management source interface and VRF set → servers reachable from that address → NTP synchronised → syslog messages timestamped and delivered → SNMP polls answered, traps sent

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=223

Confirmation

Confirm action

Continue?