Home > Cisco Command Line Interface CLI

Cisco Command Line Interface CLI

December 20th, 2011 Go to comments

In the previous tutorial we learned about the boot sequence of a Cisco router/switch. After that, the router will allow us to type commands but in different modes we can only used specific commands. So in this tutorial we will learn about the Command Line Interface (CLI) and different modes in a Cisco router/switch.

Below lists popular modes in Cisco switch/router:

Router> User mode
Router# Privileged mode
Router(config)# Configuration mode
Router(config-if)# Interface level (within configuration mode)
Router(config-router)# Routing engine level (within configuration mode)
Router(config-line)# Line level (vty, tty, async) within configuration mode

Now let’s discuss each mode in more detail

User mode (Unprivileged mode)
In most case this is the mode you will see on the screen after connecting to it. This mode provides limited access to the router. You are provided with a set of nondestructive commands that allow examination of certain router configuration parameters (mostly to view statistics). You cannot, however, make any changes to the router configuration.

Privileged mode
Also known as the Enabled mode, this mode allows greater examination of the router and provides a more robust command set than the User mode. In Privileged mode, you have access to the configuration commands supplied in the Global Configuration mode, meaning you can edit the configuration for the router.

Configuration mode
Also called the Global Configuration mode, this mode is entered from the Privileged mode and supplies the complete command set for configuring the router. In this mode you can access interface level, routing engine level, line level…

Interface level

In some books, this level is also referred as “interface configuration mode” or “interface mode”. In fact, it is a level inside Configuration mode so you can see the “configuration” part in its prompt (config-if). This level can be accessed by typing a specific interface in Configuration mode. For example:

Router(config)#interface fa0/0
Router(config-if)#

But notice that the prompt doesn’t give you information about which interface is being configured so be careful with this level while you are configuring! This lack of information can make you configure wrong interface easily!

Routing engine level

This is the level where we configure dynamic routing protocols (RIP, OSPF, EIGRP…). You will learn about them later in CCNA.

Line level

In this level we can configure Telnet, Console, AUX port parameters. Also notice that the prompt (config-line) is used for all “lines” on the router so you must be careful about which line you are configuring!

Note: The “line” here can be a physical Console port or a virtual connection like Telnet.

The image below shows how to access each mode and popular levels inside Configuration mode:

popular_modes.jpg

Learning about modes is not difficult and you will get familiar with them while configuring routers & switches. Just pay a little attention to them each time you practice and surely you can grasp them easily.

Comments (11) Comments
Comment pages
1 2 1024
  1. ROCKSTAR
    December 21st, 2016

    HI EVERYONE !

  2. Stusty
    July 13th, 2017

    Thank You..
    Very informatice!

  3. Stusty
    July 13th, 2017

    I mean informative

  4. Anonymous
    July 14th, 2017

    educating

  5. mohamed
    July 25th, 2017

    kory where the dump

  6. topology
    July 31st, 2017

    Kory could you please send me the 747q dumps. I would like to take the examination next week please. Mail slumu20@ gmail.com Thanks in advance!

  7. Hek
    September 23rd, 2017

    It is gui ies

  8. transisitor
    October 22nd, 2017

    i want latest dumps of this month please any of you send me I’ll be very thankful :) {email not allowed}

  9. Steven
    November 30th, 2017

    hey guys~

    anyone can share me the dump ? taking exam soon

    email : {email not allowed}

    thanks in advance

  10. Paul W
    December 4th, 2017

    Looking fir recommend dumps or practice test for Security + SYO-401?

    Thank You,

  11. Bobbie
    December 5th, 2017

    Passed today, used the 552q dumps. you can find them on https://drive.google.com/open?id=0B5mAFqgydmCzc3BmR214LWFuTDg

Comment pages
1 2 1024
Add a Comment