Site icon eConfigs

CCNA 7.5.a: Cisco IOS upgrades and recovery (SCP, FTP, TFTP, and MD5 verify)

Overview:

TFTP, FTP and SCP are protocols that can be used to upgrade and recover Cisco IOS images.

Study Notes:

 

Install or Upgrade a Cisco IOS image via TFTP

copy flash: tftp:
copy startup-config tftp:

 

copy tftp: flash:

 

dir flash:
verify flash:<IOS-image>

 

config register 0x2102

 

show run | include boot
config t
  no boot system
  boot system flash:<IOS-image> show run | include boot

 

copy run start
reload

 

show version

 

Recover a Cisco IOS image via TFTP

Perhaps your router didn’t have enough memory to store the old IOS image and the new IOS image.  You ran through the procedures above and saved the old IOS image to the TFTP server. Then you deleted the old IOS image from flash: to make room for the new IOS image.  You ran through the rest of the upgrade process and rebooted the router. Only the new IOS image is not booting properly and the old IOS image is no longer in the file system.  Follow these steps to recover a Cisco IOS image via TFTP

rommon 1> IP_ADDRESS=192.168.1.1
rommon 2> IP_SUBNET_MASK=255.255.255.0
rommon 3> DEFAULT_GATEWAY=192.168.1.2
rommon 4> TFTP_SERVER=192.168.1.2
rommon 5> TFTP_FILE=<old-IOS-image>

 

rommon 6> tftpdnld -r

 

 

Upgrade a Cisco IOS image via SCP

copy scp://<user>:<password>@<serverIP>/<filename> flash0://<filename>

 

Upgrade a Cisco IOS image via FTP

ip ftp username <username>
ip ftp password <password>

 

copy ftp: flash:




PacketTracer Lab: CCNA-7.5.a-Cisco-IOS-upgrades-and-recovery-SCP-FTP-TFTP-and-MD5-verify.pkt

Subscribe Now for access to the labs!

 

Exit mobile version