How to configure multiple routes at once

Reply
L1 Bithead

How to configure multiple routes at once

Need to configure a firewall with the same 100+ routes that exist on another.

 

Is there a way to copy the routing table from one FW to another via CLI? Can I copy the "show routing route" output and configure multiple routes on another using this output? CLI example would be helpful.

L7 Applicator

Re: How to configure multiple routes at once

Hello,

What routing protocol are you using? I am assuming static? Setting up OSPF might be an option? However here are a few ways to perform this.

 

1. Panorama templates

2. export the config xml file from PAN that has the routes, copy out the routes, export the xml config from the PAN you want to import the routes to, paste the routes into the proper area in the xml, upload it and commit.

 

Hope that helps.

L2 Linker

Re: How to configure multiple routes at once

You may be able to do a copy and paste if the other firewall is a PAN.

 

Something like "show network virtual-router your-vr-here routing-table"

 

You may need to remove some data from the output. I also enabled the set output on the CLI, not sure if that makes a difference.

L1 Bithead

Re: How to configure multiple routes at once

Thank you!

 

I ended up just saving the named configuration from the FW I wanted the routes from, saving the named configuration from the FW I wanted to copy routes to, copied routes inside the <static-route> </static-route> and pasted into the new FW's config and loaded this updated copy. Worked perfectly.

L1 Bithead

Re: How to configure multiple routes at once

This worked perfectly, thanks.

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 Live Community as a whole!

The Live Community thanks you for your participation!