Datasheet
Lab – Configuring Syslog and NTP
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 14
What is the IP address of the syslog server? ____________________________________ 172.16.2.3
What protocol and port is syslog using? ____________________________________ UDP port 514
At what level is trap logging enabled? ____________________________________ informational
Step 6: Configure and observe the effect of logging severity levels on R2.
a. Use the logging trap ? command to determine the various trap levels availability. When configuring a
level, the messages sent to the syslog server are the trap level configured and any lower levels.
R2(config)# logging trap ?
<0-7> Logging severity level
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)
<cr>
If the logging trap warnings command was issued, which severity levels of messages are logged?
____________________________________________________________________________________
warnings (level 4) errors (level 3), critical (level 2), alerts (level 1), and emergency (level 0)
b. Change the logging severity level to 4.
R2(config)# logging trap warnings
or
R2(config)# logging trap 4
c. Create interface Loopback0 on R2 and observe the log messages on both the terminal window and the
syslog server window on PC-B.
R2(config)# interface lo 0
R2(config-if)#
Jul 5 09:57:47.162: %LINK-3-UPDOWN: Interface Loopback0, changed state to up
Jul 5 09:57:48.162: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0,
changed state to up