在多台设备NFX250软件
下载和安装软件
下载软件
您可以通过两种方式之一下载所需的软件包:
使用浏览器下载软件
您可以在以下网站从客户支持瞻博网络下载所需的https://www.juniper.net/support/。
要访问下载部分,您必须拥有服务合同和访问帐户。如果您需要有关获得帐户的帮助,请填写以下网站瞻博网络注册 https://userregistration.juniper.net/entitlement/setupAccountInfo.do。
要下载软件映像:
在浏览器中,转到 https://www.juniper.net/support/。
将打开 在线支持 (CSC) 页面。
单击 下载软件 链接。
将会出现"下载软件"页面。
选择要下载的软件包。您可以选择支持特定平台或技术的软件。
在出现的页面上,单击 "软件 "选项卡并选择Junos OS安装包。
使用用户名和密码登录。
在出现的"下载软件"页面上,提供以下选项:
如果您要在本地主机上下载软件,请单击 单击此处 链接,然后保存至系统。如果要将文件放在远程系统中,必须确保路由器、交换机或服务网关可以使用 HTTP、FTP 或 SCP 访问该文件。继续安装。有关详细信息 , 请参阅 使用命令行界面 安装软件 。
如果要在设备上下载软件,请使用以下过程在设备上下载和安装该软件。
单击 Copy 以将生成的 URL 复制到剪贴板。
注意:生成的 URL 字符串仅保持活动状态 15 分钟。
登录您的设备。
在操作模式下,输入
file copy “URL” destination
命令。在 命令中,粘贴复制的 URL 字符串 URL (for),然后输入 /var/tmp( 作为硬盘上的目标)。
例子:
user@host> file copy "https://cdn.juniper.net/software/ittest/software_target/agileEcotTest/Dev_Binary_Build.tar? SM_USER=user1=1507622971_dce164fa854b4a27550c254eef950dd8” /var/tmp
注意:确保 URL 字符串用引号括起来。还要确保设备上有足够的可用空间。
软件映像将下载到设备上。
使用 命令安装
request system software add package-name
软件。例子:
user@host> request system software add /var/tmp/ junos-install-mx-x86-32-17.3R1.10.tgz
软件将安装在设备上。
另请参阅
使用命令行界面安装软件
从 瞻博网络 支持网站 下载 https://www.juniper.net/support/ 软件包,然后在本地系统中。然后,可以使用路由器或交换机设备或本地系统命令行界面将下载的软件包命令行界面。
要访问下载部分,您必须拥有服务合同和访问帐户。如果您需要有关获得帐户的帮助,请填写以下网站瞻博网络 注册 https://userregistration.juniper.net/entitlement/setupAccountInfo.do。
传输软件包之前,请确保设备上已启用 FTP 服务。 使用 命令启用 FTP set system services ftp
服务:
user@host# set system services ftp
要使用设备许可证传输软件包命令行界面:
要传输软件包,使用本地系统命令行界面:
从本地系统命令行,使用命令启动与设备的 FTP
ftp
会话:user@host> ftp host
host 是路由器或交换机的主机名或地址。
使用客户支持提供的用户名和密码登录:
User Name: username 331 Password required for username. Password: password
验证凭据后,FTP 会话将打开。
导航到本地系统的软件包位置,然后使用 命令传输
put
软件包:user@host> put installation-package
下面是名称的示例 installation-package :junos-install-mx-x86-32-17.3R1.10.tgz
使用 命令关闭 FTP
bye
会话:user@host> bye Goodbye
另请参阅
在 NFX250 网络服务平台
本主题列出了用于安装软件包以及升级应用程序上的映像和重新启动 NFX250 网络服务平台 平台NFX250命令。其中还列出了用于对系统进行格式化以及将系统恢复为出厂状态的命令。
要安装新软件包NFX250 网络服务平台:
[edit] user@jdm> request system software add package [reboot]
在安装新软件包之后,重新启动设备是一个选项。
替换为 package
以下路径:
对于平台上本地目录中的软件包 —/var/tmp/package.tgz
要重新启动平台:
[edit] user@jdm> request system reboot
要通过删除所有用户数据、配置详细信息以及在当前网络服务平台上重新安装当前软件NFX250对系统进行格式化:
user@jdm> request system zeroize
要通过删除所有用户数据、配置详细信息以及升级网络服务平台上NFX250对系统进行格式化:
user@jdm> request system software add package clean-install
和 zeroize
clean-install
命令仅适用于主安装,不用于备份安装。
和 zeroize
clean-install
命令可能会删除用户安装的软件包、用户的 VNF 文件等。完成这些操作后,您必须获取这些信息并重新安装软件。如果系统为出厂状态,可能需要控制台访问权限来配置基本远程网络访问。
升级分解后分解的Junos OS映像
要升级分解后JCP平台上的 JCP、JDM 和主机操作系统Junos OS映像:
user@jdm>request system software add jinstall reboot
例如:
user@jdm>request system software add /var/tmp/jinstall-nfx-2-flex-15.1X53-D40.3.secure-domestic-signed.tgz reboot | no-more System software upgrade in progress, please wait... Pushing Junos image package to the host... Installing /var/tmp/install-media-nfx-2-junos-15.1X53-D45.3.secure.tgz Extracting the package ... total 1191772 -rw-r--r-- 1 20607 758 313873261 Nov 22 09:18 jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz -rw-r--r-- 1 20607 758 906487459 Nov 22 09:18 jinstall-nfx-2-junos-15.1X53-D45.3.secure-app.tgz ============================================ Host OS upgrade is FORCED Current Host kernel version : 3.14.61-rt58-WR7.0.0.13_ovp Package Host kernel version : 3.14.61-rt58-WR7.0.0.13_ovp Current Host version : 3.0.2 Package Host version : 3.0.2 Min host version required for applications: 2.2.0 ============================================ Validate linux image... upgrade_platform: ------------------- upgrade_platform: Parameters passed: upgrade_platform: silent=0 upgrade_platform: package=/var/tmp/tmp.LKb5WwiFu8junos_cli_upg/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz upgrade_platform: clean install=0 upgrade_platform: on primary =0 upgrade_platform: clean upgrade=0 upgrade_platform: Need reboot after staging=1 upgrade_platform: ------------------- upgrade_platform: upgrade_platform: Checking input /var/tmp/tmp.LKb5WwiFu8junos_cli_upg/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz ... upgrade_platform: Input package /var/tmp/tmp.LKb5WwiFu8junos_cli_upg/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz is valid. Secure Boot is enforced. ALLOW:usr/secureboot/grub/BOOTX64.EFI ALLOW:boot/bzImage-intel-x86-64.bin ALLOW:boot/initramfs.cpio.gz Setting up Junos host applications for installation ... Installing Host OS ... upgrade_platform: ------------------- upgrade_platform: Parameters passed: upgrade_platform: silent=0 upgrade_platform: package=/var/tmp/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz upgrade_platform: clean install=0 upgrade_platform: on primary =0 upgrade_platform: clean upgrade=0 upgrade_platform: Need reboot after staging=0 upgrade_platform: ------------------- upgrade_platform: upgrade_platform: Checking input /var/tmp/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz ... upgrade_platform: Input package /var/tmp/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz is valid. Secure Boot is enforced. ALLOW:usr/secureboot/grub/BOOTX64.EFI ALLOW:boot/bzImage-intel-x86-64.bin ALLOW:boot/initramfs.cpio.gz upgrade_platform: Staging the upgrade package - /var/tmp/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz.. ./ ./bzImage-intel-x86-64.bin ./bzImage-intel-x86-64.bin.psig ./grub/ ./grub/grub.conf ./grub/grub.efi ./initramfs.cpio.gz ./initramfs.cpio.gz.psig ./linux.checksum ./version.txt ./upgrade_platform ./host-version ./platform_info ./initrd.cpio.gz bzImage-intel-x86-64.bin: OK initramfs.cpio.gz: OK version.txt: OK upgrade_platform: Checksum verified and OK... 1528703 blocks upgrade_platform: Staging of /var/tmp/jinstall-nfx-2-junos-15.1X53-D45.3.secure-linux.tgz completed upgrade_platform: System need *REBOOT* to complete the upgrade upgrade_platform: Run upgrade_platform with option -r | --rollback to rollback the upgrade Host OS upgrade staged. Reboot the system to complete installation! Rebooting ... System going down for reboot in 30 seconds... System reboot in progress... Shutting down virtual-machines... Waiting for virtual-machines to shutdown, retry = 0 Waiting for virtual-machines to shutdown, retry = 1 Waiting for virtual-machines to shutdown, retry = 2 No virtual-machines active now. Rebooting the system... INIT: Sending processes the TERM signal {master:0} root@nfx250-m-p2a-sys11-jdm> Stopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 4169) . Unmount Junos cgroup... Done Stopping atd: OK Stopping domain name service: named. Unmounting cgroups...Done Stopping system message bus: dbus. stopping DNS forwarder and DHCP server: dnsmasq... stopped /usr/bin/dnsmasq (pid 9449 9448) done. Stopping docker: Stopping HOSTAP Daemon: no /usr/sbin/hostapd found; none killed hostapd. Shutting down irqbalance: no irqbalance found; none killed done Stopping ntpd: done stopping rsyslogd ... done Stopping internet superserver: xinetd. Waiting for sanlock to stop: Success Clearing ebtables rulesets: filter nat broute done. ok Stopping crond: OK Stopping S.M.A.R.T. daemon: smartd. Stopping network management services: snmpd snmptrapd libvirtMib_subagent. * Stopping virtualization library daemon: libvirtd Deconfiguring network interfaces... done. Stopping tcsd: OK Stopinit: Failed to release D-Bus name: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ping redis-server... Sending all processes the TERM signal... Sending all processes the KILL signal... Unmounting remote filesystems... Deactivating swap... Unmounting local filesystems... Rebooting... RE-FPGA-DRV: reboot notifier called with 0x0001 RE-FPGA-DRV: Please standby while rebooting. . .. .. .. . Booting from Flash A FPGA Reset Reason = 0x80 Primary BIOS version CBDE_SFP_00.21_01.01 Total Memory Size = 16GB Checking Primary BIOS code integrity...Passed! Press Esc for boot options ME is in normal operational state Booting HDD00.1 (StorFly VSFBM6CC100G-JUN)... Secure boot is enforced Welcome to GRUB! Secure Grub2 Diskboo
将系统恢复为出厂默认配置
要将系统恢复为出厂默认配置:
user@jdm# load factory-default warning: activating factory configuration
重新启动系统
要重新启动系统:
user@jdm>request system reboot
例如:
user@jdm>request system reboot Reboot the system ? [yes,no] (no) yes System reboot operation started, please wait... System going down for reboot in 30 seconds... System reboot in progress... Shutting down virtual-machines... . . . .
重新启动系统所花时间取决于活动 VNF 的数量。只有在所有活动 VNF 关闭之后,系统才重新启动。