RSS
热门关键字:  netscreen  juniper  junos  vpn  jn
当前位置 : 主页>仿真>

JUNOS升级8.1→8.3,安装JWEB

来源:互联网 作者:佚名 时间:01-27 03:45:00 浏览:
之前用Vmware模拟Olive的Junos版本是Junos8.1R1.5今天值班闲来找到了Junos8.3R2.8,Jweb8.2R1.7于是决定升级Olive,其实先前的Junos8.1R1.5也是由7.4升级而来的,听说JUNOS 7.3开始支持JWEB。不过这个模拟器的Junos居然不支持vlan tag 实在郁闷,就当熟悉juniper设备命令好了
官方文档
www.junipers.cn
To upgrade your software, there are several simple steps (following this list, we will explain each item in more detail):
1.Download the software package(s) you need from the Juniper Networks Web site.
2.Perform a system backup on the router you wish to upgrade.
3.Copy the software package(s) to the router you wish to upgrade.
4.Add the new software package(s) to the router you wish to upgrade (this will effectively delete the old packages).
5.Reboot the router.

一、准备工作
1、
备份原有JUNOS
2、
准备高版本JUNOS
3、
FTP
服务器
4、
升级失败的心理准备

二、升级过程
1、
查看原有版本
config@Olive> show version
2、
备份原有JUNOS
config@Olive# request system snapshot
文档上的说法是:This will back up the /root file system to /altroot and the /config file system to /altconfig on the hard disk.
3、将8.1 JUNOS升级为 8.3 JUNOS
将ftp服务器目录下的jinstall-8.3R2.8-export-signed.tgz用binary模式下载到/var目录后,开始安装
config@Olive> request system software add jinstall-8.3R2.8-export-signed.tgz
忽视所有的警告,安装后重启设备,如果升级过程中提示空间不够,可以rm删除/var/tmp目录,/var/sw/pkg目录下旧版本的junos,这个害得我没有一次删掉,折腾了好多次!
config@Olive> request system reboot
Reboot the system ? [yes,no] (no) yes
config@Olive>
重启,重新登录……
--- JUNOS 8.3R2.8 built 2007-07-07 02:29:55 UTC
8.3 JUNOS升级成功!

现在开始升级JWEB,步骤还是和升级JUNOS一样
将ftp服务器目录下的jweb-8.2R1.7-signed.tgz用binary模式下载到/var目录后,开始安装
开始安装JWEB升级包
config@Olive> request system software add jweb-8.2R1.7-signed.tgz
config@Olive> request system reboot
Reboot the system ? [yes,no] (no) yes 
config@Olive>
show version多了条JUNOS Web Management [8.2R1.7],呵呵,成功了。
还要配置如下:
config@Olive# set system services web-management http port 80
config@Olive# set system login user config class super-user  authentication plain-text-password
config@Olive# commit

如果设备本来没有配置IP地址的,还需要配置IP地址
config@Olive# set interface fxp0 unit 0 family inet address YY.YY.XX.XX/32
打开IE,就可以通过WEB方式配置、管理设备了。

附:如果在升级不成功或需要中断升级的情况下可以退回到原先的版本   
如果因为新版本工作不正常或者是在升级过程中遇到其它问题,需要退回到原先的版本,则你可以重新安装自动保存在/var/sw/pkg 目录下的原先的版本。命令格式与升级操作是一样的,只是文件名不一样。  
config@Olive> request system software add /var/sw/pkg/jinstall-8.1R1.5-export-signed.tgz  
config@Olive> request system reboot
注意:如果你升级的是Juniper路由器实体,最好的做法是只在紧急情况下使用这些措施。如果在升级过程中出现问题,请立即联系代理工程师或JUNIPER工程师。这些措施列在这里仅供在紧急情况下使用。  不然后果不得了啦

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名评论
立即注册账号