Tuesday, September 20, 2011

H3C - Boot ROM and Firmware upgrade

Boot switch and reset to default (Erase the configuration)
[H3C] reset saved-config
[H3C] reboot
 
Add minimal configuration to allow tftp from a directly connected network port
interface Vlan-interface1
 ip address 1.1.1.1 255.255.255.0
 undo shut
#
interface GigabitEthernet1/0/1
 port link-type access
 undo shut
 
Set laptop NIC to 1.1.1.10 and startup tftp server

Copy the boot rom to the switch
<H3C>tftp 1.1.1.10 get S5120EI-BTM-203.btm
 
Update the bootrom
<H3C-A5120>bootrom update file S5120EI-BTM-203.btm slot 1
(This MUST be done on every unit within an IRF clusterand/or line card!)
 
Backup old image or maintain a valid copy
<H3C>tftp 10.210.7.150 put s5120ei-cmw520-r2202p06.bin
 
Delete old image before copying over new one
<H3C>delete /unreserved s5120ei-cmw520-r2202p06.bin
WARNING!!  Until you copy the new image to the switch and the boot-loader file (see below), do not reboot the switch as it may become unusable.
 
Copy software image to the switch
<H3C-A5120>tftp 10.210.7.150 get S5120EI-CMW520-R2208-S168.bin
OR
<H3C-A7500>tftp 10.210.7.150 get S7500E-CMW520-R6616P05.app
 
Tell the unit to load the new image at next boot
<H3C-A5120>boot-loader file s5120ei-cmw520-r2208-s168.bin slot all main
 
Verify that the image is in main flash
<H3C>display boot-loader
 
Save the running config
<H3C>save (save it as name startup.cfg)
 
Set startup.cfg to be the configuration that is booted on startup
<H3C>startup saved-configuration startup.cfg main
 
Verify which file is the startup config file
<H3C>display startup
 
Backup the config just in case
<H3C>tftp 1.1.1.10 put startup.cfg startup.cfg
 
Reboot
<H3C> reboot
 

No comments:

Post a Comment

Please add comments so I may update the material to accommodate platform modification to various commands. Also if you have some real-world caveats, do please share.

Search Duke

About the Author

My photo
Central Florida, United States