Professional Documents
Culture Documents
IOS Navigation: Primary Command Modes
IOS Navigation: Primary Command Modes
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.2.2
Video - Navigate Between IOS
2.2.5
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.2.3
2.9 Module Practice and Quiz
Video - IOS CLI Primary Command Modes
Click Play in the gure to view a video demonstration of navigating between IOS modes.
4 Physical Layer
5 Number Systems
7 Ethernet Switching
8 Network Layer
9 Address Resolution
12 IPv6 Addressing
2.2.4
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.
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)#.
2.2.5
Click Play in the gure to view a video demonstration of how to move between various IOS CLI modes.
3:52
2.2.6
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
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.
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
2.2.8
2.0 Introduction
Check Your Understanding - IOS Navigation
2.1 Cisco IOS Access
Check your understanding of IOS navigation by choosing the correct answer to the following questions.
2.1.2 GUI
2.1 2.3
2.7 Congure IP Addressing Cisco IOS Access The Command Structure
4 Physical Layer
5 Number Systems
7 Ethernet Switching
8 Network Layer
9 Address Resolution
11 IPv4 Addressing
12 IPv6 Addressing
13 ICMP
14 Transport Layer
15 Application Layer
Network Security
16 Fundamentals