CCNA Course in Urdu Lab 2 Part 2 Cisco Internetworking Operating System (IOS)

 

CCNA Course in Urdu Lab 2 Part 2 Cisco Internetworking Operating System (IOS)



LAB 02

MANAGING A CISCO INTERNETWORK

 

BOOT SYSTEM COMMANDS

 

In case the flash memory is corrupted, then these powerful commands give us the ability to load IOS from different locations.

 

Router(config)#boot system ?

 

WORD      TFTP filename or URL

 

flash          Boot from flash memory

ftp              Boot from a server via ftp

mop           Boot from a Decnet MOP server

rcp             Boot from a server via rcp

rom            Boot from rom

tftp            Boot from a tftp server

 

Router(config)#boot system flash c2800nm-advsecurityk9-mz.124-12.bin

 

The above command configures the router to boot the IOS listed in it. This may be used to test a new loaded IOS.

 

Router(config)#boot system tftp c2800nm-advsecurityk9-mz.124-12.bin 10.12.2.5

Router(config)#boot system rom

 

CHECKING THE BOOT OPTIONS OF IOS

 

Router(config)#boot system rom

Router(config)#do show run | include boot system                                                   

boot system flash c2800nm-advsecurityk9-mz.124-12.bin                                                       

boot system tftp c2800nm-advsecurityk9-mz.124-12.bin 10.12.2.5

boot system rom

Router(config)#

                              

    

These configurations are called the BACK UP ROUTINE for the IOS.

 

BACKING UP AND RESTORING THE CISCO IOS

 

à ESSENTIALS FOR BACKING UP OF THE IOS

 

  1. Making sure you can access the network server.
  2. Ensure that the network server has adequate space for the code image.
  3. Verify the filename naming and path requirement.
  4. TFTP server software must be running on the administrator’s workstation.
  5. The Ethernet connection between administrator and router must be made with a cross over cable.
  6. The workstation and Ethernet interface must be on the same subnet.
  7. The copy flash tftp command must be supplied the IP address of the workstation if you are copying from the flash
  8. And if you are copying into flash, you need to verify that there is enough room in the flash memory to accommodate the file to be copied.

 

à  BACKING UP IOS IN FLASH MEMORY

 

  1. First verify the flash memory by using the command, Router#show flash
  2. Now check the connectivity with tftp server by pinging its I.P, e.g. Router#ping 10.12.2.5
  3. Now copy the contents of flash into tftp server

 

 

 

Router#copy tftp flash

Source filename []?c2800nm-advsecurityk9-mz.124-12.bin

Address or name of remote host []? 10.12.2.5

Destination filename [c2800nm-advsecurityk9-mz.124-12.bin]?[enter]

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!

21710744 bytes copied in 60.724 secs (357532 bytes/sec)

Router#

 

Click Here To View Video Lecture in Urdu:

 Lab 2 Video

 

à RESTORING OR UPGRADING IOS

 

Router#copy tftp flash

Address or name of remote host []? 10.12.2.5

Source filename []?c2800nm-advsecurityk9-mz.124-12.bin

 

Destination filename [c2800nm-advsecurityk9-mz.124-12.bin]?[enter]

%Warning:There is a file already existing with this name

Do you want to over write? [confirm][enter]

 

 

BACKING UP AND RESTORING THE CISCO CONFIGURATIONS

 

BACKING UP THE CISCO ROUTER CONFIGURATION

 

à Verifying the current configuration

Router#show running-config

 

à Verifying the stored configuration

Router#show startup-config

 

à Copying current configuration to NVRAM

Router#copy run start

 

à Copying the configuration to a TFTP Server

Router#copy run tftp

Address or name of remote host []? 10.12.2.5

Destination filename [router-config]?farhan-config

!!

875 bytes copied in 0.800 secs (10.93 bytes/sec)

 

RESTORING THE CISCO CONFIGURATIONS

Router#copy tftp running-config

Address or name of remote host []? 10.12.2.5

Source filename []?farhan-config

Destination filename[running-config]?[enter]

 

ERASING THE CISCO CONFIGURATIONS

Router#erase startup-config

 

 

Click Here To View Video Lecture in Urdu:

 Lab 2 Video