×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

IOS-2960X

Answered Question
Oct 31st, 2014
User Badges:

Hi. I have been running two 2960X switches(ver- 15.0(2)EX4) in stack. I need to downrade image to 15.0(2)EX3 due to bug in current image.

I tried below image to download on flash1 & flash2 through "copy tftp flash1" command but it gave error of timed out.

Pls suggest me how could i downgrade image in this scenario.

 

current image : c2960x-universalk9-mz.150-2.EX4.bin

Downgrade image : c2960x-universalk9-mz.150-2.EX3.bin

Correct Answer by Reza Sharifi about 2 years 9 months ago

No, this is not from Rommon mode.

maybe your switch does not come with USB than.

here is an output from a 3850 look at the line before last
 

test#copy ?
  /erase          Erase destination file system.
  /error          Allow to copy error file.
  /noverify       Don't verify image signature before reload.
  /verify         Verify image signature before reload.
  cns:            Copy from cns: file system
  crashinfo:      Copy from crashinfo: file system
  flash:          Copy from flash: file system
  ftp:            Copy from ftp: file system
  http:           Copy from http: file system
  https:          Copy from https: file system
  logging         Copy logging messages
  memory          Memory debug information
  null:           Copy from null: file system
  nvram:          Copy from nvram: file system
  onboard         no description
  processes       Active process statistics
  rcp:            Copy from rcp: file system
  running-config  Copy from current system configuration
  scp:            Copy from scp: file system
  startup-config  Copy from startup configuration
  stby-nvram:     Copy from stby-nvram: file system
  stby-rcsf:      Copy from stby-rcsf: file system
  system:         Copy from system: file system
  tar:            Copy from tar: file system
  tftp:           Copy from tftp: file system
  tmpsys:         Copy from tmpsys: file system
  usbflash0:      Copy from usbflash0: file system
  webui:          Copy from webui: file system

In this case you have to use tftp

copy tftp flash1

copy tftp flash2

HTH

 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Reza Sharifi Fri, 10/31/2014 - 04:18
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hi,

Can you post the output of

dir or  dir flash

or "sh flash"

 

HTH

 

Anukalp S Fri, 10/31/2014 - 04:27
User Badges:

Hi Reza..

2960X-SW#dir flash:
Directory of flash:/

    2  -rwx        5715   Jun 5 2014 11:31:55 +00:00  express_setup.debug
    3  -rwx        4120  Oct 31 2014 09:07:01 +00:00  multiple-fs
    4  -rwx        2356   Sep 1 2014 07:45:09 +00:00  vlan.dat
    5  -rwx        7248  Jun 21 2014 05:52:16 +00:00  config.text.backup
    6  -rwx        1913  Jun 21 2014 05:52:16 +00:00  private-config.text.backup
    7  drwx         512  Mar 20 2014 19:25:28 +00:00  c2960x-universalk9-mz.150-2.EX4
  646  drwx         512  Mar 20 2014 19:25:29 +00:00  dc_profile_dir
  648  -rwx        3819  Oct 31 2014 09:07:01 +00:00  private-config.text
  649  -rwx        7439  Oct 31 2014 09:07:01 +00:00  config.text

122185728 bytes total (98678784 bytes free)

2960X-SW#sh flash:

Directory of flash:/

    2  -rwx        5715   Jun 5 2014 11:31:55 +00:00  express_setup.debug
    3  -rwx        4120  Oct 31 2014 09:07:01 +00:00  multiple-fs
    4  -rwx        2356   Sep 1 2014 07:45:09 +00:00  vlan.dat
    5  -rwx        7248  Jun 21 2014 05:52:16 +00:00  config.text.backup
    6  -rwx        1913  Jun 21 2014 05:52:16 +00:00  private-config.text.backup
    7  drwx         512  Mar 20 2014 19:25:28 +00:00  c2960x-universalk9-mz.150-2.EX4
  646  drwx         512  Mar 20 2014 19:25:29 +00:00  dc_profile_dir
  648  -rwx        3819  Oct 31 2014 09:07:01 +00:00  private-config.text
  649  -rwx        7439  Oct 31 2014 09:07:01 +00:00  config.text

122185728 bytes total (98678784 bytes free)

Reza Sharifi Fri, 10/31/2014 - 04:33
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hi.

Ok, so you don't have 15.0(2)EX3 on the flash.  If you want to downgrade to 15.0(2)EX3 than you need to download it from Cisco.com first and than load it to the flash via tftp or USB.

HTH

Anukalp S Fri, 10/31/2014 - 04:39
User Badges:

Hi Reza,

I have downloaded image 15.0(2)EX3 from cisco site. But when i try to download it via tftp "copy tftp flash" it gave error of timed out.

pls tell me how could i download this image in flash on both stack switches.

Reza Sharifi Fri, 10/31/2014 - 04:44
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Do you have physical access to the switches? if you do load the IOS into a flash drive and insert it into the USB slot on the switch and copy from USB to flash.

HTH

Anukalp S Fri, 10/31/2014 - 05:01
User Badges:

I do have physical access of switches but i dont know process of downloading image in switch via USB.  Also should i need to insert USB on both switches

Is there any reason of tftp process not working.

Reza Sharifi Fri, 10/31/2014 - 05:13
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

If you have access to the devices there is no reason to use TFTP.  USB is soooo much easier. All you have to do it download the image into the USB insert it into each switch and copy from usb to tftp

HTH

Anukalp S Fri, 10/31/2014 - 05:45
User Badges:

Hi Reza..

Which command do i need to execute to copy image from usb to flash.

Also since there is single management in stack, how could i copy it on both switches.

Reza Sharifi Fri, 10/31/2014 - 06:34
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

The command to copy from usb to flash should be something like this

copy usbflash0: flash:<ios name>

for switch-2 it should be usbflash1 and flash1

do a ? after copy it will show you all the options you have.

HTH

 

 

Anukalp S Fri, 10/31/2014 - 06:58
User Badges:

Hi Reza.. Would this above command run in rommon mode since i dont see this option now in switch now.

 

2960X-SW#copy ?
  /erase          Erase destination file system.
  /error          Allow to copy error file.
  /noverify       Don't verify image signature before reload.
  /verify         Verify image signature before reload.
  bs:             Copy from bs: file system
  cns:            Copy from cns: file system
  flash1:         Copy from flash1: file system
  flash2:         Copy from flash2: file system
  flash:          Copy from flash: file system
  ftp:            Copy from ftp: file system
  http:           Copy from http: file system
  https:          Copy from https: file system
  logging         Copy logging messages
  null:           Copy from null: file system
  nvram:          Copy from nvram: file system
  rcp:            Copy from rcp: file system
  running-config  Copy from current system configuration
  scp:            Copy from scp: file system
  startup-config  Copy from startup configuration
  system:         Copy from system: file system
  tar:            Copy from tar: file system
  tftp:           Copy from tftp: file system
  tmpsys:         Copy from tmpsys: file system
  xmodem:         Copy from xmodem: file system
  ymodem:         Copy from ymodem: file system
 

Correct Answer
Reza Sharifi Fri, 10/31/2014 - 07:08
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

No, this is not from Rommon mode.

maybe your switch does not come with USB than.

here is an output from a 3850 look at the line before last
 

test#copy ?
  /erase          Erase destination file system.
  /error          Allow to copy error file.
  /noverify       Don't verify image signature before reload.
  /verify         Verify image signature before reload.
  cns:            Copy from cns: file system
  crashinfo:      Copy from crashinfo: file system
  flash:          Copy from flash: file system
  ftp:            Copy from ftp: file system
  http:           Copy from http: file system
  https:          Copy from https: file system
  logging         Copy logging messages
  memory          Memory debug information
  null:           Copy from null: file system
  nvram:          Copy from nvram: file system
  onboard         no description
  processes       Active process statistics
  rcp:            Copy from rcp: file system
  running-config  Copy from current system configuration
  scp:            Copy from scp: file system
  startup-config  Copy from startup configuration
  stby-nvram:     Copy from stby-nvram: file system
  stby-rcsf:      Copy from stby-rcsf: file system
  system:         Copy from system: file system
  tar:            Copy from tar: file system
  tftp:           Copy from tftp: file system
  tmpsys:         Copy from tmpsys: file system
  usbflash0:      Copy from usbflash0: file system
  webui:          Copy from webui: file system

In this case you have to use tftp

copy tftp flash1

copy tftp flash2

HTH

 

Actions

This Discussion