频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

升级Juniper路由器的Junos

来源: 作者: 出处:巧巧读书 2007-04-04 进入讨论组

呵呵,前天在pc上模拟Olive 成功了,这两天准备跟同事一起把单位那台备份M5的junos升级到V8.1,看看官方文档吧

To see the software that is currently installed on the router, use the following command:
root@router> show system software (升级前先确定旧的Junos相关版本)

Information for jbase:
Comment:
JUNOS Base OS Software Suite [5.0R3.3]
Information for jcrypto:
Comment:
JUNOS Crypto Software Suite [5.0R3.3]
Information for jdocs:
Comment:
JUNOS Online Documentation [5.0R3.3]
Information for jkernel:
Comment:
JUNOS Kernel Software Suite [5.0R3.3]
Information for jpfe:
Comment:
JUNOS Packet Forwarding Engine Support [5.0R3.3]
Information for jroute:
Comment:
JUNOS Routing Software Suite [5.0R3.3]
Information for junos:
Comment:
JUNOS Base OS boot [5.0R3.3]

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.(下载新的Junos版本,这个...弄到手为强,据说juniper网站那个帐号比cisco的CCO还猛,一般人搞不定)

  2. Perform a system backup on the router you wish to upgrade. (升级前,备份配置文件,旧的junos)

  3. Copy the software package(s) to the router you wish to upgrade. (利用ftp把新的junos拷贝到/var/tmp目录)

  4. Add the new software package(s) to the router you wish to upgrade (this will effectively delete the old packages).(升级,加载新的junos)

  5. Reboot the router.(重启路由器就ok咯)

1 Downloading the Software

When you download JUNOS software from the Juniper Networks Web site at www.juniper.net/support using your authorized username and password, you will notice that the packages use a standard naming convention. The format is package-x.yZnumber.tgz:

  • Package is the name of the file (such as jbundle).

  • x.y is the software version.

  • Z is the type of release. For most customers, this will be an R for released version. For some customers, it may be A (alpha release), B (beta release), or I (internal release).

  • number is the software release number and build, if applicable.

2 Backing Up the System

You can create a recoverable snapshot of the current system, if it is stable, before proceeding. Using this command, however, will make the running and backup versions of the software identical and will mean that you cannot revert back to the original version that shipped with the router. To make the snapshot, use the following command:

root@router# 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 Copying the Package(s) to the Router

After you have backed up your system files, copy the new software bundle to the router's hard disk, using a command such as the following:

root@router# file copy 
ftp://username:prompt@ftp.hostname.net/  filename
/var/tmp/filename

This will copy the file from an FTP server to the /var/tmp directory on the router's hard disk. This is simply an example of one way to copy the file. The M40 also has an LS-120 floppy drive that can be used for the storage and transfer of files. When installing a new software version, you should do so from an out-of-band management source, such as the console. An in-band source, such as Telnet, could be lost while you are upgrading.

4 Adding the Package(s)

Once the files have been copied to the hard disk, upgrade the software using the following command:

root@router> request system software add package-name

Checking available free disk space...11600k available, 6076k suggested...
Installing package '/var/tmp/jbundle-package-name' ...
Auto-deleting old jroute...
Auto-deleting old jdocs...
Auto-deleting old jpfe...
Auto-deleting old jkernel...
Adding JUNOS base software release-number...
Adding jkernel...
Adding jpfe...
Adding jdocs...
Adding jroute...
NOTICE: uncommitted changes have been saved in
/var/db/config/juniper.conf.pre-install
Saving package file in /var/sw/pkg/jbundle-package-name ...

As you can see in the example, once you begin to install the new jbundle, the system deletes the old information and explodes (expands) the zipped files contained in the new bundle into the /var/sw/pkg/jbundle-package-name file.

5 Finishing the Upgrade

Once the software upgrade has completed, you should perform a system reboot. This is the last step in upgrading the JUNOS software package(s). Use the following command:

root@router> request system reboot 
图 文 结 合:http://www.qqread.com/net-manage/t306916.html 更多文章 更多内容请看路由器设置专题交换机与路由器密码恢复路由故障处理手册专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章