Pcornel
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

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Case Skills Exam

Quick explanation

Syslog sends event messages to local destinations or a remote collector. Severity levels run from 0 (emergencies) to 7 (debugging).

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
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
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
enable
configure terminal
logging source-interface [SOURCE-INTERFACE]
end
Command parameters
[SOURCE-INTERFACE]
Local source interface used for probes or management traffic.

Show / Verify

Primary verification Section link
show logging
Example output
Syslog logging: enabled
    Trap logging: level informational

Verify enabled logging, severity and destination; check collector reception separately.

Detailed verification Section link
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.

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.

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
LevelName
0Emergency
1Alert
2Critical
3Error
4Warning
5Notification
6Informational
7Debugging
Remove configuration — separate, potentially disruptive actions

Remove remote collector

Stops forwarding messages to this collector.

enable
configure terminal
no logging host [SERVER-IP]
end

Related reference

Networking technical reference · Interface types · Connectivity verification

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?