Use it when timestamps drift, authentication fails, a source is reachable but rejected, or precision timing loses lock.
Time Synchronization
Network time troubleshooting distinguishes local clock, NTP association/selection and PTP grandmaster/domain/hardware timestamping state.
1. Accurate time is needed for logs, certificates and authentication.
2. Use multiple NTP sources.
3. Authenticate NTP.
4. Set time zone deliberately.
5. Monitor sync state.
time source → NTP/PTP → device clock → logs/certs
1. Capture local clock/source/stratum.
2. Verify route, VRF/source and UDP 123 or PTP transport.
3. Inspect association/peer rejection reason.
4. Compare offset/jitter or PTP role/domain.
5. Correlate logs after stable convergence.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Inspect the selected source, synchronization state, offset and stability over time rather than checking only UDP reachability. Cross-check timestamps on multiple devices when event correlation matters. Verification should move from route/transport to protocol state and then to the resulting artifact or clock quality. Use protocol counters/status, timestamps or transfer progression, and validate the consumer-side result. A socket/UDP response is useful reachability evidence but should not be mistaken for successful service semantics. Prefer evidence that can be tied to one test identity and one time window. Read counters as deltas where possible, distinguish configured state from learned/runtime state, and finish by checking the next dependent layer rather than letting an intermediate success become an end-to-end conclusion.
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.
Subtopics
Go one level deeper into this subject.
show clockis observation, not proof of synchronization- NTP association, selection and synchronized system state are separate
- Offset, delay, dispersion and jitter explain source quality
- PTP depends on domain, grandmaster selection and clock role
- ACL/CoPP, VRF/source, UDP 123, one-way delay and hardware support can be the first boundary.
show ntp status— synchronized, stratumshow ntp associations— peers and selectionshow clock detail— time source
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Time synchronisation keeps logs, certificates and protocols consistent
Network devices need the same, correct time. Logs from several devices can only be correlated when the clocks agree. Certificate validation, Kerberos and some authentication schemes reject requests when time drifts.
| Protocol | Accuracy | Typical use |
|---|---|---|
| NTP | Milliseconds on a LAN | Logs, certificates, authentication, general device time |
| PTP (IEEE 1588) | Sub-microsecond with hardware support | Audio/video (AES67), industrial control, telecom, finance |
Clock basics on Catalyst 9300 (from the administration guide)
| Point | Detail |
|---|---|
| Internal time | Kept in UTC; time zone affects display only |
clock timezone | Default UTC |
clock summer-time … recurring | Off by default; without parameters, US rules apply |
| Authoritative time | Non-authoritative (for example manually set) time is used for display, not redistributed |
| Stack | A manually set clock must be set again if another member becomes active |
C9300(config)# clock timezone CET 1 0
C9300(config)# clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
C9300(config)# ntp server 10.10.50.5 prefer
C9300(config)# ntp server 10.10.50.6
C9300(config)# service timestamps log datetime msec localtime show-timezone
C9300# show clock detail
14:32:07.418 CET Sat Nov 28 2026
Time source is NTP
Design
| Layer | Recommendation |
|---|---|
| Sources | Two or more internal NTP servers fed by GPS or trusted upstream servers |
| Network devices | Point every device to the internal servers, not directly to the Internet |
| Log timestamps | Include date, milliseconds and time zone, or use UTC everywhere |
| PTP | Only where applications need it; it needs PTP-aware switches along the path |
Check time on every device before an incident, not during one. Time source is NTP in show clock detail confirms the device is synchronised.
Documented example, not captured output.
Quick reference
Time synchronisation keeps every device's clock accurate and consistent. It underpins log correlation, certificate validity, Kerberos authentication and time-based ACLs. NTP is the general-purpose protocol; PTP provides sub-microsecond accuracy where needed.
| Protocol | Typical accuracy | Use |
|---|---|---|
| NTP | Milliseconds | Network devices, servers |
| PTP (IEEE 1588) | Sub-microsecond | Finance, broadcast, industrial, 5G |
Design a hierarchy: reliable upstream sources (GPS or public stratum 1/2 servers), a few internal NTP servers, and all devices pointing at those.
Protocol/service mechanics and state model
Network time services continuously estimate and correct local clock error against selected reference sources. Useful state includes selected source, stratum/class, offset, delay, jitter/dispersion and whether the local clock is synchronized. Accurate time is a dependency for logs, certificates, distributed systems, authentication and event correlation, so quality matters beyond simple protocol reachability. IP service protocols add operational dependencies above basic routing. Time and file-transfer services each have their own control/state model, transport behavior and quality criteria. Reachability to the service endpoint is only the first step; selection/authentication, protocol exchange, resulting clock/file state and consumer behavior must be interpreted separately. Preserve identity, direction, state ownership and time when reading the mechanism: the same packet or protocol label can mean something different before versus after a relay, translation, controller, cache or service boundary. A useful reference therefore names the state owner as well as the visible symptom.
Limits and common misconceptions
A server responding on the network does not show the local clock is synchronized, and a small instantaneous offset does not show long-term stability or common time across all systems. Service protocol success has a narrow scope. A synchronized-looking peer relationship may still have poor clock quality; a completed file transfer may still contain the wrong artifact. Keep transport reachability, protocol exchange, security/authentication, resulting state and dependent application behavior as separate evidence layers. The strongest reference wording states both the positive claim and the non-claim: what this output, counter, lease, translation, probe or controller result demonstrates, and which adjacent dependency still needs its own evidence. This keeps Pcornel useful as technical context for ChatGPT without turning the site into a diagnosis engine.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Use redundant trustworthy sources, keep device time zone/display policy separate from UTC clock discipline, authenticate where required, and avoid mixing poorly controlled references that create unstable source selection. Configure service endpoints, source/VRF context, authentication/security and operational ownership explicitly. Prefer secure protocols where credentials or sensitive artifacts are involved, document path conventions and reference hierarchy, and make fallback/redundancy behavior intentional rather than accidental. Configuration intent should be reviewable without depending on one vendor screen or wizard. Record which interface, VRF, address family, source identity, server/collector and policy object owns the behavior so Round-trip updates can change one layer without accidentally changing the meaning of another.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → Time Synchronization. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%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.
Quick lookup tables
Network Time & Clocking Troubleshooting evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show ntp associations detail | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | local oscillator → transport/source → association/peer → selection/clock discipline → consumers/log correlation | application success |
Time Synchronization · operational reference
Compact protocol/state/evidence reference for fast lookup.
| Time evidence | Meaning |
|---|---|
| Source reachable | Transport works |
| Source selected | Discipline candidate |
| Offset/jitter | Clock quality |
| Correlated logs | Operational consequence |