Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

 Introduction to Networks v7.0


    

 /  Basic Switch and End Device Conguration /  IOS Navigation


Introduction to Networks

1
IOS Navigation
Networking Today 

2.2.1
Basic Switch and End Device
2 Conguration 
Primary Command Modes 

2.0 Introduction 

2.1 Cisco IOS Access  In the previous topic, you learned that all network devices require an OS and that they can be congured using the CLI or a GUI.
Using the CLI may provide the network administrator with more precise control and exibility than using the GUI. This topic
discusses using CLI to navigate the Cisco IOS.
2.1.1 Operating Systems

As a security feature, the Cisco IOS software separates management access into the following two command modes:
2.1.2 GUI
User EXEC Mode - This mode has limited capabilities but is useful for basic operations. It allows only a limited number of
basic monitoring commands but does not allow the execution of any commands that might change the conguration of the
2.1.3 Purpose of an OS
device. The user EXEC mode is identied by the CLI prompt that ends with the > symbol.
Privileged EXEC Mode - To execute conguration commands, a network administrator must access privileged EXEC mode.
2.1.4 Access Methods Higher conguration modes, like global conguration mode, can only be reached from privileged EXEC mode. The privileged
EXEC mode can be identied by the prompt ending with the # symbol.

2.1.5 Terminal Emulation Programs


The table summarizes the two modes and displays the default CLI prompts of a Cisco switch and router.
Check Your Understanding - Cisco
2.1.6
IOS Access Default Device
Command Mode Description
Prompt
2.2 IOS Navigation  Mode allows access to only a limited number of basic monitoring
commands. Switch>
User Exec Mode
2.2.1 Primary Command Modes It is often referred to as “view-only" mode. Router>

Conguration Mode and


2.2.2 Mode allows access to all commands and features.
Subconguration Modes
The user can use any monitoring commands and execute conguration Switch#
Privileged EXEC Mode
and management commands. Router#
Video - IOS CLI Primary Command
2.2.3
Modes

2.2.4 Navigate Between IOS Modes

2.2.2
Video - Navigate Between IOS
2.2.5
Modes

A Note About Syntax Checker


Conguration Mode and Subconguration Modes 

2.2.6
Activities

Syntax Checker - Navigate To congure the device, the user must enter global conguration mode, which is commonly called global cong mode.
2.2.7
Between IOS Modes
From global cong mode, CLI conguration changes are made that aect the operation of the device as a whole. Global
Check Your Understanding - IOS
2.2.8 conguration mode is identied by a prompt that ends with (cong)# after the device name, such as Switch(cong)#.
Navigation

Global conguration mode is accessed before other specic conguration modes. From global cong mode, the user can enter
2.3 The Command Structure  dierent subconguration modes. Each of these modes allows the conguration of a particular part or function of the IOS device.
Two common subconguration modes include:
2.4 Basic Device Conguration 
Line Conguration Mode - Used to congure console, SSH, Telnet, or AUX access.
Interface Conguration Mode - Used to congure a switch port or router network interface.
2.5 Save Congurations 
When the CLI is used, the mode is identied by the command-line prompt that is unique to that mode. By default, every prompt
2.6 Ports and Addresses  begins with the device name. Following the name, the remainder of the prompt indicates the mode. For example, the default
prompt for line conguration mode is Switch(cong-line)# and the default prompt for interface conguration mode is
Switch(cong-if)#.
2.7 Congure IP Addressing 

2.8 Verify Connectivity 

2.2.3
2.9 Module Practice and Quiz 
Video - IOS CLI Primary Command Modes 

3 Protocols and Models 

Click Play in the gure to view a video demonstration of navigating between IOS modes.
4 Physical Layer 

5 Number Systems 

6 Data Link Layer 

7 Ethernet Switching 

8 Network Layer 

9 Address Resolution 

10 Basic Router Conguration 

11 IPv4 Addressing  2:33

12 IPv6 Addressing 
2.2.4

13 ICMP  Navigate Between IOS Modes 

14 Transport Layer 
Various commands are used to move in and out of command prompts. To move from user EXEC mode to privileged EXEC mode,
use the enable command. Use the disable privileged EXEC mode command to return to user EXEC mode.

15 Application Layer 
Note: Privileged EXEC mode is sometimes called enable mode.

Network Security To move in and out of global conguration mode, use the congure terminal privileged EXEC mode command. To return to the
16 Fundamentals  privileged EXEC mode, enter the exit global cong mode command.

There are many dierent subconguration modes. For example, to enter line subconguration mode, you use the line command
17 followed by the management line type and number you wish to access. Use the exit command to exit a subconguration mode
Build a Small Network 
and return to global conguration mode.

Switch(config)# line console 0


Switch(config-line)# exit
Switch(config)#

To move from any subconguration mode of the global conguration mode to the mode one step above it in the hierarchy of
modes, enter the exit command.

To move from any subconguration mode to the privileged EXEC mode, enter the end command or enter the key combination
Ctrl+Z.

Switch(config-line)# end
Switch#

You can also move directly from one subconguration mode to another. Notice how after selecting an interface, the command
prompt changes from (cong-line)# to (cong-if)#.

Switch(config-line)# interface FastEthernet 0/1


Switch(config-if)#

2.2.5

Video - Navigate Between IOS Modes 

Click Play in the gure to view a video demonstration of how to move between various IOS CLI modes.

3:52

2.2.6

A Note About Syntax Checker Activities 

When you are learning how to modify device congurations, you might want to start in a safe, non-production environment
before trying it on real equipment. NetAcad gives you dierent simulation tools to help build your conguration and
troubleshooting skills. Because these are simulation tools, they typically do not have all the functionality of real equipment. One
such tool is the Syntax Checker. In each Syntax Checker, you are given a set of instructions to enter a specic set of commands.
You cannot progress in Syntax Checker unless the exact and full command is entered as specied. More advanced simulation
tools, such as Packet Tracer, let you enter abbreviated commands, much as you would do on real equipment.

2.2.7

Syntax Checker - Navigate Between IOS Modes 

Use the Syntax Checker activity to navigate between IOS command lines on a switch.

Enter VTY line subconguration mode using the line vty 0 15 command.

Switch(config)# line vty 0 15

Return to global conguration mode.


Switch(config-line)# exit

Enter the VLAN 1 interface subconguration mode using the interface vlan 1 command.

Introduction to Networks
Switch(config)# interface vlan 1

F i t f  ti d it h t li l b  ti d i th li l 0 l b l
1 Networking Today  Reset Show Me Show All

Basic Switch and End Device


2 Conguration 

2.2.8
2.0 Introduction 
Check Your Understanding - IOS Navigation 
2.1 Cisco IOS Access 

2.1.1 Operating Systems

 Check your understanding of IOS navigation by choosing the correct answer to the following questions.
2.1.2 GUI

1. Which IOS mode allows access to all commands and features?


2.1.3 Purpose of an OS

Global conguration mode


2.1.4 Access Methods
Interface subconguration mode

Line console subconguration mode


2.1.5 Terminal Emulation Programs
Privileged EXEC mode
Check Your Understanding - Cisco User EXEC mode
2.1.6
IOS Access

2. Which IOS mode are you in if the Switch(cong)# prompt is displayed?


2.2 IOS Navigation 
Global conguration mode
2.2.1 Primary Command Modes
Interface subconguration mode

Conguration Mode and Line console subconguration mode


2.2.2
Subconguration Modes
Privileged EXEC mode

Video - IOS CLI Primary Command User EXEC mode


2.2.3
Modes

3. Which IOS mode are you in if the Switch> prompt is displayed?


2.2.4 Navigate Between IOS Modes
Global conguration mode
Video - Navigate Between IOS
2.2.5 Interface subconguration mode
Modes
Line console subconguration mode
A Note About Syntax Checker
2.2.6
Activities Privileged EXEC mode

User EXEC mode


Syntax Checker - Navigate
2.2.7
Between IOS Modes
4. Which two commands would return you to the privileged EXEC prompt
Check Your Understanding - IOS regardless of the conguration mode you are in? (Choose two.)
2.2.8
Navigation
 CTRL+Z
2.3 The Command Structure  disable Check
enable
2.4 Basic Device Conguration  Show Me
 end

2.5 Save Congurations  exit


Reset

2.6 Ports and Addresses 

 
2.1 2.3
2.7 Congure IP Addressing  Cisco IOS Access The Command Structure

2.8 Verify Connectivity 

2.9 Module Practice and Quiz 

3 Protocols and Models 

4 Physical Layer 

5 Number Systems 

6 Data Link Layer 

7 Ethernet Switching 

8 Network Layer 

9 Address Resolution 

10 Basic Router Conguration 

11 IPv4 Addressing 

12 IPv6 Addressing 

13 ICMP 

14 Transport Layer 

15 Application Layer 

Network Security
16 Fundamentals 

17 Build a Small Network 

You might also like