NTP and Syslog for CCNA: Synchronized Time and Central Logging
Without synchronized time, logs from different devices cannot be correlated. NTP distributes the time and syslog sends device messages to a central server. Both are basic CCNA IP services and a requirement of any managed network.

Edit this template Download .json
Learning objectives
- Configure one router as an NTP client and another as the master.
- Send logs to a syslog server with a severity level.
- Interpret severity levels 0 to 7.
Devices and addressing
| Device | Type | Details |
|---|---|---|
| NTP-MASTER | NTP | 10.0.0.10 Stratum 2 |
| R1 | Router | NTP client G0/0 10.0.0.1/24 |
| SW1 | Switch | NTP client VLAN 1 10.0.0.2 |
| SYSLOG | LOG | 10.0.0.20 UDP 514 |
Reference configuration (Cisco IOS)
R1
ntp server 10.0.0.10
clock timezone PET -5
service timestamps log datetime msec
logging host 10.0.0.20
logging trap informational
logging source-interface g0/0
SW1
ntp server 10.0.0.10
logging host 10.0.0.20
logging trap warnings
Verification commands
show ntp statusshow ntp associationsshow loggingshow clock detail
CCNA exam tips
Syslog severities: 0 Emergencies, 1 Alerts, 2 Critical, 3 Errors, 4 Warnings, 5 Notifications, 6 Informational, 7 Debugging.
With logging trap 4, levels 0 to 4 are sent.
How to use this template
Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.
To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.
JSON template for the editor
This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.
Frequently asked questions
What is NTP for?
To synchronize device clocks with a reliable time source.
Which port does syslog use?
UDP 514.