http://computernetworkingnotes.com/ccna-study-guide/cisco-ios-naming-convention-explainedwith-examples.html



Similar documents
Table of Contents. Cisco How to Download a Software Image to a Cisco 2600 through TFTP Using the tftpdnld ROMmon Command

Table of Contents. Cisco How to Download a Software Image to a Cisco 2600 via TFTP Using the tftpdnld ROMmon Command

Lab 8.4.3b Managing Cisco IOS images with ROMMON and TFTP

3.1 Connecting to a Router and Basic Configuration

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Lab Diagramming Intranet Traffic Flows

ROM Monitor. Entering the ROM Monitor APPENDIX

Router Recovery with ROM Monitor

How To Install Cisco Asr 9000 Series Router Software On A Mini Mini Mini (Cisco Ios) Router

Lab 8.4.3a Managing Cisco IOS Images with TFTP

Basic Router and Switch Instructions (Cisco Devices)

Lab Diagramming External Traffic Flows

Recover a Router from Corrupted or Missing Software Image

CCNA 2 Chapter 5. Managing Cisco IOS Software

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Lab 5.3.9b Managing Router Configuration Files Using TFTP

Applicazioni Telematiche

Backing Up and Restoring Data

Lab Analyzing Network Traffic

- Advanced IOS Functions -

Packet Tracer 3 Lab VLSM 2 Solution

File Transfers. Contents

Honeywell Internet Connection Module

PIX/ASA: Upgrade a Software Image using ASDM or CLI Configuration Example

Lab 2 - Basic Router Configuration

How Do I Upgrade Firmware and Save Configurations on PowerConnect Switches?

Backup and Recovery Procedures

How To Backup In Cisco Uk Central And Cisco Cusd (Cisco) Cusm (Custodian) (Cusd) (Uk) (Usd).Com) (Ucs) (Cyse

Managing Software and Configurations

Syslog Server Configuration on Wireless LAN Controllers (WLCs)

DPS Telecom Your Partners in Network Alarm Management

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

Lab Creating a Logical Network Diagram

Virtual Appliance Setup Guide

Password Recovery Procedure for the Cisco 3600 and 3800 Series Routers

Lab Use Network Inspector to Observe STP Behavior

Lab Characterizing Network Applications

Upgrading Software Images on Catalyst Series Switches/routers

DRO-210i LOAD BALANCING ROUTER. Review Package Contents

Lab Configuring Access Policies and DMZ Settings

Lab Diagramming Traffic Flows to and from Remote Sites

CCNA Discovery Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations

Connecting to the Firewall Services Module and Managing the Configuration

Password Recovery Procedure for the Cisco 806, 826, 827, 828, 831, 836, 837 and 881 Series Routers

HOW TO CONFIGURE CISCO FIREWALL PART I

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Maintaining the Content Server

Contents. Platform Compatibility. Known Issues

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Password Recovery Procedure for the Cisco Catalyst 2948G L3, 4840G, and 4908G L3 Switch Routers

Configuring Devices for Use with Cisco Configuration Professional (CCP) 2.5

File Transfers. Contents

Virtual Managment Appliance Setup Guide

SonicOS Enhanced Release Notes TZ 180 Series and TZ 190 Series SonicWALL, Inc. Firmware Release: August 28, 2007

Half Bridge mode }These options are all found under Misc Configuration

[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX ] 1

Cisco Configuration Professional Quick Start Guide

ENetwork Basic Configuration PT Practice SBA

Ultra Thin Client TC-401 TC-402. Users s Guide

Lab Configure and Test Advanced Protocol Handling on the Cisco PIX Security Appliance

Skills Assessment Student Training Exam

Networking Guide Redwood Manager 3.0 August 2013

Lab assignment #2 IPSec and VPN Tunnels (Document version 1.1)

Virtual Web Appliance Setup Guide

Device Interface IP Address Subnet Mask Default Gateway

Deployment Guide: Transparent Mode

Installing the Operating System or Hypervisor

Basic Configuration of the Cisco Series Internet Router

Lab Advanced Telnet Operations

Release Notes for Dominion SX Firmware 3.1.6

Lab 4.4.8a Configure a Cisco GRE over IPSec Tunnel using SDM

- Basic Router Security -

Configure ISDN Backup and VPN Connection

Lab Load Balancing Across Multiple Paths

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Building a Network in GNS3

3.5 EXTERNAL NETWORK HDD. User s Manual

Configuring Check Point VPN-1/FireWall-1 and SecuRemote Client with Avaya IP Softphone via NAT - Issue 1.0

Upgrade your Software

Technical Note. Setting ACS drive IP address automatically with Rockwell BOOTP/DHCP Server. Contents

Lab Developing ACLs to Implement Firewall Rule Sets

Lab Configure Syslog on AP

How To - Implement Clientless Single Sign On Authentication with Active Directory

Lab Configure Basic AP Security through IOS CLI

Lab Configuring Access Policies and DMZ Settings

Release Notes. Contents. Release Purpose. Platform Compatibility. Windows XP and Internet Explorer 8 Update

Release Notes. Contents. Release Purpose. Platform Compatibility. Licensing on the SRA Appliances and Virtual Appliance

USER MANUAL GUIMGR Graphical User Interface Manager for FRM301/FRM401 Media Racks

Cisco Router Configuration Tutorial

GLBP - Gateway Load Balancing Protocol

Chapter 5 Managing Configuration Files and Software Versions

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Application Note Startup Tool - Getting Started Guide

Digi Connect Wan 3G Application Guide Update the firmware, backup and restore the configuration of a Digi Connect Wan 3G using a USB flash drive.

Configuring a Router

Configuring Settings on the Cisco Unified Wireless IP Phone 7925G

Update Firmware from GUI

Management Software. User s Guide AT-S84. For the AT-9000/24 Layer 2 Gigabit Ethernet Switch. Version Rev. B

Transcription:

IOS is the most critical part of any cisco device. We should always keep a backup copy of IOS to deal with any unwanted situation. In this article I will explain the backup and restore process of IOS in detail with example. We can use any supporting file transfer protocol for backup such as FTP, TFTP or RCP. In this article I will use TFTP for this process. This tutorial is last part of our article Cisco Internetworking Operating System (IOS) Explained with Examples. Other parts of this article are available here. Cisco IOS Naming Convention Explained with Examples This tutorial is first part of this article. In this part, I explained naming convention used in Cisco IOS. Cisco IOS name contains a lot of information about IOS such as features, type, version, platform, compression and location. Cisco IOS Mode Explained with Examples This tutorial is second part of this article. In this part, I explained Cisco IOS mode in detail with example. Different modes are used for different purpose. This tutorial will help you in choosing correct mode for assigned task. Cisco IOS Context Sensitive Help Features Explained http://computernetworkingnotes.com/ccna-study-guide/cisco-ios-naming-convention-explainedwith-examples.html http://computernetworkingnotes.com/ccna-study-guide/cisco-ios-mode-explained-withexamples.html http://computernetworkingnotes.com/ccna-study-guide/cisco-ios-context-sensitive-help-featuresexplained.html This tutorial is third part of this article. In this part, I explained How to get help in Cisco IOS in detail with examples. Knowing how get help will make your job easier as Cisco IOS includes thousands of commands with numbers of switches and parameters. TFTP Protocol TFTP is the most lightweight authentication less protocol. It does not implement any security measurements such as login or access control mechanism. TFTP can only read and write files from TFTP server. It cannot list, delete or rename files or directories. TFTP is originally designed for LAN ( Local Area Network). It is virtually unused on Internet. It is used for initial stages of any network booting approach such as PXE, BSDP, BOOTP. It is also used for firmware images and configuration file transfer to network appliances like router, switch, IP phone, firewall etc. TFTP use UDP as transport protocol.

Transfer request is always initiated on port 69. For demonstration purpose I will use Packet Tracer network simulator software. Open Packet Tracer and click End devices. From End devices drag and drop Server and PC-PT in workspace. Click on Router. From available Routers drag and drop a 1841 series router in workspace. Click Connections. Connect Server's FastEthernet 0 with Router's FastEthernet0/0 via cross cable and Router's console with PC-PT's RS232 via console cable.

Configure Router's interface FastEthernet0/0 with IP address 10.0.0.1. (In real life we never use /8 subnet for end to end connection, but in lab environment we can go with it to keep the process simple.) Configure IP address on Server

Packet Tracer is developed for Cisco Exam Practice. It has all that we need to do the practice for any cisco associate level exam. Sever has multiple IOS images for practice. By default TFTP service is running on Server. To verify it click on Config menu tab and expend the Services left menu item. That all we need to do the practice of backup and restore process. Before we move forward, make sure you have this topology. Alternatively you can download pre-configured topology from our site. By now I assume that you have this topology in packet tracer. Click PC-PT and click Desktop menu and click Terminal and accept default Settings. Now we are connected with Router.

How to take backup of Cisco IOS Run show flash command from privilege exec mode and note down the name of IOS file. copy flash tftp command is used to copy IOS from Flash to TFTP server. It takes three parameters. Source filename :- Name of IOS file that need to be copied. Address or name of remote host :- IP address of TFTP Server. ( To use name we need to configure DNS service on router. ) Destination filename :- Name of file used at destination to store the source file.

We have successfully taken the backup of IOS on TFTP Server. In next step we would delete the current IOS. Next command will delete IOS from flash. If you are following this practice on real device skip this stage, unless you are doing it under the supervision of an expert. If you are following this practice on packet tracer, go ahead. From privileged mode use delete command to delete IOS file from flash. Router#delete:[IOS File Name] Press Enter when asked to confirm the delete operation. During the boot process router copy and decompress the IOS file in RAM. Router will work as it is until we reload it. Enter reload command in privileged mode to reload the router. As expected Router entered in ROMMON mode. ROMMON mode is used for disaster recovery. See our previous article to learn more about Router booting process.

How to restore IOS from ROMMON mode ROMMON Mode allows us to restore IOS from TFTP Server in Flash. We can use this feature to install new IOS or upload another copy of IOS in Flash. ROMMON mode has only couple of commands to work with. You can list all available commands by entering? [Question mark key]. tftpdnld command is used to download the IOS from TFTP Server. tftpdnld command needs following variable to be set, before it can download the file. IP_ADDRESS :- Temporary IP address assigned to the router. IP_SUBNET_MASK :- Must match with the subnet of TFTP Server. DEFAULT_GATEWAY :- For this process it would be IP Address of TFTP Server. TFTP_SERVER :- IP address of TFTP Server. TFTP_FILE :- Exact name of IOS file. Name is case sensitive. TFTP_CHECKSUM :- This prevents checksum errors with earlier version of boot ROMs. Set above variables and enter tftpdnld command. Command will list all variables for your confirmation. If any variable need to be correct type N and reset that variable before executing this command again. If all variables are correct, type Y to confirm the download operation.

Before you confirm the downloading process make sure:- TFTP Server is running. IOS file is located in the root directory of TFTP Server. IOS file being downloaded is compatible with hardware. Use first built in interface of router to connect with TFTP Server. Command will not work with modular card interface. Server and device are connected with supporting cable. If directly connected use cross cable. If connected via switch use straight through cable. All variable commands are case sensitive and must be entered in upper case. Entered IOS file name must match exactly with the file name stored in TFTP Server. IP_ADDRESS is a temporary address of router. It must be different from DEFAULT_GATEWAY. You can pick any unused IP address for router, from the subnet of DEFAULT_GATEWAY. For this process DEFAULT_GATEWAY and TFTP_SERVER are the same. Use TFTP Server's IP address for both. In few minutes IOS would be download in flash. Once this process is completed use reset command to reload the system. We have successfully restored the IOS. Router does not store any running configuration automatically. Running configuration is remain in RAM. When we reload the system any running configuration stored in RAM get erased Unless we saved it manually. In above example we did not store running configuration so we need to configure it again for next

practice. Assign IP address to router's FastEthernet 0/0. If you have downloaded preconfigured topology from our site reopen it for next practice. How to upgrade Cisco IOS Cisco continuously updates IOS to meet new requirements. With updating existing one, Cisco also release features specific IOS. Whether you are upgrading existing one or installing new Cisco IOS, method is same. Connect device with TFTP Server. I already explained this process earlier in this article. By now I assume that your device has proper connectivity with TFTP Server and TFTP Server contains the IOS, which you are looking for. Following command is used to download new IOS from TFTP Server in Flash memory. Router#copy tftp flash This command requires three parameters. Address or name of remote host :- IP Address of TFTP Server. Source filename :- Exact file name of IOS stored in TFTP Server. Destination filename :- Name of IOS file that you want use in flash. In following example we would download another IOS. Use show flash command to list all files stored in flash.

We have successfully downloaded another IOS. Now you can safely delete the old IOS or can keep both. If you delete old IOS, new IOS will be load automatically during the next boot process. Couples of old series routers do not have sufficient memory for another IOS. In such a case you could delete current IOS from flash before downloading another IOS. As I have already mentioned earlier in this article, during the boot process router copy and decompressed ( if file is compressed) the IOS in RAM. So you are safe until router is running. If you keep both IOS, you need to adjust the config register value. Router uses config register value to select the boot option. For more articles visit our site ComputerNetwrokingNotes.com