0% found this document useful (0 votes)
50 views

Chapter 3 - Command Line Modes On Cisco Routers and Switches Command Line Modes On Cisco Routers and Switches

The document discusses the different command line modes on Cisco routers and switches. There are five modes: setup mode, user EXEC mode, privileged EXEC mode, global configuration mode, and specific configuration mode. User EXEC mode is the normal operation mode where basic commands can be run, while privileged EXEC mode allows access to commands that can affect the device configuration. Global configuration mode contains commands for the entire device, and specific configuration mode customizes configurations for parts of the device like interfaces.

Uploaded by

bzhar osman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Chapter 3 - Command Line Modes On Cisco Routers and Switches Command Line Modes On Cisco Routers and Switches

The document discusses the different command line modes on Cisco routers and switches. There are five modes: setup mode, user EXEC mode, privileged EXEC mode, global configuration mode, and specific configuration mode. User EXEC mode is the normal operation mode where basic commands can be run, while privileged EXEC mode allows access to commands that can affect the device configuration. Global configuration mode contains commands for the entire device, and specific configuration mode customizes configurations for parts of the device like interfaces.

Uploaded by

bzhar osman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Lab.

3
Chapter 3 – Command Line Modes on Cisco Routers and
Switches
itexamanswers.net/chapter-3-command-line-modes-cisco-routers-switches.html

Command Line Modes on Cisco routers and switches.


Cisco IOS is the internetwork operating system of both the Cisco switches and routers. It has
two interfaces command line interface( CLI) and Graphical User Interface( GUI). Since CCNA
exam will surely test your knowledge on these interfaces, it is important to get familiar with
them. Cisco’s IOS command-line interface (CLI) is a text-based interface integrated with the
IOS. When a switch or router boots up, the IOS loads the start up configuration from
NVRAM and displays the IOS prompt waiting for commands. We can enter the IOS
commands at the IOS prompt. Now we will see various command line modes on Cisco
routers and switches using Packet Tracer. Open Packet Tracer and select a Cisco 2960
switch as shown below.

1/12
Hover on the switch to see its ports.

Select a Computer from the End Devices and connect Console port on Switch to RS 232
port on PC with a Console wire. What we are simulating here is connecting to the switch
from a PC through console.

2/12
Click on the Host device( Computer ). On the window that opens, click on Desktop tab and
Click on Terminal.

3/12
The console opens with the switch booting. Switch finishes its booting operation and loads
into user EXEC mode.

4/12
Coming to the modes of Cisco IOS, the Cisco IOS has five command line modes. Setup mode
User EXEC mode.

Setup mode
User EXEC mode
Privileged EXEC mode
Global configuration mode
Specific Configuration mode

Setup mode
Setup mode is the initial configuration mode of Cisco switches and routers. They start in
setup mode when no startup configuration exists in NVRAM. After completion of the setup
mode, the Cisco IOS transitions to user EXEC mode.

User EXEC mode


The user EXEC mode is the normal operation mode on Cisco switches and routers. The Cisco
IOS user EXEC prompt is the switch or router name followed by the ‘greater than’ character
5/12
>. We can see all the commands available in user EXEC prompt by typing ‘?’

Privileged EXEC mode


Privileged EXEC mode is the advanced operation mode of Cisco IOS. It has been designed to
restrict access to IOS commands that can have adverse effects on the Cisco device and its
configuration. To enter privileged EXEC mode type “enable” or “en” .Privileged EXEC prompt
is comprised of the switch or router name followed by the # character. To exit the privileged
EXEC prompt type “disable”.

6/12
To see the commands available in privileged EXEC prompt, type?.

7/12
Global Configuration mode
The global configuration mode is comprised of commands pertaining to the entire Cisco
device. In other words, if we need to execute commands to modify the behavior of either
the whole switch or the whole router we need to set the IOS in global configuration mode.
Global configuration mode can only be enabled from privileged EXEC mode by typing
“config t” or “conf t” commands. The prompt in this mode is comprised of the device name
followed by “( config)#”.

8/12
See the commands available in this mode by typing ‘?’. If we need to execute a command not
available in the global configuration mode we should prefix the command by “do”.

9/12
Specific configuration mode
The specific configuration mode is used for commands that affect the configuration of
either just one part or range of components of the Cisco device. Suppose we want to work
on a few interfaces (or ports) on our switch or router we need to enable specific
configuration mode. We can enable specific configuration mode only from the global
configuration mode by selecting the components we want to work with. The prompt in this
mode is comprised of the router or switch host name followed by “( config-< component
>)#”. Let’s select interface fastethernet 0/ 1 by typing “interface fastethernet 0/ 1” or “int
f0/ 1”.

10/12
If we want to run a command not available in specific configuration mode prefix the
command by “do”. For example, run the command “do show running-config” or “do show
runn” in specific configuration mode

11/12
12/12

You might also like