int fastEthernet 1
ip address mark
ip tftp source-interface
bf
copy bootflash:cat4500e-ipbase-mz.122-53.SG2.bin tftp:
Router#copy sup-rootFlash: s72033-pk9sv-mz.122-14.SX1.bin tftp://192.168.1.1
tftp 只能上传32M以内的ios文件
8、上传
Cisco#copy ftp: sup-bootflash:
根据提示输入ftp信息、源文件名、目标文件名。
6、建立ftp连接
Cisco# configure terminal
Cisco (config)# ip ftp username username
Cisco (config)# ip ftp password password
Cisco (config)# exit
7、备份
Cisco # copy sup-bootflash:c6sup22-psv-mz.121-13.E11.bin ftp
然后根据提示填写ftp信息,开始备份。
7、6509空间不够存放两个bin文件,所以上传新版ios前需要清空flash
Cisco#delete sup-bootflash: c6sup22-psv-mz.121-13.E11.bin
删除后还要清一下flash,空间才能释放出来。
Cisco#squeeze sup-bootflash:
这样flash就清空了,下面可以上传新版的ios了。
8、上传
Cisco#copy ftp: sup-bootflash:
根据提示输入ftp信息、源文件名、目标文件名。
9、指定启动
Cisco (config) #boot system flash sup-bootflash:
Cisco#reload
重启就可以了,重启后即为新版ios。
注意的问题:
1、tftp最大传输文件大小为32兆,所以不能使用tftp。
2、新设备升级前,vlan1和端口都需要初始化,否则定义了也不通。
3、reload前记得保存。
cisco 3750 升级记录
35都是光口,所以你要有一个光纤转换器,或是有一台光纤交换机在加两模块。要不只能用是老的办法升级了
全部打通,笔记可以PING通交换机
然后正常升级
core2#copy tftp: flash:
Address or name of remote host [192.168.88.100]?
Source filename [c3750-ipservicesk9-mz.122-50.SE3.bin]? c3750-ipservicesk9-mz.122-50.SE3.bin
Destination filename [c3750-ipservicesk9-mz.122-50.SE3.bin]?
Accessing tftp://192.168.88.100/c3750-ipservicesk9-mz.122-50.SE3.bin...
Loading c3750-ipservicesk9-mz.122-50.SE3.bin from 192.168.88.100 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 12239852 bytes]
在升级之前看一下Falsh的空间是否足够
core2#dir flash:Directory of flash:/
4 -rwx 1003 Mar 1 1993 00:10:26 +00:00 config.text
5 drwx 128 Mar 2 1993 00:12:52 +00:00 c3750-ipbase-mz.122-50.SE5
425 -rwx 24 Mar 1 1993 00:10:26 +00:00 private-config.text
427 -rwx 1048 Mar 1 1993 00:10:26 +00:00 multiple-fs
15998976 bytes total (13219840 bytes free)
core2#dir flash1:
Directory of flash:/
4 -rwx 1003 Mar 1 1993 00:10:26 +00:00 config.text
5 drwx 128 Mar 2 1993 00:12:52 +00:00 c3750-ipbase-mz.122-50.SE5
425 -rwx 24 Mar 1 1993 00:10:26 +00:00 private-config.text
427 -rwx 1048 Mar 1 1993 00:10:26 +00:00 multiple-fs
15998976 bytes total (13219840 bytes free)
其中 total是总共空间 后面的free是可用空间,算一下你的ISO多大,决定是否删除原来的ios ,这里可以看出 cisco3750 有双Flash 并且,可以进行恢复操作。
最后加载升级的iso,红字是最重要的
core2#show ver
Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(50)SE3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Wed 22-Jul-09 06:19 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02D00000
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)
core2 uptime is 31 minutes
System returned to ROM by power-on
System image file is "flash:c3750-ipservicesk9-mz.122-50.SE3.bin"
This product contains cryptographic features and is subject to United
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 are responsible for
compliance with U.S. and local country laws. By using this product you
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 Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C3750G-12S (PowerPC405) processor (revision AB0) with 131072K bytes of memory.
Processor board ID FDO1607Y2HC
Last reset from power-on
1 Virtual Ethernet interface
12 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 3C:CE:73:99:E9:80
Motherboard assembly number : 73-9678-14
Power supply part number : 341-0048-03
Motherboard serial number : FDO160715MN
Power supply serial number : LIT16020NGN
Model revision number : AB0
命令就是
boot system flash:c3750-ipservicesk9-mz.122-50.SE3.bin
然后
reload
常见错误
Loading c3750-ipservicesk9-mz.150-2.SE.bin from 192.168.88.100 (via Vlan1): !!!!OO.!
%Error writing flash:/c3750-ipservicesk9-mz.150-2.SE.bin (No space left on device)
-
设备上没有剩余空间。
Accessing tftp://192.168.88.100/c3750-ipservicesk9-mz.122-50.SE3.bin...
Loading c3750-ipservicesk9-mz.122-50.SE3.bin from 192.168.88.100 (via Vlan1): !OO.O.O.O [timed out]
超时,一般都是Tftp软件,重启一下,或是链路整一下就好了
共样都是cisco3750但Flash不一样,有的是双的有的是单的,大小还不同,