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 (29) Comments
  1. Sunny
    December 20th, 2011

    That is great. Million thanks 9tut.

  2. brijessh
    December 22nd, 2011

    it is the way that tell difficult things in simple manner….specially figure boss.

  3. kodeswaran
    December 30th, 2011

    It is really a great website.any one can read easily and gain knowledge more….

    thanks to 9tut members….

  4. aman
    January 26th, 2012

    good explanation..

  5. Thura
    May 13th, 2012

    Cool !!!! Thanks millions…9tut

  6. gowtham
    May 15th, 2012

    Tnx a lot..great job.

  7. Jafari
    May 16th, 2012

    Xallas and 9tut you guys are God sent, 9tut Please permit me……

    There is urgent need for Telecom/Network tech within Africa and Europe.
    Minimum qualification for scope of work: CCNA

    Kindly contact me at ralphinci@gmail.com with your Location(City, country) and contact details(skype preferrable)

    Thank you guys and best of luck in your career

  8. anisetti.sureshbabu
    September 5th, 2012

    understood different types of modes in single step.

    Thank you.

  9. KASIM ALI
    April 25th, 2013

    good guidance for the beginners of CCNA course

  10. ALY
    May 11th, 2013

    Million Thx

  11. okal
    June 18th, 2013

    this Anonymous guy has passed alot of CCNA exams. well hes selling whatever he is advertising here.

  12. MATHABO
    July 25th, 2013

    IL BE WRITTING MY CCNA IN SEPTEMBER,WISH ME LUC AND HELP ME IF YOU CAN

  13. Shantanu
    September 11th, 2013

    You r really genius u make the things uk better thanx a ton dude!

  14. Stephanoia
    March 1st, 2014

    You are the best ! Thanks

  15. Veronica
    March 31st, 2014

    Well explained!!! thank you very much to 9tut.

  16. rakesh
    May 15th, 2014

    ah all the commands u r given is not workng properly check the commands once if u can

  17. hero_mind
    July 21st, 2014

    one of the best sites is 9tut great thanks 4 u
    but I wish more question
    one thing else
    you can make the answer with white color to not appeared and we can see it by selecting

  18. sunny
    July 26th, 2014

    u pple r doung gr8 job! 9tut

  19. Sandy6933
    August 8th, 2014

    This is an awesome way to understand small things.

    Keep writing :)

  20. Walta
    August 18th, 2014

    Thanks 9tut.

  21. putty
    October 14th, 2014

    Hi guys, I am taking my ccna on October 16, 2014, kindly please send me any new dumps asap to my email id puttyrobin@yahoo.com. Gatrillion thanks!!

  22. Rahul Takle
    November 4th, 2014

    Can any one mail me the ccna 200-120 dumps latest.

  23. Rahul Takle
    November 4th, 2014

    rahultakle89@gmail.com my mail id. Please mail me the CCNA 200-120 Dumps

  24. Rizwan
    November 11th, 2014

    need latest dumps of CCNA(200-120),Please mail me on rizwantariq_279@hotmail.com .

  25. ikelvin
    January 6th, 2015

    Awesome!

  26. ikelvin
    January 6th, 2015

    Please do mail the latest CCNA 200-120 dumps to kelvin4455ace@yahoo.com.. plenty thanks!

  27. obaid
    February 23rd, 2015

    please send me latest dumps of CCNA 200-120 at obaid058@yahoo.com
    thanks

  28. vinoth
    February 25th, 2015

    send latest dumps to vinnoth1990@gmail.com

  29. Rhod
    April 30th, 2015

    Hi great Topic please send me the latest dumps to romaric.dj@protonmail.ch

Add a Comment