Introduction to Networks v7.0
/ Basic Switch and End Device Conguration / IOS Navigation
Introduction to Networks
1
IOS Navigation
Networking Today
2.2.1
Basic Switch and End Device
2 Conguration
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 congured 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 conguration of the
2.1.3 Purpose of an OS
device. The user EXEC mode is identied by the CLI prompt that ends with the > symbol.
Privileged EXEC Mode - To execute conguration commands, a network administrator must access privileged EXEC mode.
2.1.4 Access Methods Higher conguration modes, like global conguration mode, can only be reached from privileged EXEC mode. The privileged
EXEC mode can be identied 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>
Conguration Mode and
2.2.2 Mode allows access to all commands and features.
Subconguration Modes
The user can use any monitoring commands and execute conguration 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
Conguration Mode and Subconguration Modes
2.2.6
Activities
Syntax Checker - Navigate To congure the device, the user must enter global conguration mode, which is commonly called global cong mode.
2.2.7
Between IOS Modes
From global cong mode, CLI conguration changes are made that aect the operation of the device as a whole. Global
Check Your Understanding - IOS
2.2.8 conguration mode is identied by a prompt that ends with (cong)# after the device name, such as Switch(cong)#.
Navigation
Global conguration mode is accessed before other specic conguration modes. From global cong mode, the user can enter
2.3 The Command Structure dierent subconguration modes. Each of these modes allows the conguration of a particular part or function of the IOS device.
Two common subconguration modes include:
2.4 Basic Device Conguration
Line Conguration Mode - Used to congure console, SSH, Telnet, or AUX access.
Interface Conguration Mode - Used to congure a switch port or router network interface.
2.5 Save Congurations
When the CLI is used, the mode is identied 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 conguration mode is Switch(cong-line)# and the default prompt for interface conguration mode is
Switch(cong-if)#.
2.7 Congure 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 Conguration
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 conguration mode, use the congure terminal privileged EXEC mode command. To return to the
16 Fundamentals privileged EXEC mode, enter the exit global cong mode command.
There are many dierent subconguration modes. For example, to enter line subconguration 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 subconguration mode
Build a Small Network
and return to global conguration mode.
Switch(config)# line console 0
Switch(config-line)# exit
Switch(config)#
To move from any subconguration mode of the global conguration mode to the mode one step above it in the hierarchy of
modes, enter the exit command.
To move from any subconguration 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 subconguration mode to another. Notice how after selecting an interface, the command
prompt changes from (cong-line)# to (cong-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 congurations, you might want to start in a safe, non-production environment
before trying it on real equipment. NetAcad gives you dierent simulation tools to help build your conguration 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 specic set of commands.
You cannot progress in Syntax Checker unless the exact and full command is entered as specied. 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 subconguration mode using the line vty 0 15 command.
Switch(config)# line vty 0 15
Return to global conguration mode.
Switch(config-line)# exit
Enter the VLAN 1 interface subconguration 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 Conguration
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 conguration mode
2.1.4 Access Methods
Interface subconguration mode
Line console subconguration 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(cong)# prompt is displayed?
2.2 IOS Navigation
Global conguration mode
2.2.1 Primary Command Modes
Interface subconguration mode
Conguration Mode and Line console subconguration mode
2.2.2
Subconguration 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 conguration mode
Video - Navigate Between IOS
2.2.5 Interface subconguration mode
Modes
Line console subconguration 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 conguration mode you are in? (Choose two.)
2.2.8
Navigation
CTRL+Z
2.3 The Command Structure disable Check
enable
2.4 Basic Device Conguration Show Me
end
2.5 Save Congurations exit
Reset
2.6 Ports and Addresses
2.1 2.3
2.7 Congure 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 Conguration
11 IPv4 Addressing
12 IPv6 Addressing
13 ICMP
14 Transport Layer
15 Application Layer
Network Security
16 Fundamentals
17 Build a Small Network