You are on page 1of 33

Network device and configuration

Device Configuration

Baessa K.

Mettu University
Faculty of Engineering and Technology
Department of Information Technology

Target Group — B.Sc in Information Technology Students

December 11, 2020


Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 1 / 33
Lecture Topics : #

1 Cisco’s Internetworking Operating System (IOS)


Accessing a Cisco IOS Device
Navigating the IOS
The Command Structure

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 2 / 33


Cisco’s Internetworking Operating System (IOS)

Outline

1 Cisco’s Internetworking Operating System (IOS)


Accessing a Cisco IOS Device
Navigating the IOS
The Command Structure

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 3 / 33


Cisco’s Internetworking Operating System (IOS)

Cisco’s Internetworking Operating Systems

• Collection of network operating systems used on Cisco devices


• The Cisco Internetwork Operating System (IOS) is the kernel of Cisco
routers as well as all current Catalyst switches.
• A kernel is indispensable part of an operating system that
→ allocates resources and
→ manages tasks like low-level hardware interfaces and security.
• All networking equipment dependent on operating systems
• End users (PCs, laptops, smart phones, tablets)
• Switches
• Routers
• Wireless access points
• Firewalls

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 4 / 33


Cisco’s Internetworking Operating System (IOS)

Cisco’s Internetworking Operating Systems . . .

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 5 / 33


Cisco’s Internetworking Operating System (IOS)

Purpose of Cisco IOS

• Switch or router IOS provides options to


• Configure interfaces
• Enable routing and switching functions
• All networking devices come with a default IOS
• Possible to upgrade the IOS version or feature set

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 6 / 33


Cisco’s Internetworking Operating System (IOS)

Location of the Cisco IOS

• IOS stored in Flash


• Non-volatile storage – not lost when power is lost
• Can be changed or overwritten as needed
• Can be used to store multiple versions of IOS
• IOS copied from flash to volatile RAM
• Quantity of flash and RAM memory determines IOS that can be used

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 7 / 33


Cisco’s Internetworking Operating System (IOS)

Cisco IOS Functions

• The Cisco IOS is a proprietary kernel that provides routing, switching,


internetworking, and telecommunications features.
• The first IOS was written by William Yeager in 1986 and enabled
networked applications.
• It runs on most Cisco routers as well as a growing number of Cisco
Catalyst switches, like the Catalyst 2960 and 3560 series switches.

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 8 / 33


Cisco’s Internetworking Operating System (IOS)

Cisco IOS Functions . . .

Cisco router IOS software is responsible for:


1 Carrying network protocols and functions

2 Connecting high-speed traffic between devices


3 Adding security to control access and stop unauthorized network use
4 Providing scalability for ease of network growth and redundancy
5 Supplying network reliability for connecting to network resources

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 9 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Outline

1 Cisco’s Internetworking Operating System (IOS)


Accessing a Cisco IOS Device
Navigating the IOS
The Command Structure

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 10 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Connecting to a Cisco IOS Device

• We connect to a Cisco device to configure it, verify its configuration,


and check statistics.
• Although there are different approaches to this
1 Console Access Method
2 Telnet, SSH, and AUX Access Methods
3 Terminal Emulation Programs

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 11 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Console Access Method

• The console port is usually an RJ-45, 8-pin modular connection


located at the back of the device.
• there may or may not be a password set on it by default.
• The new ISR routers use cisco as the username and cisco as the
password by default.

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 12 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Console Access Method

• Need a special console cable


• Allows configuration commands to be entered
• Should be configured with passwords to prevent unauthorized access
• Device should be located in a secure room so console port can not be
easily accessed

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 13 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods

Telnet
• The other way to connect to a Cisco device is in-band(Telnet or
SSH).
• In-band means configuring the device via the network, the opposite of
out-of-band.
• Method for remotely accessing the CLI over a network
• Require active networking services and one active interface that is
configured

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 14 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods . . .

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 15 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods . . .

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 16 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods . . .

Secure Shell (SSH)


• Remote login similar to Telnet but utilizes more security
• Stronger password authentication
• Uses encryption when transporting data

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 17 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods . . .

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 18 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods . . .

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 19 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Telnet, SSH, and AUX Access Methods . . .


Aux Port
• Out-of-band connection
• attach to the auxiliary port if the router is down and you need to
configure it remotely, out-of-band.
• Uses telephone line
• It lets you dial up a remote router
• Can be used like console port
• it also allows you to configure modem commands so that a modem can
be connected to the router
• One of the differences between Cisco routers and switches is that
switches do not have an auxiliary port.

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 20 / 33


Cisco’s Internetworking Operating System (IOS) Accessing a Cisco IOS Device

Terminal Emulation Programs


• Software available for connecting to a networking device
• PuTTY
• Tera Term
• SecureCRT
• HyperTerminal
• OS X Terminal

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 21 / 33


Cisco’s Internetworking Operating System (IOS) Navigating the IOS

Outline

1 Cisco’s Internetworking Operating System (IOS)


Accessing a Cisco IOS Device
Navigating the IOS
The Command Structure

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 22 / 33


Cisco’s Internetworking Operating System (IOS) Navigating the IOS

Cisco IOS Modes of Operation I

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 23 / 33


Cisco’s Internetworking Operating System (IOS) Navigating the IOS

Primary Modes


Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 24 / 33
Cisco’s Internetworking Operating System (IOS) Navigating the IOS

Global Configuration Mode and Submodes

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 25 / 33


Cisco’s Internetworking Operating System (IOS) Navigating the IOS

Navigating between IOS Modes I

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 26 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

Outline

1 Cisco’s Internetworking Operating System (IOS)


Accessing a Cisco IOS Device
Navigating the IOS
The Command Structure

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 27 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

IOS Command Structure

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 28 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

Context Sensitive Help I

• You can use the Cisco advanced editing features to help you configure
your router.
• If you type in a question mark (?) at any prompt, you’ll be given a
list of all the commands available from that prompt:
1 Router ( config ) #?

• Plus, at this point you can press the spacebar to get another page of
information, or you can press Enter to go one command at a time.
• You can also press Q (or any other key, for that matter) to quit and
return to the prompt.

• To find commands that start with a certain letter, use the letter and
the question mark with no space between them.

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 29 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

Context Sensitive Help II

• To find the next command in a string, type the first command and
then a question mark.

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 30 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

Context Sensitive Help III

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 31 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

IOS Examination Commands I

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 32 / 33


Cisco’s Internetworking Operating System (IOS) The Command Structure

IOS Examination Commands II

Baessa K. (Mettu University) 01 Device Configuration December 11, 2020 33 / 33

You might also like