Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

SNMP, Syslog & NTP Operations Reference

Direct 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.

When to use this

Use it when setting up monitoring on a device, and when graphs have gaps, logs are missing, or timestamps on two devices disagree.

First 30 seconds

1. show ntp status — "Clock is synchronized"?

2. Not → server reachable from the device's source address or VRF? UDP 123 permitted?

3. show logging — is the syslog host listed, and are messages counted as sent?

4. show snmp — do request counters rise when the monitoring system polls? Errors?

5. Stopped after a change → the source address changed; set the source interface.

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ntp status
Scope / prerequisiteUse it when setting up monitoring on a device, and when graphs have gaps, logs are missing, or timestamps on two device…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification Verify boundary
show ntp status
show ntp associations
show clock detail
show logging
show snmp
show snmp user
show snmp host

show ntp status states whether the clock is synchronised, to which server and at what stratum; the associations view lists each server with reachability and offset, the chosen one marked with an asterisk. show logging shows the logging configuration — hosts, levels, message counts — followed by the local buffer. show snmp shows counters of requests received and of errors such as unknown community names; the user and host views show the configured users and notification targets.

Then check from the other side: the monitoring system can poll the device, a test log message arrives at the server, and timestamps on two devices agree.

Known-good: the clock is synchronised, log messages carry correct timestamps and reach the server, and the monitoring system gets answers.

Step 2 Typical faults & boundaries Narrow the fault
  • The clock is unsynchronised. The NTP server is unreachable from the device's source address or VRF, an access list blocks UDP 123, or not enough time has passed since configuration.
  • Log timestamps are wrong or lack a date. service timestamps is not set to datetime, the timezone is missing, or the clock is not synchronised.
  • No messages at the syslog server. The server is unreachable, the source address is not the one the server expects, or the trap level filters the messages out.
  • Events from two devices cannot be put in order. Their clocks differ; fix NTP first.
  • SNMP polls time out. A wrong community or user, the access list on the device, a firewall blocking UDP 161, or the request arriving in a different VRF.
  • Polls work, traps do not arrive. No host is configured for notifications, or UDP 162 is blocked towards the monitoring system.
  • It all stopped after a renumbering or a new uplink. The device now sources from a different address; set the source interface.
  • Debug messages flood the server. The trap level is set to debugging.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

Three protocols that between them let a network be watched. SNMP lets a monitoring system read counters and status from devices. Syslog sends each device's log messages to a central server. NTP keeps every device's clock in step, so that those messages can be put in order.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

When something fails at night, these are what is left to work from: the graphs, the logs, and timestamps that agree between devices. They are also quietly fragile — each depends on the device reaching a server from the right source address, and nothing in normal operation shows that it has stopped working until the data is needed.

ReferenceHow it works1 section · depth on demand

How it works

SNMP — a monitoring system asks; the device answers.

  • Polls go to UDP port 161 on the device. The device can also send unsolicited notifications — traps, or acknowledged informs — to UDP port 162 on the monitoring system.
  • Version 2c authenticates with a community string sent in clear text. Version 3 uses a user name with authentication and encryption, and is the one to use.
  • Access should be read-only and restricted by an access list to the monitoring systems.
snmp-server group MONITOR v3 priv
snmp-server user nms MONITOR v3 auth sha <key> priv aes 128 <key>
snmp-server host 10.0.0.50 version 3 priv nms

Syslog — the device sends its log messages as they occur.

  • Sent to UDP port 514 on the server by default, without acknowledgment.
  • Every message has a severity from 0 (emergency) to 7 (debugging). The device sends messages at the configured level and all more severe ones.
service timestamps log datetime msec localtime show-timezone
logging host 10.0.0.60
logging trap informational
logging buffered 64000

The local buffer keeps recent messages on the device itself, which is what remains when the server was unreachable.

NTP — the device asks a time server and adjusts its clock.

  • UDP port 123. Servers are ranked by stratum: 1 is directly attached to a reference clock, each step away adds one.
  • Synchronising takes several minutes after configuration; the device compares several exchanges before trusting a server.
ntp server 10.0.0.1
ntp server 10.0.0.2
clock timezone CET 1

What all three have in common. The device originates or answers traffic from one of its own addresses, and the server usually accepts only a known address. Setting the source explicitly — logging source-interface, snmp-server trap-source, ntp source, normally a loopback — keeps it stable. Where management runs in a separate VRF, each server must be configured with that VRF.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

SNMP, syslog and NTP together

Three protocols make a network observable. SNMP reads counters and state and receives notifications. Syslog records events. NTP makes the timestamps on both comparable. RFC 3411 describes how SNMPv3 is organised:

  • Each SNMP entity has an engine with a dispatcher, message processing, a security subsystem (such as the user-based security model) and access control (such as VACM).
  • Applications act as command generators and notification receivers (the manager) or command responders and notification originators (the agent).
  • Security levels increase from noAuthNoPriv through authNoPriv to authPriv.

SNMPv3 security levels (RFC 3411)

LevelAuthenticationEncryptionUse
noAuthNoPrivNoNoNever in production
authNoPrivYesNoOnly where encryption isn't available
authPrivYesYesThe standard choice

How the three protocols work together

ProtocolAnswersDepends on
SNMP pollingHow much, how often, over timeReachability, credentials, views
SNMP traps and informsSomething happened (link down, threshold)The receiver's address and credentials
SyslogWhat happened, in detailThe collector, severity levels, source interface
NTPWhen it happenedUpstream servers, authentication

A management baseline

R1(config)# ntp server 10.99.0.10
R1(config)# ntp server 10.99.0.11
R1(config)# service timestamps log datetime msec localtime show-timezone
R1(config)# logging host 10.99.0.20
R1(config)# logging trap notifications
R1(config)# logging source-interface Loopback0
R1(config)# snmp-server group NMS v3 priv read NMS-VIEW access SNMP-MGMT
R1(config)# snmp-server user nms-poller NMS v3 auth sha <auth-pass> priv aes 256 <priv-pass>
R1(config)# snmp-server host 10.99.0.30 informs version 3 priv nms-poller
R1(config)# snmp-server trap-source Loopback0
R1# show ntp status | include synchronized
R1# show logging | include Trap logging|Logging to
R1# show snmp engineID
R1# show snmp group

Engine IDs (RFC 3411)

Each SNMP engine has a unique snmpEngineID. SNMPv3 users are tied to it. Changing the engine ID, for example when replacing hardware or restoring a configuration onto another device, invalidates the stored users. That is a common reason why polling suddenly fails after a device swap.

Checks when monitoring goes quiet

SymptomCheck
Polls time outACL on the SNMP group, the view, reachability from the NMS
Traps missingTrap source interface; host and user configuration; firewalls
Logs missing on the collectorLogging trap level; source interface; UDP 514 path
Times don't line upNTP status; time zone settings in timestamps

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 5905

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → SNMP, Syslog & NTP Operations Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc5905.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
snmpsyslogntpmonitoringlogging
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

NTP / Syslog / SNMP Fast Check

Management-plane evidence checklist.

NTP → time must be trustworthy first

Syslog → verify source/VRF, route, ACL, server listener

SNMP → verify v2c/v3 credentials/views and UDP 161/162 path

Useful ports:

NTP UDP/123

SNMP UDP/161, traps 162

Syslog commonly UDP/TCP 514

Confirmation

Confirm action

Continue?