Junos OS

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

Extract a config file backup from USB drive to SRX550

This thread has been viewed 3 times
  • 1.  Extract a config file backup from USB drive to SRX550

    Posted 09-16-2016 14:39

    hello team

    i just need a hand on this

     

    Im working in a migration and i have inserted an usb drive to the Juniper SRX550m and got this

     

    root# umass0: Verbatim STORE N GO, rev 2.00/1.00, addr 2
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <Verbatim STORE N GO 5.00> Removable Direct Access SCSI-6 device
    da0: 40.000MB/s transfers
    da0: 1846MB (3782639 512 byte sectors: 255H 63S/T 235C)

     

    i need to extract the config that i got from the router in production and put it in the other one, just can't remember how to do it via USB and put it in place for me to start working on the edit of it.

    any help will be appreciated

     

    EF


    #USBtoSRXconfig


  • 2.  RE: Extract a config file backup from USB drive to SRX550
    Best Answer

    Posted 09-16-2016 15:11

    these are the instructions to mount the USB drive into a folder on the SRX.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB12880

     

    Once you have the drive mounted, you need to get the path and file name of the config file you want to load.

     

    Now enter configuration mode on the device.

     

    Delete the current config by just typing delete and return accepting the warning.

     

    Load the file:

     

    load override /var/tmp/usb/filename

     

    now your backup configuraiton is loaded as the candidate configuration.  You can make the edits you want and commit when ready.