H3 · Practical network exams · Cisco IOS / IOS XE
Syslog · Finals
Configuration first, verification second, theory third. Reference templates require task-specific adaptation.
Content version 1.1-draft
Case Skills Exam
Mark topic as completed
Quick explanation Syslog sends event messages to local destinations or a remote collector. Severity levels run from 0 (emergencies) to 7 (debugging).
Configuration Show / Verify Common Mistakes Back to topics
Copy Topic
Configuration
Replace highlighted placeholders. Configure only the variants required by the task.
Prerequisites and dependency links
Configure reachable collector and correct source interface if required. Configure time synchronization for useful timestamps.
Local logging buffer Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Copy
Fullscreen
enable
configure terminal
service timestamps log datetime msec
logging buffered [BUFFER-BYTES] [SEVERITY]
end
Command parameters
[BUFFER-BYTES]Local logging buffer capacity in bytes. [SEVERITY]Syslog severity name or number from 0 to 7.
Remote IPv4 Syslog Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Copy
Fullscreen
enable
configure terminal
service timestamps log datetime msec
logging host [SERVER-IP]
logging trap [SEVERITY]
logging on
end
Command parameters
[SERVER-IP]IPv4 address of the relevant server. [SEVERITY]Syslog severity name or number from 0 to 7.
Optional logging source interface Optional when requested
Start in privileged EXEC; block enters and exits configuration mode.
Section link
Copy
Fullscreen
enable
configure terminal
logging source-interface [SOURCE-INTERFACE]
end
Command parameters
[SOURCE-INTERFACE]Local source interface used for probes or management traffic.
Show / Verify Copy Verify
Example output
Syslog logging: enabled
Trap logging: level informational
Verify enabled logging, severity and destination; check collector reception separately.
show running-config | include ^logging
Example output
logging host 192.0.2.10
logging trap informational
Confirm the configured collector.
Connectivity verification IPv4 reachability Check success rate; use source or VRF context if required.
Copy
Fullscreen
ping [DESTINATION-IP]
Management receiver test Inspect the service-specific state. Confirm receipt of a generated log/trap or a permitted poll on the relevant remote collector. Local counters alone do not prove receiver delivery.
Copy
Fullscreen
show logging
show snmp
show ntp status
Common mistakes Wrong severity threshold; lower numbers are more severe. Collector unreachable or not listening. Incorrect source interface. Local buffer alone does not prove remote delivery.
Quick reference and default values
Syslog severity
Level Name
0 Emergency 1 Alert 2 Critical 3 Error 4 Warning 5 Notification 6 Informational 7 Debugging
Remove configuration — separate, potentially disruptive actions
Remove remote collector Stops forwarding messages to this collector.
Copy
Fullscreen
enable
configure terminal
no logging host [SERVER-IP]
end