Updating IOS On Cisco Switch or Router

From 24PinTech Wiki
Revision as of 15:42, 23 February 2021 by NPerez (talk | contribs) (Created page with "Updating an IOS on a Cisco Switch/Router using TFTP Install PuTTy or a similar Telnet application to be able to access the Switch/Router (S/R) through an ethernet connection....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Updating an IOS on a Cisco Switch/Router using TFTP Install PuTTy or a similar Telnet application to be able to access the Switch/Router (S/R) through an ethernet connection. Install SolarWinds TFTP server or similar TFTP application to be able to send the IOS image to the S/R. Configure TFTP with the correct IP address (192.168.0.0/24) and change your computer’s ethernet interface adapter the right address range. (Verify the adapter appears in TFTP) Ensure that the correct IOS images are installed on your computer in the designated TFTP folder. (IOS images will have different names from the one pictured below.) Use a computer with a serial cable or similar console connection (COM1) in order to connect to the console port on the S/R. Enter privileged executive mode and verify the Flash: filesystem has enough space for the new image. Configure the S/R as follows: Enter configuration terminal mode. Configure the console and vty lines (0 4) for remote access to the S/R. (Use password Cisco to make things easy.) Configure the appropriate IP on the VLAN1/Interface (192.168.0.0/24 Network). Exit back to privileged executive mode. Clear the Flash: filesystem (This takes several minutes and it might seem frozen at first, it is working, I promise.) Use a telnet connection over ethernet on your computer to connect to the address configured on the S/R. Start the TFTP server. Enter commands to send a TFTP file over the connection. (Using the computer address as the source. The filename of the IOS must also be EXACT.) After the install has finished verify the file is now on the S/R. Reload the S/R and do not save the configuration. Wait for the reboot and verify that the S/R is a blank configuration with the correct IOS installed in Flash:.

Updating an IOS on a Cisco Switch/Router Using HyperTerminal ROMMON COMMANDS ARE DIFFERENT FROM REGULAR CLI FOR S/R. CHECK YOUR SYNTAX. So you’re the idiot that reloaded an S/R without an IOS on the flash and it only boots into ROMMON? (i.e. switch: ) Install HyperTerminal using a Windows XP disc. (Find instructions on how here.) Connect to the S/R using a console connection over COM1 (Run the .exe file to access HyperTerminal (HT). It may ask for a phone number, you do not need one.) (BAUD rate may also be an issue. The usual default is 9600 bits/sec. If the connection is not working try matching the default BAUD rate of the S/R.) Check the Flash: filesystem to verify it can fit the new IOS. Use copy xmodem command to copy the IOS from the computer. Click the transfer button and then send file while the previous command is still running to send the file (Use xmodem or xmodem-1K) Once the install has finished verify the IOS has been installed to the Flash: filesystem. Reset the switch and then verify the correct IOS is installed once more.