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.
Solved! Go to Solution.
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.
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.
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.
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!