【网工日常】Cisco 2821升级 IOS 15.1.4M 版本记录

微信扫一扫,分享到朋友圈

【网工日常】Cisco 2821升级 IOS 15.1.4M 版本记录
2

事件起因,今天统计了咱的设备,发现全部设备版本代号开头都是12.(好奇怪的诅咒

又因为想在一个设备上配置ipv6,看到disco社区有人说15.1.4M运行的很稳定,立即就打算冲了。

部署TFTP服务器

让漏油器下载bin需要从tftp服务器下载,所以需要搭建个tftp服务器。

咱的mac,上网查了一下说新版本比较麻烦,所以咱就用之前封装好的Cloud-init模版快速创建了一台CentOS7的服务器安装tftp-server

#安装tftp服务器
yum install tftp-server -y

#创建存放文件目录
mkdir /root/tftp
chmod /root/tftp

#配置tftp
vim /etc/xinetd.d/tftp

# default: off
# description: The tftp server serves files using the trivial file transfer \
#	protocol.  The tftp protocol is often used to boot diskless \
#	workstations, download configuration files to network-aware printers, \
#	and to start the installation process for some operating systems.
service tftp
{
	socket_type		= dgram
	protocol		= udp
	wait			= yes
	user			= root
	server			= /usr/sbin/in.tftpd
	server_args		= -s /root/tftp -c  #配置路径并在最后加上 -c
	disable			= no #原本是yes,改为no
	per_source		= 11
	cps			= 100 2
	flags			= IPv4
}

#启动tftp
systemctl start tftp.socket
systemctl start tftp.service

安装新版本Bin

因为咱的flash是64M,而新版本就61M了,咱必须得把大部分文件删除掉才行。

delete flash:c2800nm….bin 删除原本的bin

copy tftp://10.0.80.217/c2800nm-entservicesk9-mz.151-4.M10.bin flash:

reload

然后您的disco就升级完成了,现在请开始享受全新的disco把

删除文件

因为咱的Cisco 2821只有64M,而这个新的IOS 61M,咱不得不把乱七八糟的其他东西都删掉,因为不知道几个是啥,无脑乱删。

删完后装好后发现telnet不进去了,以为是删错了东西。

最后在万能的cisco社区发现有人说,除了bin 其他删了都没关系。咱就安心了

呜呜呜

后来插console线上去配的时候提示咱这设备一个风扇不运行了(希望能跑把。不管啦!!!!

咱很菜的,是个智障。 人设非常容易崩。
下一篇

【网络虚机】Proxmox 安裝 EVE-NG

你也可能喜欢

2 条评论

  1. 好奇为啥有这么多设备

发表评论

您的电子邮件地址不会被公开。 必填项已用 * 标注

提示:点击验证后方可评论!

插入图片

相关文章

  1. 暂时没有相关的文章!

返回顶部