Procedimiento Actualización SW Juniper
Procedimiento Actualización SW Juniper
Procedimiento Actualización SW Juniper
The following procedure allow users to mount a USB device on EX/J/SRX/MX devices. This can be helpful if
network connectivity is unavailable and you need to copy files to or from the device.
#########################################################################
### si no se tiene user root ingresar con usuario local y definirlo ###
###
### user@switch>edit
### user@switch# set system root-authentication plain-text-password
### user@switch# New password:
#########################################################################
10. Insert the USB drive in the USB port. The following output will be displayed:
11. rootstr@% umass1: TOSHIBA TransMemory, rev 2.00/1.00, addr 3
12. da2 at umass-sim1 bus 1 target 0 lun 0
13. da2: <TOSHIBA TransMemory 5.00> Removable Direct Access SCSI-0
device
14. da2: 40.000MB/s transfers
15. da2: 983MB (2013184 512 byte sectors: 64H 32S/T 983C)
Note: '/dev/da2s1' is the USB drive. #### tambien puede salir /dev/da1s1'
Note: 'ls /var/tmp/usb' will show all the files in the USB drive.
27. Copy any of the USB files to the /var/tmp/usb directory:
28. root@% cp /var/tmp/usb/images.tgz /var/tmp
29. root@% ls /var/tmp
images.tgz
The images.tgz file from the USB is successfully copied to the /var/tmp directory.
30. Now unmount the USB drive after the file is completely copied:
31. root@% umount /var/tmp/usb
32. root@% umass1: at uhub0 port 1 (addr 3) disconnected
33. (da1:umass-sim1:1:0:0): lost device
34. (da1:umass-sim1:1:0:0): removing device entry
umass1: detached
Escribir CLI
/cf/var/tmp:
cleanup-pkgs.log
eedebug_bin_file
gksdchk.log
gres-tp/
idp_license_info
install/
junos-srxsme-12.1X45-D10-domestic.tgz*
kmdchk.log
krt_gencfg_filter.txt
pics/
policy_status
rtsdb/
sec-download/
spu_kmd_init
usb/
vi.recover/
vpn_tunnel_orig.id
root>
{primary:node0}[edit]
root@1# run request system snapshot slice alternate ?
Possible completions:
<[Enter]> Execute this command
factory Include only files shipped from factory in
snapshot
media Media to snapshot to
partition Partition the media
| Pipe through a command
{primary:node0}[edit]
root@1# run request system snapshot slice alternate
node0:
-------------------------------------------------------------------------
-
Formatting alternate root (/dev/ad0s1a)...
Copying '/dev/ad0s2a' to '/dev/ad0s1a' .. (this may take a few minutes)
The following filesystems were archived: /
node1:
-------------------------------------------------------------------------
-
Formatting alternate root (/dev/ad0s2a)...
Copying '/dev/ad0s1a' to '/dev/ad0s2a' .. (this may take a few minutes)
The following filesystems were archived: /
It will take a while then you can check the version of the backup software by executing the following command:
Note : The above will not work or show the following error if you do not have dual partitions:
Error: usb media missing or invalid
Kindly execute the following command to check the internal partition:
root@SRX> show system snapshot media internal
root@SRX> show system software backup
Ip server 192.168.1.123
root@% pwd
/cf/root
root@% cd /var/tmp/usb
root@% pwd
/cf/var/tmp/usb
root@% ls
junos-jsr-11.4R5.7-export.tgz