中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Cisco3750如果更換IOS

發布時間:2021-12-24 15:18:08 來源:億速云 閱讀:155 作者:小新 欄目:移動開發

這篇文章主要介紹Cisco3750如果更換IOS,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!

背景:兩臺Cisco3750做雙機,Cisco3750-01硬件故障,罷工了。新買的二手交換機與之前的IOS不一致,故需要更換IOS。

準備工作:網線、console線、tftp工具

操作步驟:

一、從Cisco3750-02上下載以前的IOS

1、在交換機接口上配置一個接口地址;

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、筆記本用網線連接到交換機;

筆記本使用ip地址192.168.100.101,開啟tftp工具(3CDaemon)

3、下載IOS;

(1)筆記本與交換機連通性測試

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 (4/5), round-trip min/avg/max = 1/1/1 ms

(2)查看Flash信息

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 (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)將IOS從Flash復制到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)

復制失敗,無法復制文件夾

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)

復制ios文件仍然失敗,關閉掉筆記本上的防火墻后,復制正常。

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)

二、更新新交換機上的IOS

1、為了以防萬一,先將該交換機的IOS備份(方法與上述方式相同);

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 (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、刪除以前的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、上傳新的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、更改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:17:10.775: %SYS-5-CONFIG_I: Configured from 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、保存后重啟交換機

Switch#write
Building configuration...
[OK]
Switch#reload
Proceed with reload? [confirm]

以上是“Cisco3750如果更換IOS”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

沁水县| 沂水县| 昭苏县| 泰顺县| 正安县| 化州市| 宁化县| 英吉沙县| 岳普湖县| 临沂市| 同仁县| 讷河市| 离岛区| 友谊县| 秭归县| 仁布县| 通辽市| 灵宝市| 凤冈县| 宕昌县| 峨边| 张掖市| 玉龙| 忻州市| 昆山市| 霍林郭勒市| 姜堰市| 赣榆县| 孝义市| 奎屯市| 衡南县| 丹江口市| 肥城市| 北京市| 麻阳| 安阳市| 神池县| 石首市| 南郑县| 偃师市| 淳化县|