how do i  up grading the IOS on a cisco 2960 switch, it doesnt seem to be like the older switch i have worked on

Posted on 2009-02-12
Last Modified: 2012-05-06
i have a 2960 switch, and i am trying to upgrade the image from c2960-lanbase-mz.122-35.SE5
to this c2960-lanbasek9-mz.122-25.SEE4.bin which i downloaded from Cisco's web site.

first i TFTP'ed the this file c2960-lanbasek9-mz.122-25.SEE4.bin to the switch
then entered the command "bootflash c2960-lanbasek9-mz.122-25.SEE4.bin" when i reloaded the switch
it booted to its old image.

then i noticed the old firmware was here not in the root.


so i put the new image in to here as well by using the following commands

cd c2960-lanbase-mz.122-35.SE5
copy tftp flash

then i entered the boot flash command again
bootflash c2960-lanbasek9-mz.122-25.SEE4.bin

this time the switch reloaded with the new IOS, but i can not get HTTP Access tot he switch anymore.

i think i have put the new IOS in the wrong place? what should i have done not to loose the http server? and how can i get it back?

any help is much appreciated. thanks in advance.

the config is below but, i have had to remove all the security stuff


version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption


hostname Cisco_2960


enable secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


username xxxxxx password xxxxxxxxxxxxxxx

no aaa new-model

system mtu routing 1500

vtp domain xxxxxxxxxxxxxxxxx

vtp mode transparent

ip subnet-zero


ip domain-name xxxxxxxxxxxxxxx




no file verify auto

spanning-tree mode pvst

spanning-tree extend system-id


vlan internal allocation policy ascending


interface FastEthernet0/1

 switchport mode access

 spanning-tree portfast


interface GigabitEthernet0/1


interface GigabitEthernet0/2


interface Vlan1

 ip address

 no ip route-cache


ip default-gateway

ip http server

no cdp run




banner login  C



line con 0

 exec-timeout 0 0

 logging synchronous

 login local

line vty 0 4

 exec-timeout 0 0

 logging synchronous

 login local

line vty 5 15

 exec-timeout 0 0

 logging synchronous

 login local



Open in new window

Question by:CraigShag
    LVL 3

    Expert Comment

    not exactly sure what you did.

    if the image is on the TFTP server just go into the switch and type copy tftp: flash: IOSIMAGENAME

    the go into global configuaration mode > conf t
    the do boot system flash:IOSIMAGENAME
    e.g. boot system flash:c2960-lanbasek9-mz.122-25.SEE4.bin

    as far as the http server make sure you issue the command:
    ip http server
    ip http secure server (if you want SSL)

    also, enable local authentication by typing
    aaa new-model
    username <username> password 0 <password>
    LVL 3

    Expert Comment

    for copying from tftp to flash just type:
    copy tftp: flash:
    and it will walk you through the rest (assuming you have connectivity to the tftp server)
    LVL 23

    Expert Comment

    Type  show bootvar
    show run | inc boot

    Find the current line that shows the current boot image...

    dir /v flash:

    Update the same line as existing, to use the new filename.

    Normally on a 29xx  running IOS the command is not 'bootflash'
    'boot system flash:<FILENAME>'
    LVL 10

    Accepted Solution

    Try to  erase flas and then upload the IOS you want to boot.
    Use the commands:

    # erase flash
    ... mpla mpla....
    conf t
    boot system flash
    <remove all other "boot flash" commands>

    If your IOS come in tar package, use "archive" command
    archive download-sw tftp://<path> flash:

    This way you will have only one IOS to teh flash, and cisco will be "forced" to boot from that one.
    LVL 8

    Expert Comment

    Cisco 2960 is fixed IOS switch, There no upgrades.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now