CLI Miscellany 1

certskills
By certskills August 4, 2016 09:05

The CCENT and CCNA R&S certifications include many prominent features that need to be configured. VLANs. Trunking. Routing protocols. IPv4 addressing. IPv6 addressing. But there are also the occasional small topic or single command that might be forgotten. This lab examines a couple of those easily forgotten commands, just to give them a little attention in hope that it might make you better prepared on test day.

Requirements

This lab is direct and straightforward. The lab uses a single router with two interfaces, with a list of requirements. Your job: remember the command(s) to achieve each function, and write/type the command with the correct syntax. In the next post, you can check your answers. The specific rules for this lab are:

  • Configure ‘Router’ so that if you happen to misspell a command and then press enter, the command will not automatically try to do name resolution with a DNS server as if the misspelled command were a hostname
  • Configure the console line so that the router will synchronize the output of log and debug messages versus solicited command output
  • Configure the console so it times out after 5 minutes of inactivity
  • Administratively disable both the GigabitEthernet0/1 and 0/2 interfaces

 

Figure 1: Single Router Topology

 

Initial Configuration

Example 1 shows the beginning configuration state of Router.

 

Example 1: Router 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 with those tools.

To test your solution if you happen to try it with CML/VIRL or real gear, to check this one there are a few steps.

First, just type a badly misspelled word as a command. If you configured the lab correctly, IOS should not delay more than a second or so to give you a new command prompt. not getting a long lookup delay.

Next, to verify the console timeout, you can either verify the configuration in the running configuration, or by waiting five minutes to see if the console exits automatically.

Verifying whether message synchronization works is a little harder to do in lab, so the best way to confirm the feature is to check the configuration versus the answer post.

Finally, for the verification of the GigabitEthernet0/1 and 0/2 interface being disabled, issue the show ip interfaces brief command and verify that both interfaces are shown as administratively down.

 

Do this Lab with Cisco’s CML (Formerly 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 Cisco Modeling Lab – Personal (CML-P). CML-P replaces Cisco Virtual Internet Routing Lab (VIRL) software, in effect serving as VIRL Version 2.

Below, find two files: a file useful with CML-P and another useful with VIRL. (Note that the CML-P file has a .yaml filetype, while the older VIRL file has a VIRL filetype.) Once the file is loaded, CML-P or VIRL will create a lab topology similar to this lab’s topology, with the initial configuration shown in the lab as well.

This lab’s CML file!

This lab’s VIRL file!

All interfaces in topology match the lab figure.

Answers: Extended Named ACLs 1
Answers: CLI Miscellany 1
certskills
By certskills August 4, 2016 09:05
Write a comment

11 Comments

  1. Lester March 3, 08:05

    Mr. Odom, thank you very much, for writing this Lab Exercise for those students who are willing to learn. Every lecture matters when it come to learning. As well, it’s a excellent way to make practice as you keep reading through the book (Certification Guide)…

    Reply to this comment
  2. Dan Brabbins August 9, 13:12

    I’m attempting to import the virl file into CML2 but it is saying the following:

    Failure
    Upload of topology failed… below is the response:

    Error importing VIRL 1.x topology file. XML parsing error: Schema version does not meet minimum supported version: 0.95.

    Are the VIRL files not compatible with CML2?

    Reply to this comment
    • certskills Author August 10, 12:44

      Hi Dan,
      I’m guessing you are correct. I’ll take a look. Probably won’t be a quick fix, but I’ll see what I can do. Sorry about that.
      Wendell

      Reply to this comment
  3. Darian Brewer September 5, 21:03

    I just finished Chapter 5 of Volume 1 on the 200-301 book. Which lab do I complete first? This layout is very confusing for me.

    Reply to this comment
  4. Ashley Stokes January 3, 06:56

    Thank you very much for writing this article and also the lab conifg that matches. I was just wondering are these obsolete now? When I try and download the CML .yaml or any of the .yamls from the other parts and some .virls too, I get 404 not found? Or has the download directory changed? Look forward to hearing from you, I’m eager to take a look at these, Thanks!

    Reply to this comment
    • certskills Author January 3, 07:00

      Hi Ashley,
      Thanks for the note. We heard of an issue on the site just last night that is causing some problems with the download links and some image links. We’ve got a ticket open with the folks who can fix it. I would imagine we’ll have it fixed by Monday. Stay tuned!
      Thanks,
      Wendell

      Reply to this comment
      • Ashley Stokes January 3, 07:46

        Hi Wendell,
        Thanks for the prompt reply and advising of the issue, look forward to downloading these when they’re back on!

        Happy New Year!

        Thanks,

        Reply to this comment
  5. Trey May 13, 11:46

    How do you know which question goes with what chapter. Like Darian, I find it confusing. Also being that it was from 2016. Is it still relevant to the 200-301?

    Reply to this comment
    • certskills Author May 13, 14:00

      Hi Trey,
      Sorry for the confusion. Honestly, I’ve always thought people would attack from the opposite direction, eg, list all posts associated with a chapter, and then find/read an individual post. But if your starting point is a post, I agree, the post does not identify a book chapter with which it is associated. I’ll give that some thought.

      What should be clear and easy to use, if we’re successful, are the menu items and advanced search. For instance, the menu from any page on the blog lets you expand a book (200-301 Vol 1 or Vol 2), to the Book Parts, to the individual chapters. Choosing a chapter, you find all blog posts associated with that chapter.

      Or, using the advanced search (see near the top of the home page at blog.certskills.com), you can search both on book element plus the type of post. EG, show all QA posts for Vol 1 chapter 6, for instance.

      Thanks again,
      Wendell

      PS The content is applicable to 200-301. On average, when Cisco revs CCNA, about 70% of the topics were in the previous exam, about 30% is new, so I keep the useful older blog posts and tag them with the correct current book chapters. FYI.

      Reply to this comment
  6. Marlon May 26, 14:34

    Hi. I’m really keen to start using these free labs, however I’m struggling to get this working with Packet Tracer or Network Simulator Lite.

    Is this actually free, or do you have to buy the $200 Cisco Modeling Lab License in order to use them?

    I’ve already purchased the CCNA books Vol 1 & 2 and also paid for the audio books. I want to practice the live labs using the CLI, is there a way to do this without having to spend more money?

    Reply to this comment
    • certskills Author May 28, 11:01

      Hi Marlon,
      Thanks for the note. Let me see if I can first help with “Config Labs”.
      As they exist today, Config Labs give you a place to do labs with no real gear or simulator. That is, think, type your answer in an editor, and compare to the answers.
      Then, if you want to try it in:
      CML: Yep, it’s $200/year, your choice to spend or not.
      Real: You have to plan to convert to use the interface IDs on the routers you own.
      Packet Tracer: You have to create the topology in Packet Tracer.

      When I created the Config Labs, one key design point was to remove all barriers to performing the important part, which is thinking about the config. So the primary design point was to set it up as a paper exercise.

      However, in that era, Packet Tracer was not legally available to the general public. It now is. I am in the process of converting all the Config Labs to supply the Packet Tracer file so you can do them in Packet Tracer. Should be rolling those out a few at a time in about a month.

      To your question of CLI practice without spending more money:

      1) Your books come with the Pearson CCNA Simulator Lite. There should be a different Lite version with Vol 1 and Vol 2. Each has a small set of labs. That’s a way to get started now.

      2) Do the labs on this site, at this link, where you can re-create many of the examples from the books using Packet Tracer. https://blog.certskills.com/category/hands-on/pt-labs-200-301/ Note that there is a post for most book chapters that have CLI in them. The labs have no steps. Instead, they supply the .pkt file that gives you the beginning state of each example from the book. You can then try the same config and show commands seen in the book and explore from there. Think of it like a sandbox that’s built for you in your backyard, rather than you having to start by buying supplies at Home Depot and building it before playing in the sand, so to speak.

      Hope this helps…

      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