Lecture9: Embedded Network Operating System: cisco IOS

Slides:



Advertisements
Similar presentations
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Advertisements

Cisco Router. Overview Understanding and configuring the Cisco Internetwork Operating System (IOS) Connecting to a router Bringing up a router Logging.
Router Components Semester 2 Chapter 4. Table of Contents More on Components The Show Command Network Neighbor Routers Basic Network Testing.
WXES2106 Network Technology Semester /2005 Chapter 5 Routers CCNA2: Module 1 and 2.
Institute of Technology Sligo - Dept of Computing Router Components Semester 2 Chapter 4 Paul Flynn.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
CCNA 2 v3.1 Module 2.
WANs and Routers Routers. Router Description Specialized computer Like a general purpose PC, a router has:  CPU  Memory  System Bus Connecting Internal.
Chapter 9 Managing a Cisco Internetwork Cisco Router Components Bootstrap - Brings up the router during initialization POST - Checks basic functionality;
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Sybex CCNA Chapter 7: Managing a Cisco Internetwork Instructor & Todd Lammle.
1 © 2002, Cisco Systems, Inc. All rights reserved. Router boot procedure.
Cisco 2 - Routers Perrine & modified by Brierley Page 18/18/2015 Chapter 5 IOS Internet Operating System (IOS)
© 2004 Cisco Systems, Inc. All rights reserved. Managing Your Network Environment Managing Router Startup and Configuration INTRO v2.0—9-1.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Introduction to OSPF Campus Networking Workshop These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license.
Routers A router is a computer Computers have four basic components:
CISCO NETWORKING ACADEMY Chabot College ELEC Router Components & “Show” Commands.
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
Basic Router Configuration Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 9: Managing a Cisco Internetwork.
CISCO ROUTER.  The Cisco router IOS  Enhanced editing  Administrative functions  Hostnames  Banners  Passwords  Interface descriptions  Verifying.
CCNA2 Chapter 1 Wide Area Networks and Routers. WAN is a data communications network that operates beyond a LAN’s geographic scope. Users subscribe to.
Ch.2 – Introduction to Routers
Instructor & Todd Lammle
CCNA Guide to Cisco Networking
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Instructor & Todd Lammle
1 Data Forwarding Basic Router Configuration. Overview In this session, we sill be looking at  Review : router backplane Ethernet, console and serial.
Ch.2 – Introduction to Routers
Configuring a Router. Router user interface The Cisco IOS software uses a command-line interface (CLI) as the traditional console environment. This environment.
By Joe Elkins Password Recovery for Cisco Routers (aka Breaking a Cisco Router)
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 2 Introduction to Routers.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Chapter 5 Managing a Cisco Internetwork
Ch.2 – Introduction to Routers CCNA 2 version 3.0 Rick Graziani Cabrillo College.
Introduction to Routers
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
IST 228\Ch7: Managing Cisco...1 Router Components: ROM Read-only memory (ROM) Stores: –the bootstrap program, also called the ROM Monitor, that initializes.
IOS Internetwork Operating System. IOS modes and ROM monitor Router>EXEC mode Router#Priviledge mode Router(config)#Global config m Router(config-if)#Interface.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
Router Components & Configuration. Router Components & Configurations Topics Physical components Memory components Configuration modes Keystroke shortcuts.
Instructor Materials Chapter 8 Configuring Cisco Devices
Managing a Cisco Devices Internetwork
Instructor & Todd Lammle
WANs and Routers.
CIT 384: Network Administration
Introduction to Cisco IOS -(Internetwork Operating System)
Router Startup and Setup
Instructor & Todd Lammle
Introduction to Networking
Chapter 5: Switch Configuration
Configuring a Router Module 3 Semester 2.
Routers & Cisco IOS.
Instructor & Todd Lammle
Instructor & Todd Lammle
Router Startup and Setup
Cisco networking CNET-448
Introduction to Cisco IOS -(Internetwork Operating System)
Lecture9: Embedded Network Operating System: cisco IOS
資訊網路專題 Router & Practice
Managing Cisco IOS Software
Routers and Routing Basics Review
CCNA 2 2 Double JEOPARDY Midterm REVIEW S2C06 Jeopardy Review.
Presentation transcript:

Lecture9: Embedded Network Operating System: cisco IOS

Embedded Operating System & cisco IOS Is a type of operating system that is embedded and specifically configured for a certain hardware configuration.  CISCO IOS (Internetwork Operating System)  Is a kind of Embedded operating system that is multitasking used on most cisco routers and switches.

Cisco OS Components Bootstrap – stored in ROM microcode – brings router up during initialization, boots router and loads the IOS (Internet Operating System). POST – Power On Self Test - stored in ROM microcode – checks for basic functionality of router hardware and determines which interfaces are present ROM Monitor – stored in ROM microcode – used for manufacturing, testing and troubleshooting Mini-IOS – a.k.a RXBOOT/boot loader by Cisco – small IOS ROM used to bring up an interface and load a Cisco IOS into flash memory.

Router Components RAM – holds packet buffers, ARP cache, routing table, software and data structure that allows the router to function; running-config is stored in RAM, as well as the decompressed IOS in later router models ROM – starts and maintains the router Flash memory – holds the IOS Not erased when the router is reloaded It is an EEPROM [Electrically Erasable Programmable Read-Only Memory] created by Intel NVRAM – Non-Volatile RAM - holds router configuration; is not erased when router is reloaded

Router Components Config-Register controls how router boots; value can be seen with “show version” command; Config-Register functions: :

Purpose of the Config Register Functions of the config-register: Select a boot source and default boot filename Enable/Disable the Break function Control broadcast addresses Set console terminal baud rate Baud rate is the number of signal units transmitted per second and one signal unit is able to represent one or more bits. Load operating software from ROM Load the IOS from flash memory Load the startup-config file from NVRAM

Overview Router configuration controls the operation of the router’s: Interface IP address and netmask Routing information (static, dynamic or default) Boot and startup information Security (passwords and authentication)

Where is the Configuration? Can also be stored in more permanent places: External hosts, using TFTP (Trivial File Transfer Protocol) In flash memory in the router

Router Access Modes User EXEC mode – limited examination of router Privileged EXEC mode – detailed examination of router, debugging, testing, file manipulation. ROM Monitor – useful for password recovery & new IOS upload session Setup Mode – available when router has no startup-config file

Router Prompts – How to tell where you are on the router You can tell in which area of the router’s configuration you are by looking at the router prompts: Router> – User EXEC mode Router# – PRIVILEGED EXEC mode Router(config) – terminal configuration prompt Router(config-if) – interface configuration prompt Router(config-subif) – sub-interface configuration prompt

Goal of startup The goal of the startup routines for Cisco IOS software is to start the router operations. To do this, the startup routines must accomplish the following: Make sure that the router hardware is tested and functional. Find and load the Cisco IOS software. Find and apply the startup configuration file or enter the setup mode.

Startup Steps Step 1: Cisco router powers up, Step 2: Performs a power-on self test (POST). Step 3: The generic bootstrap loader in ROM executes. Step 4: The operating system image is loaded. Step 5: The configuration file saved in NVRAM is loaded into main memory and executed one line at a time. Step 6: If no valid configuration file exists in NVRAM, the operating system searches for an available TFTP server. If no TFTP server is found, the setup dialog is initiated.

Initial startup of Cisco routers The six steps in the previous slide is summed up here:

External Configuration Sources Console Direct PC serial access Auxiliary port Modem access Virtual terminals Telnet/SSH access TFTP Server Copy configuration file into router RAM Network Management Software e.g. CiscoWorks

Console access  Console access is usually used to configure newly acquired devices. These devices usually don’t have an IP address configured, and therefore can not be accessed through the network. Most of the Cisco devices have a physical console port. This port can be connected to a computer using a rollover cable,

Telnet access This type of access used to be a common way to access network devices. Telnet is a terminal emulation program that enables you to access IOS through the network and configure the device remotely. The device that is being configured needs to have an Telnet server installed and an IP address configured. Telnet uses a well known TCP port 23

SSH Access This access type enables you to configure devices remotely. It adds an extra layer of security by encrypting all communications using public-key cryptography. SSH uses well known TCP port 22. 

Looking at the Configuration Use “show running-configuration” to see the current configuration Use “show startup-configuration” to see the configuration in NVRAM, that will be loaded the next time the router is rebooted or reloaded

Connecting your FreeBSD machine to the Router’s Console port Look at your running configuration Configure an IP address for fast Ethernet interface depending on your table Look at your running configuration and your startup configuration Check what difference there is, if any

Deleting your Router’s Configuration To delete your router’s configuration Router#erase startup-config OR Router#write erase Router#reload Router will start up again, but in setup mode, since startup-config file does not exists

Disaster Recovery – ROM Monitor ROM Monitor is very helpful in recovering from emergency failures such as: Password recovery Upload new IOS into router with NO IOS installed Selecting a boot source and default boot filename Set console terminal baud rate to upload new IOS quicker Load operating software from ROM Enable booting from a TFTP server

Getting to the ROM Monitor Windows using HyperTerminal for the console session Ctrl-Break FreeBSD/UNIX using Tip for the console session <Enter>, then ~# OR Ctrl-], then Break or Ctrl-C Linux using Minicom for the console session Ctrl-A F

Disaster Recovery: How to Recover a Lost Password Connect your PC’s serial port to the router’s console port Configure your PC’s serial port: 9600 baud rate No parity 8 data bits 1 stop bit No flow control

Disaster Recovery: How to Recover a Lost Password Your configuration register should be 0x2102; use “show version” command to check Reboot the router and apply the Break-sequence within 60 seconds of powering the router, to put it into ROMMON mode Rommon 1>confreg 0x2142 Rommon 2>reset Router reboots, bypassing startup-config file