SRX Services Gateway
SRX Services Gateway

Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-11-2019 10:27 PM

Dear Team,

 

I have SRX 550 which is alreday configured and firmware version is running 12.3X48-D75.4-domestic

 

SO we have another SRX 550 Which having firmware version running with 12.3X48-D30.7-domestic

 

 

So i wanted to do same configuration and same firmware from first SRX550 to second 

 

Please let us know what steps has to follow to do this activity with success.

 

 

Regards,

Harmesh Yadav

12 REPLIES 12
SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-11-2019 10:49 PM
Hi,

For the configuration, you can try a "show | display set" from configuration mode on the working SRX and copy the resulting output to the other SRX's on configuration mode.

For the junos upgrade, you need to perform a regular junos upgrade, check the following link:

https://kb.juniper.net/InfoCenter/index?page=content&id=KB16652&actp=METADATA

If you don't have the SRX junos package/image you can check the SRX with the newest junos version in order to confirm if the file is still available:

> file list var/tmp/

If the file is there, you can download it from that folder and upload it to the same folder on the second SRX.




Enviado desde mi smartphone Samsung Galaxy.
Pura Vida from Costa Rica - Mark as Resolved if it applies.
Kudos are appreciated too!
SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-11-2019 11:09 PM
Hi Harmesh,
Few other considerations:

> Is the firewall you are migrating from in a chassis cluster?
> Any licenses installed?
> Any scripts running?

If you can share following command outputs from current/first firewall we can validate:

> show chassis cluster status
> show system license
> show configuration system scripts
> show configuration event-options

Best Regards,

Vikas



Juniper Internal
SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-12-2019 11:57 PM

Dear Team ,

 

Thanks for your help , i have successfully upgraded device with same firmware version of source device.

Now problem i have collected output of "show | display set" and tried to do configuration but i am getting error when commit that configuration like below

 

root# commit
[edit interfaces ge-0/0/3 unit 0 family ethernet-switching]
'vlan'
vlan member cannot be used on interface with vlan-id/vlan-tags
error: commit failed: (statements constraint check failed)

 

Please let us know what is the issue and why it not saving configuration

 

Regards,

Harmesh yadav

SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-12-2019 11:59 PM

Commad Output Which you required

 

@F> show chassis cluster status

error: Chassis cluster is not enabled.

 

@F> show system license

License usage:

                                 Licenses     Licenses    Licenses    Expiry

  Feature name                       used    installed      needed

  dynamic-vpn                           0            2           0    permanent

  ax411-wlan-ap                         0            2           0    permanent

 

Licenses installed: none

 

SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-13-2019 12:07 AM

Hi,

Please share or check the following configuration command from both SRXs: show interfaces ge-0/0/3. There might be a configuration difference on the SRX you just upgraded in regards the original SRX.

 

Pura Vida from Costa Rica - Mark as Resolved if it applies.
Kudos are appreciated too!
SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-13-2019 02:56 AM

Dear team,

 

I have set command , toady i dont have device access i will do configuration on monday

 

set interfaces ge-0/0/3 vlan-tagging
set interfaces ge-0/0/3 unit 0 vlan-id 178
set interfaces ge-0/0/3 unit 0 family inet address 10.x.x.x/x

SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-13-2019 05:12 AM

Hi Harmesh,

 

Looks like you have both family inet and ethernet-switching configured. Can you remove the ethernet-switching configuration and apply the commit?

 

Regards,

Vignesh.

SRX Services Gateway
Solution
Accepted by topic author harmesh_88@yahoo.co.in
‎04-15-2019 01:40 AM

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-13-2019 09:12 AM

Hello Harmesh,

 

Its quite simple. Now that you have upgraded your new SRX to the version you wanted and have copied the display set file on it, you can follow the steps below :- 

 

1. Remove all the existing configuration.

 

root> edit 
warning: uncommitted changes will be discarded on exit
Entering configuration mode

[edit]
root# delete 
This will delete the entire configuration
Delete everything under this level? [yes,no] (no)yes

 

2. Now load the new configuration.

 

root# load set /var/tmp/<CONFIG-FILENAME>
root# commit and-quit
root>

 

 

This should resolve the issue.

 

Note that when you add new configuration, some parts like interfaces simply add to existing configuration instead of overwritting it. This is because sections like interfaces may cater multiple families and IPs.

 

Hope this will help you.

 

Thanks!

SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

‎04-13-2019 02:35 PM

Harmesh,

 

If you are copying the configuration from the other SRX, then you need to delete the existing one first, otherwise they will merge and this can cause problems like the one you are reporting where a single interface is being configured with two different family types. As metioned, try:

 

[edit]
# delete
# commit

Then use the "load set terminal" command and paste the config from the original SRX.

 

If the above scenario is not what you are doing, then please explain it better in order to help you in the best way possible.

 

Pura Vida from Costa Rica - Mark as Resolved if it applies.
Kudos are appreciated too!
SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

[ Edited ]
‎04-14-2019 10:48 AM

Dear Team ,

 

Can I take backup file  of existing SRX device configuration and copy that file and restore that one to another SRX ?

SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

[ Edited ]
‎04-14-2019 11:08 AM

Hi Harmesh,

 

Certainly you can.

 

1. On the first SRX, save the confiiguration to a file named "config.txt" under /var/tmp/ directory:

 

[edit]
# save /var/tmp/config.txt
# run file list /var/tmp/config.txt detail (to confirm the generation of the file)

 

2. Download the file from the first SRX and upload it to the second SRX under the same /var/tmp/ directory.

 

3. Delele the configuration on the second SRX to avoid conflicts:

 

[edit]
# delete
# set system root-authentication plain-text-password  (you need to have at least the root password configured)
#commit

 

4. Load the previously uploaded config file:

 

[edit]
# load override /var/tmp/config.txt
#commit

 

Hope this helps.

 

Pura Vida from Costa Rica - Mark as Resolved if it applies.
Kudos are appreciated too!
SRX Services Gateway

Re: Migrate Configuration and Firmware from SRX 550 to another one SRX550

[ Edited ]
‎04-15-2019 01:37 AM

Dear Team ,

 

Thanks for your help we have resolved this issue .

 

Regards,

Harmesh Yadav