2)开启TFTP,浏览到IOS文件
3)删除交换机中的BIN文件及其所在目录
Cisco3550BK#dir
Directory of flash:/
2 -rwx 0 Jan 1 1970 00:01:22 +00:00 env_vars
3 -rwx 344 Jan 1 1970 00:01:22 +00:00 system_env_vars
4 -rwx 616 Mar 1 1993 06:05:47 +00:00 vlan.dat
5 -rwx 5 Mar 1 1993 04:51:45 +00:00 private-config.text
8 drwx 64 Mar 1 1993 00:06:05 +00:00 c3550-i9q3l2-mz.121-20.EA1a
7 -rwx 4051 Mar 1 1993 04:51:45 +00:00 config.text
Cisco3550BK#cd c3550-i9q3l2-mz.121-20.EA1a
Cisco3550BK#dir
Directory of flash:/c3550-i9q3l2-mz.121-20.EA1a/
9 drwx 2688 Mar 1 1993 00:03:20 +00:00 html
91 -rwx 3447390 Mar 1 1993 00:04:24 +00:00 c3550-i9q3l2-mz.121-20.EA1a.bin
92 -rwx 255 Mar 1 1993 00:04:24 +00:00 info
15998976 bytes total (9356800 bytes free)
Cisco3550BK#delete c3550-i9q3l2-mz.121-20.EA1a.bin
Delete filename [/c3550-i9q3l2-mz.121-20.EA1a/c3550-i9q3l2-mz.121-20.EA1a.bin]?
Delete flash:/c3550-i9q3l2-mz.121-20.EA1a/c3550-i9q3l2-mz.121-20.EA1a.bin? [confirm]
Cisco3550BK#dir
Directory of flash:/c3550-i9q3l2-mz.121-20.EA1a/
9 drwx 2688 Mar 1 1993 00:03:20 +00:00 html
92 -rwx 255 Mar 1 1993 00:04:24 +00:00 info
15998976 bytes total (12804608 bytes free)
Cisco3550BK#del html
Delete filename [/c3550-i9q3l2-mz.121-20.EA1a/html]?
Cisco3550BK#delete info
Delete filename [/c3550-i9q3l2-mz.121-20.EA1a/info]?
Delete flash:/c3550-i9q3l2-mz.121-20.EA1a/info? [confirm]
Cisco3550BK#delete /force recursive c3550-i9q3l2-mz.121-20.EA1a
Cisco3550BK#archive download-sw /overwrite tftp://10.49.0.4/c3550-i5q3l2-tar.122-25.SEA.tar
examining p_w_picpath...
Loading c3550-i5q3l2-tar.122-25.SEA.tar from 10.49.0.4 (via Vlan1): !
extracting info (252 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<omit>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 7748608 bytes]
Image info:
Version Suffix: i5q3l2-122-25.SEA
Image Name: c3550-i5q3l2-mz.122-25.SEA.bin
Version Directory: c3550-i5q3l2-mz.122-25.SEA
Ios Image Size: 6089728
Total Image Size: 7746048
Image Feature: LAYER_3|MIN_DRAM_MEG=64
Image Family: C3550
Extracting files...
Loading c3550-i5q3l2-tar.122-25.SEA.tar from 10.49.0.4 (via Vlan1): !
extracting info (252 bytes)
c3550-i5q3l2-mz.122-25.SEA/ (directory)
c3550-i5q3l2-mz.122-25.SEA/html/ (directory)
extracting c3550-i5q3l2-mz.122-25.SEA/html/more.txt (62 bytes)
extracting c3550-i5q3l2-mz.122-25.SEA/html/menu.css (1654 bytes)!
extracting c3550-i5q3l2-mz.122-25.SEA/html/back.htm (435 bytes)
extracting c3550-i5q3l2-mz.122-25.SEA/html/p_w_picpaths/tab_left_active.gif (852 bytes)
extracting c3550-i5q3l2-mz.122-25.SEA/html/p_w_picpaths/122353.gif (3132 bytes)!
extracting c3550-i5q3l2-mz.122-25.SEA/c3550-i5q3l2-mz.122-25.SEA.bin (6087424 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
extracting c3550-i5q3l2-mz.122-25.SEA/info (252 bytes)!
extracting info.ver (252 bytes)
[OK - 7748608 bytes]
New software p_w_picpath installed in flash:c3550-i5q3l2-mz.122-25.SEA
Configuring system to use new p_w_picpath...done.
Cisco3550BK#verify c3550-i5q3l2-mz.122-25.SEA.bin
Verified c3550-i5q3l2-mz.122-25.SEA.bin