Friday, 1 July 2011

Copy IOS from PC to Router

Install a TFTP software on PC(Eg: 3cdemon,ciscotftp,solarwings)
Rouer and PC are connected through LAN/WAN
check connectvity between PC and Router
Router#show flash               // check necessary space is available at flash
Rouer# copy tftp: Flash:
give the ip of tftp server
source ios name
destination name (optional)
after completing 
Router#show flash            
give bootsysystem flash:<name of ios>    // for booting this ios at next restart
Router# delete flash:<ios name>

If your Cisco router experiences difficulties and no longer contains a valid Cisco IOS software image in
flash memory, you can download a new Cisco IOS image using one of the following ROM monitor
commands:

xmodem—(All Cisco 2600 series routers) Use this command to copy a Cisco IOS image from the
console, if the computer attached to your console has a terminal emulator with Xmodem capability
Downloading a Cisco IOS image from a console is very slow

rommon 1 > xmodem -c c2600-is-mz.122-10a.bin


tftpdnld—(Except Cisco 2691) Use this command to copy a Cisco IOS image from a TFTP server
that is accessible through the FastEthernet 0/0, Ethernet 0/0, or Token Ring 0/0 port

rommon 3 > set 
rommon 4 > IP_ADDRESS=171.68.171.0
     rommon 17 > IP_SUBNET_MASK=255.255.254.0
     rommon 18 > DEFAULT_GATEWAY=171.68.170.3
     rommon 19 > TFTP_SERVER=171.69.1.129
     rommon 20 > TFTP_FILE=c2600-is-mz.113-2.0.3.Q
     rommon 21 > tftpdnld



Copy IOS from router to router
first set the one router as tftp server    
Router(Config)#tftp-server flash:ios name
in the next router
router#copy tftp flash:











No comments:

Post a Comment