background: Two sets of Cisco3750 do double machine, cisco3750-01 hardware failure, strike out. The new second-hand switch is inconsistent with the previous iOS, so you need to replace iOS.
ready to work: network cable, console line, TFTP tool
Operation Steps:
First, download the previous iOS from cisco3750-02
1, configure an interface address on the switch interface;
Sw-a-02 (3750-2) (config) #int g1/0/23
Sw-a-02 (3750-2) (config-if) #no Switchport
Sw-a-02 (3750-2) (config-if) #ip address 192.168.100.100 255.255.255.0
2, the notebook with a network cable connected to the switch;
Notebook using IP address 192.168.100.101, open TFTP tool (3CDaemon)
3, download iOS;
(1) Notebook and switch connectivity test
Sw-a-02 (3750-2) #ping 192.168.100.101
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.101, timeout is 2 seconds:
.!!!!
Success rate is percent (4/5), round-trip Min/avg/max = 1/1/1 ms
(2) View flash information
Sw-a-02 (3750-2) #show Flash
Directory of flash:/
2-rwx 2116 Jan 18:53:29 +08:00 vlan.dat
3 drwx 192 Mar 1 1993 08:19:14 +08:00 C3750-i5-mz.122-20.se4
89-rwx 16406 Sep 17:05:31 +08:00 config.text
90-rwx 3110 Mar 1993 12:40:51 +08:00 STARTUP-CONFIGW
91-rwx Sep 17:05:31 +08:00 private-config.text
15998976 Bytes Total (7386112 bytes free)
Sw-a-02 (3750-2) #cd C3750-i5-mz.122-20.se4
Sw-a-02 (3750-2) #dir
Directory of flash:/c3750-i5-mz.122-20.se4/
4 drwx 2688 Mar 1 1993 08:16:56 +08:00 HTML
86-RWX 5044988 Mar 1 1993 08:19:14 +08:00 C3750-i5-mz.122-20.se4.bin
87-RWX 494 Mar 1 1993 08:19:14 +08:00 Info
15998976 Bytes Total (7386112 bytes free)
Sw-a-02 (3750-2) #pwd
flash:/c3750-i5-mz.122-20.se4/
(3) Copy iOS from Flash to TFTP
Sw-a-02 (3750-2) #copy flash:tftp:
Source filename []? C3750-i5-mz.122-20.se4
Address or name of remote host []? 192.168.100.101
Destination filename [c3750-i5-mz.122-20.se4]?
%error reading Flash:/c3750-i5-mz.122-20.se4 (is a directory)
Replication failed, unable to copy folder
Sw-a-02 (3750-2) #cd C3750-i5-mz.122-20.se4
Sw-a-02 (3750-2) #dir
Directory of flash:/c3750-i5-mz.122-20.se4/
4 drwx 2688 Mar 1 1993 08:16:56 +08:00 HTML
86-RWX 5044988 Mar 1 1993 08:19:14 +08:00 C3750-i5-mz.122-20.se4.bin
87-RWX 494 Mar 1 1993 08:19:14 +08:00 Info
15998976 Bytes Total (7386112 bytes free)
Sw-a-02 (3750-2) #copy flash:tftp:
Source filename [/c3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin]?
Address or name of remote host []? 192.168.100.101
Destination filename [/c3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin]?
.....
%error opening tftp://192.168.100.101//c3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin (Timed out)
Copying iOS files still fails, and after shutting down the firewall on the notebook, replication is normal.
Sw-a-02 (3750-2) #copy flash:tftp:
Source filename [/c3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin]?
Address or name of remote host []? 192.168.100.101
Destination filename [/c3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5044988 bytes copied in 13.916 secs (362531 bytes/sec)
Second, update the iOS on the new switch
1, in case, first the switch iOS backup (method is the same as above);
Switch#show Flash
Directory of flash:/
3-RWX 11518717 Mar 4 07:05:23 +00:00 C3750-ipservices-mz.122-50.se3.bin
4-RWX 2072 Mar 1 1993 00:03:07 +00:00 Multiple-fs
15998976 Bytes Total (4476416 bytes free)
Switch#show boot
Boot path-list : Flash:c3750-ipservices-mz.122-50.se3.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 :
Timeout for Config
& nbsp; download: 0 seconds
Config Download
via dhcp: Disabled (next boot:disabled)
Switch#copy flash:tftp:
Source filename []? C3750-ipservices-mz.122-50.se3.bin
Address or name of remote host []? 192.168.100.101
Destination filename [c3750-ipservices-mz.122-50.se3.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11518717 bytes copied in 31.868 secs (361451 bytes/sec)
2. Remove the previous iOS
Switch#delete Flash:c3750-ipservices-mz.122-50.se3.bin
Delete filename [c3750-ipservices-mz.122-50.se3.bin]?
Delete Flash:c3750-ipservices-mz.122-50.se3.bin? [Confirm]
Switch#show Flash
Directory of flash:/
4-RWX 2072 Mar 1 1993 00:03:07 +00:00 Multiple-fs
15998976 Bytes Total (15995392 bytes free)
3. Upload a new iOS
Switch#copy Tftp:flash:
Address or name of remote host []? 192.168.100.101
Source filename []? C3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin
Destination filename [c3750-i5-mz.122-20.se4.bin]?
Accessing Tftp://192.168.100.101/c3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin ...
Loading C3750-i5-mz.122-20.se4/c3750-i5-mz.122-20.se4.bin from 192.168.100.101 (via GIGABITETHERNET1/0/24):!!!!!!!!!!!!! !!!!!!!
[OK-5044988 bytes]
5044988 bytes copied in 114.010 secs (44250 bytes/sec)
4. Change the iOS boot order
Switch#show Boot
BOOT Path-list:flash:c3750-ipservices-mz.122-50.se3.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:
Timeout for Config
download:0 seconds
Config Download
Via Dhcp:disabled (next boot:disabled)
Switch#config T
Enter configuration commands, one per line. End with cntl/z.
Switch (config) #boot system Flash:c3750-i5-mz.122-20.se4.bin
Switch#show Boot
*mar 1 00:17:10.775:%sys-5-config_i:configured from the console by console
BOOT Path-list:flash:c3750-i5-mz.122-20.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:
Timeout for Config
download:0 seconds
Config Download
Via Dhcp:disabled (next boot:disabled)
5. Restart the switch after saving
Switch#write
Building configuration ...
[OK]
Switch#reload
Proceed with reload? [Confirm]
This article is from the "Midnight Oil See Sword" blog, please make sure to keep this source http://tecnology.blog.51cto.com/347573/1573985
CISCO3750 replacing iOS