How to perform a snapshot on a EX4600/QFX5100 switch.
EX4600/QFX5100 doesn’t have support for “request system snapshot local media”
This is output shows the media/usb is missing while perform the snapshot.
{master:0} root@switch> show system snapshot fpc0: -------------------------------------------------------------------------- error: usb media missing or invalid fpc1: -------------------------------------------------------------------------- error: usb media missing or invalid {master:0} root@switch> {master:0} root@switch> show version fpc0: -------------------------------------------------------------------------- Hostname: switch Model: ex4600-40f Junos: 14.1X53-D30.3 JUNOS Base OS Software Suite [14.1X53-D30.3] JUNOS Base OS boot [14.1X53-D30.3] JUNOS Crypto Software Suite [14.1X53-D30.3] JUNOS Online Documentation [14.1X53-D30.3] JUNOS Kernel Software Suite [14.1X53-D30.3] JUNOS Packet Forwarding Engine Support (qfx-ex-x86-32) [14.1X53-D30.3] JUNOS Routing Software Suite [14.1X53-D30.3] JUNOS SDN Software Suite [14.1X53-D30.3] JUNOS Enterprise Software Suite [14.1X53-D30.3] JUNOS Web Management Platform Package [14.1X53-D30.3] JUNOS py-base-i386 [14.1X53-D30.3] JUNOS Host Software [13.2I20141029_1852_vsdk_build_49] {master:0} root@switch> start shell root@switch:RE:0% pkg_admin -l Junos package revision information in primary slice (ad0s1) Junos revision: qfx- Build ID string: qfx-ex-x86-32-14.1X53-D30.3 SVN revision: r738356 SVN branch: JUNOS_141_X53_D30_BRANCH Install date: Oct 2 15:00:46 2015 Package revisions: jbase: dc-re-14.1X53-D30.3 jcrypto: dc-re-14.1X53-D30.3 jdocs: dc-re-14.1X53-D30.3 jkernel: qfx-ex-x86-32-14.1X53-D30.3 jpfe: qfx-ex-x86-32-14.1X53-D30.3 jroute: qfx-ex-x86-32-14.1X53-D30.3 jswitch: qfx-ex-x86-32-14.1X53-D30.3
Junos package revision information in alternate slice (ad3s1) jbase not installed correctly in alternate slice
Use an external media (USB) to perform snapshot
Use ” request system snapshot ” command to create an snapshot of the partition, this can be done only when a media/usb is inserted to the switch itself.
root@switch> request system snapshot fpc0: -------------------------------------------------------------------------- Starting snapshot to usb (/dev/da0) Creating snapshot on the host .. Copying bootable disk image from host .. Writing to usb (/dev/da0) .. Copying 'Host OS' to '/dev/da0s1' .. (this may take a few minutes) Copying 'JUNOS' to '/dev/da0s1' .. (this may take a few minutes) The following filesystems were archived: / /config Host-OS root@switch> show system snapshot fpc0: -------------------------------------------------------------------------- Valid Junos snapshot found Information for snapshot on usb (/dev/da0s1) Creation date: Oct 29 20:42:54 2013 JUNOS version on snapshot: JUNOS : 13.2-20131028_x_132_x51_exdc.0