Netscreen Firewall: Copy Config From One to Another

 
Click on config file.
Click on save config file. (Just save it in to your desktop)
Console in to the 2nd Netscreen where you need to copy the config. In my case there was an existing config in the 2nd Juniper. So I simply erase that off.
Commands used.
#unset all
#reset
Firewall will reboot and now you need to use the default Netscreen root user name password (netscreen/netscreen).
Now you need to enable the WebUI on the Netscreen. It’s because now its back to factory default settings.
# set interface eth1 ip manageable
# set admin manager-ip 192.168.1.1 255.255.255
Plug your Ethernet cable in to eth1 port of the firewall and configure your network settings to.
IP Address: 192.168.1.2
Default Gateway: 192.168.1.1
Network Mask: 255.255.255.0
By default the Netscreen Eth1 is configured with 192.168.1.1 IP address.
Open your browser and type 192.168.1.1
Login as root again. So username :netscreen and password: netscreen.
Go to the same section as above image. (Configuration>update>config file)
Now you have the option to replace the current config. (2nd option)
Browse in to the config file you saved before and click on apply/upload.
That’s it will reboot by it self once it’s uploaded the new config.

I am not a Juniper specialist, I am a Cisco freak! Too bad Juniper is taking a big sector in the IT industry. So I think you need to know both in near future. I am replacing one of the internal Juniper Netscreen firwals in my company. Here is the easiest and fastest solution that I came up with. 

Login to current Netscreen WebUI.
Click on config file. 
Click on save config file. (Just save it in to your desktop) 
Console in to the 2nd Netscreen where you need to copy the config. In my case there was an existing config in the 2nd Juniper. So I simply erase that off.

Commands used.
#unset all
#reset

Firewall will reboot and now you need to use the default Netscreen root user name password (netscreen/netscreen).

Now you need to enable the WebUI on the Netscreen. It’s because now its back to factory default settings. 
# set interface eth1 ip manageable
# set admin manager-ip 192.168.1.1 255.255.255

Plug your Ethernet cable in to eth1 port of the firewall and configure your network settings to. 
IP Address: 192.168.1.2
Default Gateway: 192.168.1.1
Network Mask: 255.255.255.0
By default the Netscreen Eth1 is configured with 192.168.1.1 IP address.

Open your browser and type 192.168.1.1
Login as root again. So username :netscreen and password: netscreen. 
Go to the same section as above image. (Configuration>update>config file)
Now you have the option to replace the current config. (2nd option)
Browse in to the config file you saved before and click on apply/upload.

That’s it will reboot by it self once it’s uploaded the new config.

Hope this helps someone…

Ravindu Denawaka

Advertisements