IOS upgrade checks


Recently i’ve had to upgrade a large number of devices and the ios was quite new and therefore risky. We came up with some checks to make sure that post-upgrade the device will be usable.

Step 1:

I collect as much output as possible:

show vlan brief | redirect
show cdp nei | redirect
show int status | redirect
show arp | redirect
show module | redirect

show run | redirect
show power inline | redirect
show mac address-table | redirect
show etherchannel summary | redirect

show int trunk | redirect
show authentication sessions | redirect

Step 2

I make sure there is enough room on the flash. If there is, I download the new image to the flash (or bootflash). If there isn’t, i delete the existing image.

Step 3

I verify the new image (verify /md5 flash:thenewimage.bin)

Step 4

I delete the old boot system variable (no boot system) and add the new boot system variable to point to the new .bin file.

Step 5

I make sure with the command show bootvar that config-register is 0x2102 so that the boot system variable is taken into account upon the reload

Step 6

I write the config (wr)

Step 7

I reload the switch and keep my fingers crossed

Step 8

When the device reloads, I check the log buffer, I collect all the output from show commands once again to have something to compare the pre-reload files with. Finally, I monitor the reloaded device for 24 hours to make sure it doesn’t crash.


And if it does crash… well.. it’s a different story entirely.


Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:


Komentujesz korzystając z konta Wyloguj /  Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Wyloguj /  Zmień )

Zdjęcie na Facebooku

Komentujesz korzystając z konta Facebook. Wyloguj /  Zmień )

Połączenie z %s

%d blogerów lubi to: