In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces that if Cisco3750 changes IOS, it is very detailed and has certain reference value. Friends who are interested must finish reading it!
Background: two Cisco3750 do dual computers, Cisco3750-01 hardware failure, strike. The newly purchased second-hand switch is inconsistent with the previous IOS, so the IOS needs to be replaced.
Preparation: network cable, console line, tftp tool
Procedure:
Download the previous IOS from Cisco3750-02
1. Configure an interface address on the switch interface
SW-A-02 (3750-2) (config) # int g1plash 0TRAN23
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 is connected to the switch with a network cable.
The notebook uses the ip address 192.168.100.101 to open the tftp tool (3CDaemon)
3. Download IOS
(1) Connectivity test between notebook and switch
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 80 percent (4amp 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 10 2013 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 20 2014 17:05:31 + 08:00 config.text
90-rwx 3110 Mar 13 1993 12:40:51 + 08:00 startup-configw
91-rwx 27 Sep 20 2014 17:05:31 + 08:00 private-config.text
15998976 bytes total with 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 with 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 with 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)
Copy the ios file still failed, after turning off the firewall on the notebook, the copy 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)
Update the IOS on the new switch
1. Just in case, back up the IOS of the switch first (the method is the same as above)
Switch#show flash
Directory of flash:/
3-rwx 11518717 Mar 4 2010 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 with 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
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. Delete 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 with 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 t ftp://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 startup order of IOS
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 Configured from console by console 17 Configured from console by console 10.775:% SYS-5-CONFIG_I:
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]
The above is all the contents of the article "Cisco3750 if you change IOS". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.