Syslog 1

certskills
By certskills June 6, 2016 09:05

Routers and switches issue log messages to tell us about different events. Be ready to run through the various options! Today’s lab exercises a couple of those options related to message formats and how how a router chooses to manage syslog messages. As usual, do the lab per the requirements in this post for more practice; I’ll post the answers in a couple of days. And I should be wrapped with all my announcement posts related to the May 2016 CCENT and CCNA announcements, so look here for the blogroll.

Requirements

In this lab, you will enable system logging and change the message format in a couple of ways on both routers. Specifically:

  • Configure the two routers so that they keep a copy of log messages so that you can later view them with the show logging command
  • Change the system message format to disable the use of timestamps
  • Change the system message format to enable the use of sequence numbers

 

Figure 1: Two Routers with IP Addresses

 

Initial Configuration

Example 1 and 2 show the beginning configuration state of R1 and R2.

Example 1: R1 Config

Example 2: R2 Config

 

Answer on Paper, or Maybe Test in Lab

Next, write your answer on paper. Or if you have some real gear or other tools, configure the lab using them.

While this lab shows a two router lab, you could do it on a single router with a console connection.

To test the effects of your configuration, login from the console and then get into config mode and back out again. Each time you exit configuration mode, the router will issue a log message to the console about the fact that someone may have changed the configuration. So it is an easy way to generate log messages so that you can test your syslog settings. Look at those messages to check the log message format to see if it meets the requirements of the lab.

Do this Lab with Cisco’s VIRL

You can do these labs on paper and still get a lot out of the lab. As an extra help, we have added files for the Virtual Internet Routing Lab (VIRL) software as well. The .VIRL file found here is a file that when used with VIRL will load a lab topology similar to this lab’s topology, with the initial configuration shown in the lab as well.

Download this lab’s VIRL file!

The .VIRL topology matches this lab topology exactly.

Answers: Data and Voice VLAN 1
Answers: Syslog 1
certskills
By certskills June 6, 2016 09:05
Write a comment

2 Comments

  1. Bastien September 14, 11:05

    Hello Wendell,
    There is a mistake in the FIgure 1 :
    192.168.100.128/30 instead of 192.168.1.128/30

    Regards

    Reply to this comment
View comments

Write a comment

Comment; Identify w/ Social Media or Email

Subscribe

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Search

Categories