Cisco switch upgrade iOS

Source: Internet
Author: User
Tags cisco switch

Cisco switch iOS upgrade, actually quite simple, but need to note is, can not let the switch flash storage is empty, must have an iOS in, or no iOS in Flash, waiting to upload iOS with Xmodem, so your time can be a lot of waste ah. Because the Rommon mode is not available for the Cisco Catalyst 2950, 2960, 3550 Switch lost iOS or iOS failure, because there is no, only the Cisco Catalyst 4006, 4506 has Rommon mode, This article takes the Cisco Catalyst 2950 as an example.

1, first download tftp Server, how to use here is not much to say, do not understand can seehere, enter privileged mode, configure PortIpfor the switch toTftpserver to connect.
switch>en--Enter privileged mode
Switch#conf t--go to global configuration mode
Enter configuration commands, one per line. End with cntl/z.
Switch (config) #int VLANEnter PortVLAN 1
Switch (config-if) #ip add 10.0.23.112 255.255.255.0 ——-ConfigurationVLAN 1of theIpaddress is10.0.23.112

2, TestTftpif the network connection between the server and the switch is unblocked and unblocked, we will view it under the switch.Flashsituation.
Switch#show Flash: ——-ShowFlashthe information below

Directory of flash:/

2-rwx 3122176 Mar 1993 00:34:02 +00:00c2950-i6q4l2-mz.121-22.ea9--– now used IOS files
. bin
3-RWX 5 Mar 1993 00:01:17 +00:00 Private-config.text
5-rwx 1148 Mar 1993 00:01:17 +00:00 Config.text

7741440 Bytes Total (4616192 bytes free)

3.upload the new IOS file to the Flash storage of the switch . Put the new switch IOS file in the root directory of the TFTP server. If a not enough spaces prompt appears during the copy process, please delete the original iOS file and delete The iOS file here, please visit hereSee.
Switch#copy TFTP Flash: ——-fromTftpCopy files toFlashin storage
Address or name of remote host []? 10.0.23.4--tftpServerIpAddress
Source filename []? c2950-i6k2l2q4-mz.121-22.ea14.bin--–to fromTftpfile names copied from the server
Destination filename [c2950-i6k2l2q4-mz.121-22.ea14.bin]? ——–saved toFlashin the file name, you can directly enter
Accessing Tftp://10.0.23.4/c2950-i6k2l2q4-mz.121-22.ea14.bin ...
Loading C2950-i6k2l2q4-mz.121-22.ea14.bin from 10.0.23.4 (via Vlan1):!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[ok–3722814 bytes]

3722814 bytes copied in 87.708 secs (42446bytes/sec)

4, at this time on my switchFlashthere are two of them in the storageIosfile, if due toFlashspace is causing only a newIosfile, the default reboot is to automatically load the newIosfile until normal startup, configuration will not be lost if there are twoIosfile, we need to manually load the newIossettings. Power down the switch, press and hold the switch"Mode"button, usually on the front of the switch, power on, do not loosen at this time"Mode"button, the following mode is entered.
C2950 Boot Loader (c2950-hboot-m) Version 12.1 (11r) EA1, RELEASE Software (FC1)
Compiled Mon 22-jul-02 18:57 by Antonino
Ws-c2950-24 starting ...
Base Ethernet MAC address:00:07:eb:85:0a:40
Xmodem file system is available.

The system has been interrupted prior toinitializing the
Flash filesystem. The following commands would initialize
The flash filesystem, and finish loading the operating
System software:

Flash_init
Load_helper
Boot

switch:

5 initialize Flash
Initializing Flash ...
Flashfs[0]: 4 files, 1 directories
Flashfs[0]: 0 Orphaned files, 0 orphaned directories
flashfs[0]: Total Bytes: 7741440
Flashfs[0]: Bytes used:6848512
Flashfs[0]: Bytes available:892928
Flashfs[0]: FLASHFS fsck took 8 seco Nds.
... done initializing Flash.
Boot Sector Filesystem (BS:) installed, Fsid:3
Parameter Block Filesystem (PB:) installed, Fsid:4
Switch:dir Flash: ——- show Flash

2-rwx3122176  C2950-i6q4l2-mz.121-22.ea9.bin
3-rwx 5 private-config.text
4-rwx 3722814  C2950-i6k2l2q4-mz.121-22.ea14.bin
5-rwx 1148 config.text

892928 bytes available (6848512 bytes used)
Switch:boot flash:c2950-i6k2l2q4-mz.121-22.ea14.bin ——— Specify a new IOS file to start.

6.load the new IOS file after entering the system.
Loading "Flash:c2950-i6k2l2q4-mz.121-22.ea14.bin" ... ############################
################################################################################
################################################################################
###################################

File "Flash:c2950-i6k2l2q4-mz.121-22.ea14.bin" uncompressed and installed, entry
point:0x80010000
Executing ...

Restricted Rights Legend

Use, duplication, or disclosure by Thegovernment are
Subject to restrictions as set forth in subparagraph
(c) of the commercial computer software–restricted
Rights clause at far sec. 52.227-19 and subparagraph
(c) (1) (ii) of the rights in Technical Data and computer
Software clause at DFARS sec. 252.227-7013.

Cisco Systems, Inc.
West Tasman Drive
San Jose, California 95134-1706

Cisco Internetwork Operating Systemsoftware
IOS C2950 Software (c2950-i6k2l2q4-m), Version 12.1 (EA14), RELEASE Softwa
RE (FC1)
Technical Support:http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 26-oct-10 10:35 by Nburra
Image text-base:0x80010000, data-base:0x80680000

Initializing FLASHFS ...
FLASHFS[1]: 4 files, 1 directories
Flashfs[1]: 0 Orphaned files, 0 orphaned directories
FLASHFS[1]: Total bytes:7741440
FLASHFS[1]: Bytes used:6848512
FLASHFS[1]: Bytes available:892928
FLASHFS[1]: FLASHFS fsck took 8 seconds.
FLASHFS[1]: initialization complete.
Done initializing FLASHFS.
Post:system Board test:passed
Post:ethernet Controller test:passed
ASIC initialization Passed

Post:front-end LOOPBACK test:passed
This product contains cryptographic features and was subject to
States and local country laws governing import, export, transfer and
Use. Delivery of Cisco cryptographic products does not imply
Third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users is responsible for
Compliance with U.S. and local country laws. By using the This product
Agree to comply with applicable laws and regulations. If you are unable
To comply with U.S. and local laws, return this product immediately.

A Summary of U.S. laws governing ciscocryptographic products is found at:

Http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance pleasecontact us by sending email to
[Email protected]

Cisco WS-C2950-24 (RC32300) Processor (revision B0) with 19911K bytes of memory.

Processor Board ID foc0545x02g
Last Reset from System-reset
Running Standard Image
Fastethernet/ieee 802.3 interface (s)

32K bytes of flash-simulated non-volatileconfiguration memory.
Base Ethernet MAC address:00:07:eb:85:0a:40
Motherboard Assembly NUMBER:73-5781-08
Power Supply Part NUMBER:34-0965-01
Motherboard serial NUMBER:FOC0545034T
Power Supply Serial NUMBER:PHI054201CT
Model Revision number:b0
Model number:ws-c2950-24
System Serial number:foc0545x02g

Pressreturn to get started!

7, after successful installation, view the configuration, generally will not be lost, if there is no problem, you can delete the previousIOSthe file.
Switch#delete Flash:
Delete filename []? C2950-i6q4l2-mz.121-22.ea9.bin
Delete Flash:c2950-i6q4l2-mz.121-22.ea9.bin? [Confirm]

you're done, remember.IOSdo not restart the switch, you can only use theXmodemUploadIOS, it's a time-consuming errand.


This article from "Azrael Technical note" blog, declined reprint!

Cisco switch upgrade iOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.