root@:RE:0% cd /var/tmp
root@:RE:0% mkdir usb
Вставляємо флешку де записано прошивку, монтуємо її та копіюємо firmware:
root@:RE:0% ls -l /dev/da1*
crw-r----- 1 root operator 0, 83 Jun 25 18:23 /dev/da1
crw-r----- 1 root operator 0, 84 Jun 25 18:23 /dev/da1s1
root@:RE:0% mount_msdosfs /dev/da1s1 usb
root@:RE:0% cp usb/jinstall-ex-2200-12.3R10.2-domestic-signed.tgz .
root@:RE:0% umount /var/tmp/usb
Переходимо у cli та оновлюємось:
root@:RE:0% cli
root> request system software add jinstall-ex-2200-12.3R10.2-domestic-signed.tgz
root> request system reboot
Оновлюємось. Після того як все закінчиться знову заходимо у систему.
root@:RE:0% cli
root> show system storage partitions
fpc0:
--------------------------------------------------------------------------
Boot Media: internal (da0)
Active Partition: da0s1a
Backup Partition: da0s2a
Currently booted from: active (da0s1a)
Partitions information:
Partition Size Mountpoint
s1a 183M /
s2a 184M altroot
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
root> show system snapshot media internal
fpc0:
--------------------------------------------------------------------------
Information for snapshot on internal (/dev/da0s1a) (primary)
Creation date: Jun 25 19:00:55 2015
JUNOS version on snapshot:
jbase : ex-12.3R10.2
jkernel-ex-2200: 12.3R10.2
jcrypto-ex: 12.3R10.2
jdocs-ex: 12.3R10.2
jswitch-ex: 12.3R10.2
jpfe-ex22x: 12.3R10.2
jroute-ex: 12.3R10.2
jweb-ex: 12.3R10.2
fips-mode-arm: 12.3R10.2
Information for snapshot on internal (/dev/da0s2a) (backup)
Creation date: Jun 25 18:18:09 2015
JUNOS version on snapshot:
jbase : ex-12.3R4.6
jkernel-ex-2200: 12.3R4.6
jcrypto-ex: 12.3R4.6
jdocs-ex: 12.3R4.6
jswitch-ex: 12.3R4.6
jpfe-ex22x: 12.3R4.6
jroute-ex: 12.3R4.6
jweb-ex: 12.3R4.6
fips-mode-arm: 12.3R4.6
Сінхронизуємо розділи:
root> request system snapshot media internal slice alternate
root> show system snapshot media internal
fpc0:
--------------------------------------------------------------------------
Information for snapshot on internal (/dev/da0s1a) (primary)
Creation date: Jun 25 19:00:55 2015
JUNOS version on snapshot:
jbase : ex-12.3R10.2
jkernel-ex-2200: 12.3R10.2
jcrypto-ex: 12.3R10.2
jdocs-ex: 12.3R10.2
jswitch-ex: 12.3R10.2
jpfe-ex22x: 12.3R10.2
jroute-ex: 12.3R10.2
jweb-ex: 12.3R10.2
fips-mode-arm: 12.3R10.2
Information for snapshot on internal (/dev/da0s2a) (backup)
Creation date: Jun 25 19:24:54 2015
JUNOS version on snapshot:
jbase : ex-12.3R10.2
jkernel-ex-2200: 12.3R10.2
jcrypto-ex: 12.3R10.2
jdocs-ex: 12.3R10.2
jswitch-ex: 12.3R10.2
jpfe-ex22x: 12.3R10.2
jroute-ex: 12.3R10.2
jweb-ex: 12.3R10.2
fips-mode-arm: 12.3R10.2
Про всяк випадок перезавантажуємось:
root> request system reboot
і переконуємось, що все гаразд.
Немає коментарів:
Дописати коментар