Skip to main content

Upgrading the Cisco Switch IOS

According to business need, you will need to upgrade the OS of your network device in your infrastructure as a Network Administrator/Engineer.

I’d like to share the experience of upgrading the IOS in Cisco to the beginners and for those who haven’t done this yet.

Before complete the task, you should know and prepare the following.

- You must have correct IOS License for your devices
- You must have backup of current running configuration and IOS.
- You must have Local/Remote TFTP Server/FTP/SFTP Server to keep backup files and new IOS.
- You should prepare pre-configured same model device if you have. So you can replace if your task was something wrong.
- Upgrading task should do in Maintenance Windows. You shouldn’t do it however you have very good hands-on experience for that.
- You should read Tech Notes from Cisco about Bugs for your new IOS before upgrade. Then you can expected what need to be done if something unexpected issue occur.
- Be ensure the role and function of your device.

Let’s start the task if you well-prepared above steps.

In this example, I’ll use Cisco Catalyst 3560 PoE Switch to upgrade the IOS as need SSH to enable on it and current IOS do not support SSH because of it is not loaded cryptoimage IOS. Cryptoimage show include crypto and K9 in the file name.

Let’s begin.

- Check the IOS Version of switch. Take a look the photo and take note on red highlighted area for DRAM and Flash Capacity.

   "show version"

- Now, let’s check flash memory space. You would need to delete old IOS if there   is not enough free space to copy new IOS. Take note on red highlighted area. In this example, free space is enough.

 "show flash"


- Login with cisco id and password at Cisco Software Download webpage.

  Find the correct IOS for your switch model. As shown in picture, please download correct IOS as your need. (Ensure to use correct subscribe license feature, DRAM/Flash specification of yours). Take note IOS File Size and MD5 Hash Value too to re-check once it is loaded in Switch.



- Copy downloaded IOS to TFTP/FTP/SFTP Server. In my example, I used TFTP Server.
- Console in to switch and copy IOS from TFTP Server to flash memory of switch.

   "copy tftp flash"



- Once copy task finished, you need to check md5 has value as below to ensure your IOS file didn’t corrupted between processes.

  "verify /md5 flash: put new ios image file name with file extension here"



- If MD5 hash value is correct, will change booth path of switch from old IOS to new IOS as below.

  "boot system flash: put new ios image file name with file extension here"


- After that, copy running configuration to startup configuration as below.

  "copy running-config startup-config" or "write memory" or "write"

- Reload the switch then. Your switch should working as expected without any issue if your upgrading complete successfully.

- In this post, I didn’t mentioned details about IOS Licensing, Clearing Flash Memory space, checking booth path from zip file in Flash and setting up the TFTP Server. I’ll write about those if I’ve got time.

If you are willing to know how to choose correct IOS, please read it here. http://www.ictformyanmar.com/2014/03/what-is-different-ip-base-and-ip.html

However this post demonstrate the task with Switch, you could reference for router and firewall IOS upgrading task too.
But depends on the role of device, steps can be a bit different and complex because of you will need some requirement and pre-arrangement.

I’ll write more details about router and firewall if I’ve got a chance.

Have a good time.

(Be knowledgeable, pass it on then)



Comments

Popular posts from this blog

Fortigate guide for Begineer - 6

I would like to explaine how to troubleshoot the Fortigate Unit configured by Transparent Mode in step by step this time. Let's assume, you have one Fortigate Unit that configured as Transparent Mode. But devices from Internal/Private Network unable to access Internet/Public Network through your Fortigate Unit. OK. Let's troubleshoot with following steps, 1) Check the physical network connections between the network and the FortiGate unit, and between the FortiGate unit and the Internet. 2) Check the router and ISP-supplied equipment to make sure it is operating correctly. 3) Verify that you can connect to the internal interface by connecting to the management IP address of the FortiGate unit from the Internal network. From the internal network, attempt to ping the management IP address. If you cannot connect to the internal interface, verify the IP configuration of the PC and make sure the cables are connected and all switches and other devices on the network are powered on a

Why do we need network virtualization?

We need to think about Server Virtualization first if we want to talk about Network Virtualization. In the era of cloud computing, servers are virtualized and used in Data Centers. We are facing a lot of problem when we virtualized our Servers, 1) Routing and Switching Problem Routing become the issue when we create Virtual Switch and VLANs according to production requirement. Network Team might need some time to change on their end to meet with Server Virtualization Team changes on their end. ၂) Firewall Services Physical Firewall are difficult to manage due to the large number of rules needed to satisfy business requirements. New applications, new projects, and new networks all come with potential security requirements, which impact centralized firewall management. ၃) Load Balancing Let's say your company deploys a new physical load balancer for each tenant, resulting in increased capital expenditures. Once a tenant reaches their maximum capacity, it ca

Solving "WSUS administration console was unable to connect to the WSUS Server via the remote API" error

Today, I've got below when I try to connect my WSUS Server via WSUS Console. Below logs are display in Event Logs too. The WSUS administration console was unable to connect to the WSUS Server via the remote API.  Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service. The WSUS administration console was unable to connect to the WSUS Server via the remote API. Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service. System.Net.Sockets.SocketException -- No connection could be made because the target machine actively refused it 172.16.99.98:80 Source System Stack Trace:    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, S