USB
стартуем shell с правами рута
start shell user root
root@ua-ozh-lz50-ubnix-1:RE:0% ls -lah /dev/
выбираем раздел по времени появления
crw-r—– 1 root operator 0xda Feb 3 16:46 da0s1
монтируем флешку
mount_msdosfs /dev/da0s1 /mnt
ls -lah /mnt/
видим архивы прошивок на флешке
-rwxr-xr-x 1 root wheel 1.4G Feb 2 10:04 jinstall-host-qfx-5e-x86-64-20.1R1-S4.1-secure-signed.tgz
-rwxr-xr-x 1 root wheel 1.4G Feb 2 12:59 jinstall-host-qfx-5e-x86-64-20.1R1.11-secure-signed.tgz
выходим из shell
cli
смотри фийлы на флешке:
julik@ua-ozh-lz50-ubnix-1> file list /mnt
Обновляем OS:
request system software add /<dir>/<junos image> force-host reboot
show version detail | save /var/tmp/swversion.old
show system software list | save /var/tmp/swlist.old
show configuration | save /var/tmp/config.old
show system boot-messages | save /var/tmp/bootmessages.old
show chassis environment | save /var/tmp/hwenvironment.old
show interfaces terse | save /var/tmp/interfaces.old
show bgp summary | save /var/tmp/bgp.old
show system snapshot | save /var/tmp/snapshot.old
file copy /var/tmp/snapshot.old rb@10.0.15.11:~/
sudo dd if=/var/tmp/usb.img of=/dev/rdisk3 bs=1M
request system shutdown reboot usb