2023年5月24日星期三

2960X救砖方法

 注意那个冒号和斜杠,还有空格,格式要绝对正确,在这个模式下tftp是单向的,只能下载,不能上传,还有,源文件名和目标文件名必须相同,血的教训阿。。。

Initialize the flash:
switch: flash_init

Initialize the management interface:(这一步好像没必要)
switch: mgmt_init

Then assign an IP address to the management interface:
switch: set IP_ADDR 10.1.100.2/255.255.255.0
switch: set DEFAULT_ROUTER 10.1.100.1

Then configure your TFTP server to have an IP on the same subnet and connect it to the management interface of the switch (ie 10.1.100.1/24)

Now to tell the switch to retrieve the firmware image:(这一步前有些机器要做 fsck flash:)
switch: copy tftp://10.1.100.1/c2960x-universalk9-mz.152-5b.E.bin flash:c2960x-universalk9-mz.152-5b.E.bin

The switch should then retrieve the image and save it flash.

Once the copy is complete boot from it with:

switch: boot flash:c2960x-universalk9-mz.152-5b.E.bin

然后可以直接重启,或者重新设定boot变量的值



没有评论:

发表评论

youtube的dns屏蔽方法

  216.239.38.120 是 Google 提供的一个特殊 DNS 服务器,用于强制开启 YouTube 受限模式(Restricted Mode) 。 如果你想在家里强制 YouTube 进入受限模式,可以在 路由器的 DNS 设置 中配置以下 DNS 服务器: D...