2019年12月30日 星期一

cisco 2960 ios upgrade

https://blog.downager.com/2018/11/25/%E9%9A%A8%E7%AD%86-Cisco-2960X-IOS-%E7%89%88%E6%9C%AC%E6%8C%91%E9%81%B8-%E6%9B%B4%E6%96%B0/

c2960-lanbasek9-tar.122-55.SE12.tar

archive tar /xtract tftp://191.1.1.219/c2960-lanbasek9-tar.122-55.SE12.tar flash:


c2960-lanbasek9-mz.122-50.SE4

c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin

 c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin



Directory of flash:/

    2  -rwx         916   Mar 1 1993 00:03:55 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12
    4  -rwx        2229   Mar 1 1993 00:00:58 +00:00  config.text
    5  -rwx        1913   Mar 1 1993 00:00:58 +00:00  private-config.text
    6  -rwx        2072   Mar 1 1993 00:00:58 +00:00  multiple-fs
    7  drwx         192   Mar 1 1993 00:07:34 +00:00  c2960-lanbasek9-mz.122-50.SE4
 1117  -rwx         108   Mar 1 1993 01:02:05 +00:00  info

32514048 bytes total (7432704 bytes free)
Switch#
Switch#delete /f
Switch#delete /re
Switch#delete /recursive /for
Switch#delete /re
Switch#delete /recursive for
Switch#delete /recursive force
Switch#delete /recursive /force
Switch#delete /recursive /force c2960-lanbasek9-mz.122-50.SE4
Switch#dir
Directory of flash:/

    2  -rwx         916   Mar 1 1993 00:03:55 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12
    4  -rwx        2229   Mar 1 1993 00:00:58 +00:00  config.text
    5  -rwx        1913   Mar 1 1993 00:00:58 +00:00  private-config.text
    6  -rwx        2072   Mar 1 1993 00:00:58 +00:00  multiple-fs
 1117  -rwx         108   Mar 1 1993 01:02:05 +00:00  info

32514048 bytes total (18982912 bytes free)
Switch#show boot
BOOT path-list      : flash:/c2960-lanbasek9-mz.122-50.SE4/c2960-lanbasek9-mz.122-50.SE4.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   65536
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)
Switch#dir
Directory of flash:/

    2  -rwx         916   Mar 1 1993 00:03:55 +00:00  vlan.dat
    3  drwx         192   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12
    4  -rwx        2229   Mar 1 1993 00:00:58 +00:00  config.text
    5  -rwx        1913   Mar 1 1993 00:00:58 +00:00  private-config.text
    6  -rwx        2072   Mar 1 1993 00:00:58 +00:00  multiple-fs
 1117  -rwx         108   Mar 1 1993 01:02:05 +00:00  info

32514048 bytes total (18982912 bytes free)
Switch#cd c2960-lanbasek9-mz.122-55.SE12
Switch#dir
Directory of flash:/c2960-lanbasek9-mz.122-55.SE12/

  562  -rwx         539   Mar 1 1993 00:56:30 +00:00  info
  563  -rwx     9827106   Mar 1 1993 01:00:34 +00:00  c2960-lanbasek9-mz.122-55.SE12.bin
  564  drwx        4928   Mar 1 1993 01:02:05 +00:00  html

32514048 bytes total (18982912 bytes free)
Switch#
Switch#
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#$sek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin
boot system flash:/ c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE1                    ^2.bin

% Invalid input detected at '^' marker.

Switch(config)#boot system flash:/c2960-lanbasek9-mz.122-55.SE12/c2960-lanbase$
Switch(config)#exit
Switch#sho w
*Mar  1 01:17:01.183: %SYS-5-CONFIG_I: Configured from console by conso
% Type "show ?" for a list of subcommands
Switch#show boot
BOOT path-list      : flash:/c2960-lanbasek9-mz.122-55.SE12/c2960-lanbasek9-mz.122-55.SE12.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   65536
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)