fbpx
Sep 03

Most Used Cisco CLI Commands

Cisco CLI

Cisco Systems is the major vendor in networking and most Network Administrators use Cisco devices in the working places. It is necessary for a Network Administrator to learn the basic Command Line Interface (CLI). In this article, some most used Cisco CLI commands are introduced and these Cisco CLI commands are useful for a Network Beginner.

The following contents are according to the Cisco routers CLI commands. When you enter the router, you will be in the User EXEC mode by default. Type the command “enable” to enter the Privileged EXEC mode. You will see the pound sign “#” instead of greater than sign “>” after the router’s name. Some basic Cisco CLI commands in the Privileged EXEC mode are listed and explained in the following.

  • enable: Turn on privileged commands
  • exit: Exit from the EXEC
  • logout: Exit from the EXEC
  • ping: Send echo messages
  • resume: Resume an active network connection
  • show: Show running system information
  • ssh: Open a secure shell client connection
  • telnet: Open a telnet connection
  • terminal: Set terminal line parameters
  • traceroute: Trace route to a destination
  • undebug: Disable debugging functions

The Cisco CLI command “configure terminal” enables you to enter the Global Configuration mode. You will see the word “configure” between parentheses followed by a pound sign “#”. The most used Cisco CLI commands are:

  • hostname WORD: this changes the router’s name to WORD
  • router eigrp 1: This setups a dynamic routing protocol eigrp 1
  • do show ip route: This shows the routing table and routes
  • do show running-config: This shows the running-configuration contents

To enter the interface configuration mode, type the command “interface fastEthernet 0/0”. This enables you to enter the number 0/0 FastEthernet interface configuration mode. Now you are able to set up the IP address.

  • Ip address 192.168.1.1 255.255.255.0: This configures a 192.168.1.1/24 ipv4 address
  • No shutdown: This activates the interface
  • exit: Exit from interface configuration mode

 

 

 

To enter the line configuration mode, type the command “line console 0” and there are some most used Cisco CLI commands:

  • line console 0: This enables the line configuration mode
  • password: Set a password
  • login: Enable password checking
  • exit: Exit from line configuration mode

To enter the line configuration mode of the virtual terminal, type the command “line vty 0 4” and there are some most used Cisco CLI commands:

  • password: Set a password
  • login: Enable password checking
  • exit: Exit from line configuration mode

After your configuration, you need to save it. Press “Ctrl+C” or type “exit” and you will go back to the Privileged EXEC mode. The most used Cisco CLI command to save the configuration is “copy running-config startup-config” and hit enter. This copies running configuration file in Random-Access Memory (RAM) to startup configuration file in Non-volatile Random-Access Memory (NVRAM).

Info about Cisco Exam

Looking for an IT Job?

Please call us on 1800 159 151, or complete the form below.

  • This field is for validation purposes and should be left unchanged.

Recent Posts

Can you get a job with just a CCNA certificate?

Can you get a job with just a CCNA certificate?

People often worry about getting jobs after acquiring a few years of education or a specific certificate. This is the exact situation with people who.. Read More →
Does a CCNA Certification help in getting Good Jobs?

Does a CCNA Certification help in getting Good Jobs?

The CCNA certificate will surely help you get in a better position right now. This certificate holds much power because of its course. It mainly.. Read More →

The supply of this course/package/program is governed by our terms and conditions. Please read them carefully before enrolling, as enrolment is conditional on acceptance of these terms and conditions. Courses run subject to registrations.

OUR ACCREDITATIONS

Find out why we are the leading choice to help boost your career in Australia

Prepare to get IT job ready in 8 weeks

Trained 10,000+ professionals and counting

Experienced Provider: Operating Since 2004

Trained staff from 1000+ Australian Businesses

We Have Placed Candidates In
SATISFIED CUSTOMERS
SOME OF OUR CLIENTS

Over 1000 organisations have relied on Logitrain to be their trusted training partner.

High-quality, cost-effective training in Australia
Learn More
  • OpenPay
  • This field is for validation purposes and should be left unchanged.

Dont’ Wait. Fill the form for a free no-obligation information session with our course specialists.

About The Author

Delivering Classroom and Live Virtual Training with Price Beat Guarantee

EOFY Offer: Book and pay for a course before 30 June. Attend training until 31 August.