1. Check the Flash memory.
cisco4#dir flash:
Directory of flash:/
2 drwx 704 Feb 18 1993 10:00:00 html
4 -rwx 109 Feb 18 1993 10:00:00 info
5 -rwx 1751867 Feb 18 1993 10:00:50 c3500XL-c3h2s-mz.120-5.WC3b.bin
16 -rwx 109 Feb 18 1993 10:00:00 info.ver
17 -rwx 94680 Feb 18 1993 10:00:00 c3500XL-hdiag-mz-120.5.2-XU
18 -rwx 355 Dec 31 1969 18:00:08 env_vars
19 -rwx 616 Jan 12 2009 18:03:16 vlan.dat
21 -rwx 2462 Jun 19 1993 10:00:00 config.text
3612672 bytes total (358912 bytes free)
3. Disable access to the switch HTML pages.
cisco4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
chicagotech(config)#no ip http server
chicagotech(config)#end
2. Delete the existing image since the file to be loaded is larger than the available capacity.
cisco4#delete flash:c3500XL-c3h2s-mz.120-5.WC3b.bin
Delete filename [c3500XL-c3h2s-mz.120-5.WC3b.bin]?
Delete flash:c3500XL-c3h2s-mz.120-5.WC3b.bin? [confirm]
cisco4#delete flash:html/*
Delete filename [html/*]?
Delete flash:html/homepage.htm? [confirm]
Delete flash:html/not_supported.html? [confirm]
Delete flash:html/common.js? [confirm]
Delete flash:html/cms_splash.gif? [confirm]
Delete flash:html/cms_12.html? [confirm]
Delete flash:html/cms_13.html? [confirm]
Delete flash:html/cluster.html? [confirm]
Delete flash:html/CMS.jar? [confirm]
Delete flash:html/CiscoChartPanel.jar? [confirm]
Delete flash:html/Redirect.jar? [confirm]
Delete flash:html/ssp_vtp.htm.gz? [confirm]
Delete flash:html/standby.htm.gz? [confirm]
Delete flash:html/stpcfg.htm.gz? [confirm]
Delete flash:html/suggcand.htm.gz? [confirm]
Delete flash:html/timemgmt.htm.gz? [confirm]
Delete flash:html/tringvln.htm.gz? [confirm]
Delete flash:html/trnetvln.htm.gz? [confirm]
Delete flash:html/upgrade.htm.gz? [confirm]
Delete flash:html/usersets.htm.gz? [confirm]
Delete flash:html/vlanmgmt.htm.gz? [confirm]
Delete flash:html/vlanrule.htm.gz? [confirm]
Delete flash:html/vmpscfg.htm.gz? [confirm]
Delete flash:html/vsm.htm.gz? [confirm]
Delete flash:html/vtpmgmt.htm.gz? [confirm]
Delete flash:html/clstbldr.toc? [confirm]
Delete flash:html/clstmgr.toc? [confirm]
Delete flash:html/cvsm.toc? [confirm]
Delete flash:html/ssp.toc? [confirm]
Delete flash:html/prefs.text? [confirm]
Delete flash:html/version.txt? [confirm]
4. Download image from TFTP
cisco4#tar /x tftp://192.168.1.100/c3500xl-c3h2s-tar.120-5.WC17.tar flash:
Loading c3500xl-c3h2s-tar.120-5.WC17.tar from 192.168.1.100 (via VLAN10): !
extracting c3500xl-c3h2s-mz.120-5.WC17.bin (1811552 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
html/ (directory)
extracting html/homepage.htm (3988 bytes)!
extracting html/not_supported.html (1392 bytes)
extracting html/common.js (9449 bytes)!!
extracting html/cms_splash.gif (22152 bytes)!!!!
extracting html/cms_13.html (1211 bytes)!
extracting html/cluster.html (2823 bytes)!
extracting html/Redirect.jar (4229 bytes)!
extracting html/c4v4_disc.sgz (9806 bytes)!O!
extracting html/CMS.sgz (955595 bytes)!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
extracting html/CiscoChartPanel.sgz (58784 bytes)!!!!!!!!!!!!
extracting html/cms_boot.jar (44484 bytes)!!!!!!!!!
extracting info (109 bytes)
extracting info.ver (109 bytes)
[OK - 2938368 bytes]
cisco4#dir flash:
Directory of flash:/
2 -rwx 5500 Mar 01 1993 00:06:48 config.text
3 -rwx 94680 Jul 18 2000 01:47:40 c3500XL-diag-mz-120.5.2-XU
4 drwx 768 Mar 01 1993 00:08:50 html
111 -rwx 255 Jan 01 1970 00:00:21 env_vars
6 -rwx 1811552 Mar 01 1993 00:08:08 c3500xl-c3h2s-mz.120-5.WC17.bin
113 -rwx 840 Mar 01 1993 02:21:18 vlan.dat
18 -rwx 109 Mar 01 1993 00:08:53 info
19 -rwx 109 Mar 01 1993 00:08:53 info.ver
3612672 bytes total (579072 bytes free)
cisco4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
cisco4(config)#boot system flash:c3500xl-c3h2s-mz.120-5.WC17.bin
cisco4(config)#exit
00:09:50: %SYS-5-CONFIG_I: Configured from console by console
cisco4#wr
Building configuration...
cisco4#copy running-config tftp://192.168.1.100/cisco4.cfg
Address or name of remote host [192.168.1.100]?
Destination filename [cisco4.cfg]?
!!!
5500 bytes copied in 3.235 secs (1833 bytes/sec)
cisco4#reload
Proceed with reload? [confirm]
00:10:47: %SYS-5-RELOAD: Reload requested