Change all IP address for firewall HA pair managed in Panorama

cancel
Showing results for 
Search instead for 
Did you mean: 

Change all IP address for firewall HA pair managed in Panorama

L1 Bithead

I have a HA firewall pair managed by Panorama. I would like to change all of the IP addresses of the interfaces. It's a lot to try to do through the GUI. My thinking is export the template as XML, make the necessary changes, and then import again.

 

The firewall HA pair is a test harness. The existing configuration is from my production firewalls. I need to change all of the IPs so I can connect it alongside my production firewalls without causing IP or routing conflicts.

 

I haven't figured out how to export the configuration. Most times I don't get any interface information. I was able to get an export from Panorama, but the IPv4 addresses are missing.

3 REPLIES 3

L4 Transporter

Hi @khsieh ,

My suggestion would be simpler:

- Prepare your configuration with text editor (ex. notepad++) in set format

- Login with SSH to your Panorama that is managing the targeted FW.

- Just copy/paste the set commands through the SSH session.

- Review your changes via the GUI, if everything looks ok, commit and push

 

Configuring network interface ip over CLI is pretty much exactly the same as if you do it directly on the FW. The only difference is that on Panorama the set command needs to refrence the template assigned to that FW.

 

Full command would be:
# set template <template-name> config network interface ethernet ethernet1/1 layer3 ip 1.1.1.1/29

 

Optional you can move

# edit template <template-name> config      // this will place you in templace configuration so your every set command doesn't need to referecen it and you can simply
# set network interface ethernet ethernet1/1 layer3 ip 1.1.1.1/29 //repeat this for every interface you need to change

L1 Bithead

Thanks!

I will need to export all of the interfaces first. Maybe I can do that via CLI to show all interfaces and their IP. Then load that to Excel to clean up the formatting. Then do some search and replace of the addresses, and build out the commands.

I will reply back with how it goes.

 

L1 Bithead

I also will need to change all of the BGP configuration to match the new IP addresses. I have maybe 60 BGP connections to change. Suggestions?

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!