admin管理员组

文章数量:1563235

交换机系统固件准备 c2960-lanbasek9-mz.122-55.SE7.bin
https://download.csdn/download/a635161812/89524141
https://software.cisco/download/home/281231709/type/280805680/release/12.2.55-SE12

1、官网下载固件bin格式,放入tftp文件夹,设置本地IP为192.168.0.5,console连接交换机,网线连接本地计算机网口。

c2960-lanbasek9-mz.122-50.SE5.bin
2、配置交换机IP地址

Switch#conf t
Switch(config)#int vlan 1
Switch(config)#ip add 192.168.0.254 255.255.0.0
Switch(config)#no shut
Switch(config)#end

确保计算机网口插入cisco交换机vlan1口并通过ping尝试通信是否正常

3、保存下配置,下载固件到交换机,备份原配置文件
这里我使用的是TFTPD32这个工具,用3CDaemon的tftp不知道为什么会超时

wr
copy tftp:c2960-lanbasek9-mz.122-55.SE12.bin flash:c2960-lanbasek9-mz.122-55.SE12.bin
copy flash:config.text tftp://192.168.0.5

ftp的方式(未测试)
copy ftp://cisco2用户名:333333密码@10.248.1.254/nxos64-cs.10.2.7.M.bin flash:
或者
PNET_B1(config)#ip ftp username cisco2
PNET_B1(config)#ip ftp password 333333
exit

PNET_B1#copy ftp flash
Address or name of remote host ti ? 192.168.0.5
Source filename []? c2960-lanbasek9-mz.122-55.SE12.bin
Destination filename [c2800nm -ipbase-mz.123-6e.bin) ? []


如果是在现场,推荐使用USB方式,最为方便但需要设备支持
这里是为了将U盘格式化为Nexus9508能识别的格式

NewSoul4500#format ?
  bootflash:  Filesystem to be formatted
  slot0:      Filesystem to be formatted
  usb1:       Filesystem to be formatted
NewSoul4500# format usb1: 
This command is going to erase the contents of your usb1:.
Do you want to continue? (yes/no)  [y] y
Formatting usb1:
Formatting completed

拨出U盘插到电脑上,将新版本镜像copy to USB

4、修改引导镜像

Switch#config t
Switch(config)#boot system flash:c2960-lanbasek9-mz.122-55.SE12.bin
Switch(config)#end
Switch#wr
Switch#reload

重启后进入查看是否启动新iOS

PNET_F6_3F_B1#show ver
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(55)SE7,
...........
System image file is "flash:/c2960-lanbasek9-mz.122-55.SE12.bin"

如果配置有问题,可以用备份的配置恢复

copy  tftp://192.168.0.5   flash:config.text
wr

保存,至此升级和跟新配置完毕

参考文章
https://blog.moper/3338.html
Cisco Nexus 93180交换机版本升级 NXOS: version 9.3(3) to 10.2.7.M
https://blog.csdn/funnycoffee123/article/details/136796583
一次Cisco Nexus9508交换机版本升级
https://blog.csdn/funnycoffee123/article/details/139037506

本文标签: 思科交换机步骤Ciscoiso