3.0 Network Layer Part 7
3.0 Network Layer Part 7
Module Objective: Implement initial settings including passwords, IP addressing, and default gateway
parameters on a network switch and end devices.
The Command Structure Describe the command structure of Cisco IOS software.
Ports and Addresses Explain how devices communicate across network media.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
3.2.1 Explain how to access
a Cisco IOS device for
configuration purposes.
2.1 Cisco IOS Access
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Cisco IOS Access
Operating Systems
• All end devices and network devices require an operating system
(OS).
• The portion of the OS that interacts directly with computer hardware
is known as the kernel.
• The portion that interfaces with applications and the user is known
as the shell.
• The user can interact with the shell using a command-line
interface (CLI) or a graphical user interface (GUI).
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Cisco IOS Access
Operating Systems (cont..)
• Shell - The user interface that allows
users to request specific tasks from
the computer. These requests can be
made either through the CLI or GUI
interfaces.
• Kernel - Communicates between the
hardware and software of a computer
and manages how hardware
resources are used to meet software
requirements.
• Hardware - The physical part of a
computer including underlying
electronics.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
Cisco IOS Access
Operating Systems (cont..)
When using a CLI, the user interacts directly with the system in a text-based
environment by entering commands on the keyboard at a command prompt.
The system executes the command, often providing textual output.
The CLI requires very little overhead to operate. However, it does require that
the user have knowledge of the underlying command structure that controls the
system.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Cisco IOS Access
GUI
• A GUI allows the user to interact with the
system using an environment of
graphical icons, menus, and windows.
• A GUI is more user-friendly and requires
less knowledge of the underlying
command structure that controls the
system.
• Examples of these are: Windows,
macOS, Linux KDE, Apple iOS and
Android.
• GUIs can fail, crash, or simply not
operate as specified. For these reasons,
network devices are typically accessed
through a CLI.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Cisco IOS Access
Purpose of an OS
PC operating system enables a user to do CLI-based network operating system enables a
the following: network technician to do the following:
• Use a mouse to make selections • Use a keyboard to run CLI-based
and run programs network programs
• Use a keyboard to enter text and
• Enter text and text-based
text-based commands
commands
• View output on a monitor
• View output on a monitor
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Cisco IOS Access
Access Methods
• Console – A physical management port
used to access a device in order to
provide maintenance, such as
performing the initial configurations.
• Secure Shell (SSH) – Establishes a
secure remote CLI connection to a
device, through a virtual interface, over a
network. (Note: This is the recommended
method for remotely connecting to a
device.)
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Cisco IOS Access
Class Activity
• Search and install terminal emulation programs (PuTTY,
Tera Term or SecureCRT) on your computer.
• 2.1.6 Check Your Understanding - Cisco IOS Access
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
3.2.2 Explain how to navigate Cisco
IOS to configure network devices.
2.2 IOS Navigation
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
IOS Navigation
Primary Command Modes
In the previous topic, you learned that all network devices require an OS and that they can be
configured using the CLI or a GUI.
Using the CLI may provide the network administrator with more precise control and flexibility
than using the GUI. This topic discusses using CLI to navigate the Cisco IOS.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
IOS Navigation
Configuration Mode and Subconfiguration Modes
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
IOS Navigation
2.2.3 Video – IOS CLI Primary Command Modes
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
IOS Navigation
Navigation Between IOS Modes
Privileged EXEC Mode:
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
IOS Navigation
2.2.5 Video – Navigation Between IOS Modes
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
IOS Navigation
Class Activity
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
3.2.3 Describe the command
structure of Cisco IOS software.
2.3 The Command Structure
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
The Command Structure
Basic IOS Command Structure
Each IOS command has a specific format, or syntax, and can only be executed in the appropriate mode.
The general syntax for a command, shown in the figure, is the command followed by any appropriate
keywords and arguments.
After entering each complete command, including any keywords and arguments, press the Enter key to
submit the command to the command interpreter.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
The Command Structure
IOS Command Syntax Check
A command might require one or more arguments. To determine the keywords and arguments
required for a command, refer to the command syntax.
• Boldface text indicates commands and keywords that are entered as shown.
• Italic text indicates an argument for which the user provides the value.
Convention Description
Boldface text indicates commands and keywords that you enter literally as
boldface
shown.
italics Italic text indicates arguments for which you supply values.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
The Command Structure
IOS Command Syntax Check (Cont.)
The command syntax provides the pattern, or format, that must be used when
entering a command.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
The Command Structure
IOS Help Features
The IOS has two forms of help available: context-sensitive help and command
syntax check.
• Context-sensitive help enables you to • Command syntax check verifies that
quickly find answers to these questions: a valid command was entered by
• Which commands are available in each command the user.
mode? • If the interpreter cannot understand the
• Which commands start with specific characters or command being entered, it will provide
group of characters? feedback describing what is wrong with
the command.
• Which arguments and keywords are available to
particular commands?
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
The Command Structure
2.3.4 Video – Context Sensitive Help and Command Syntax
Checker
This video will cover the following:
• Use the help command in user EXEC, privileged EXEC, and global config mode
• Finish commands and arguments with the help command
• Use the command syntax checker to fix syntax errors and incomplete commands
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
The Command Structure
Hot Keys and Shortcuts
• The IOS CLI provides hot keys and shortcuts that make configuring, monitoring, and
troubleshooting easier.
• Commands and keywords can be shortened to the minimum number of characters
that identify a unique selection. For example, the configure command can be
shortened to conf because configure is the only command that begins with conf.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
The Command Structure
Hot Keys and Shortcuts (Cont.)
The table below is a brief list of keystrokes to enhance command line editing .
Keystroke Description
Left Arrow or Ctrl+B Moves the cursor one character to the left.
Right Arrow or Ctrl+F Moves the cursor one character to the right.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
The Command Structure
Hot Keys and Shortcuts (Cont.)
• When a command output produces more text
than can be displayed in a terminal window, • The table below lists commands that can
the IOS will display a “--More--” prompt. The be used to exit out of an operation.
table below describes the keystrokes that
can be used when this prompt is displayed.
Ends the display string, returning to All-purpose break sequence used to abort DNS
Any other key Ctrl-Shift-6
privileged EXEC mode. lookups, traceroutes, pings, etc.
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
The Command Structure
2.3.6 Video – Hot Keys and Shortcuts
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
The Command Structure
Packet Tracer – Navigate the IOS
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
The Command Structure
Packet Tracer - Navigate the IOS by Using Tera Term for Console
Connectivity – Physical Mode
Lab - Navigate the IOS by Using Tera Term for Console
Connectivity
In both the Packet Tracer Physical Mode activity and in the Lab, you will complete the following
objectives:
Access a Cisco Switch through the Serial Console Port
Access a Cisco Router Using a Mini-USB Console Cable (Note: This objective is optional in the
Lab.)
© 2019, 2021 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32