[转载]JUNOS升级步骤
原文地址:JUNOS升级步骤
注意:升级时配置和一些其它附属文件会被自动保存,但存放在RE上的本地日志等文件可能会被删除。所以如果需要保存这些日志等文件也应该在升级前使用FTP备份这些文件到服务器上。
1、备份
xiaocisco@test-j2320> request system snapshot
xiaocisco@test-j2320# save /var/home/xiaocisco/config.junos.txt
xiaocisco@test-j2320# run file copy config.junos.txt ftp://username:[email protected]/config.junos.txt
2、将新的JUNOS使用ftp上传至Juniper设备
xiaocisco@test-j2320#run file copy ftp://username:[email protected]
3、JUNOS安装
xiaocisco@test-j2320> request system software add /var/tmp/junos-jsr-9.5R1.8-domestic.tgz
NOTICE: Validating configuration against junos-jsr-9.5R1.8-domestic.tgz.
NOTICE: Use the 'no-validate' option to skip this if desired.
Checking compatibility with configuration
4、重启完成安装
xiaocisco@test-j2320# run request system reboot
Reboot the system ? [yes,no] (no)yes
5、升级完成后,备份FLASH当前JUNOS和配置到硬盘上
xiaocisco@test-j2320> request system snapshot