Does anyone know the API XPATH to load partial for static routes?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Does anyone know the API XPATH to load partial for static routes?

L1 Bithead

Hello All!

 

I'm trying to use Expedition to migrate 100+ virtual systems from old Juniper firewalls my team inherited to our Palo Altos.  We are using Load Partial commands rather than importing the entire Expedition output based on recommendations from Palo Engineers.  Some of my Juniper stuff has large routing tables of static routes, so I want to bring those in from the Expedition .XML file.  I see the static routes in the XML, so I know I am close...

 

Does anyone know what my XPATH or complete load partial command would look like for a virtual router "vr1"?  In other words, I am trying to do a load partial command that loads static routes defined on the old firewall in "vr1" to a new firewall where the vsys is called "dc-vsys3" and the new virtual routing table is called "dc-vsys3" as well.

1 REPLY 1

L4 Transporter

You will test with the following command

"load config partial from "file.xml" from-xpath /config/devices/entry[@name='localhost.localdomain']/network/virtual-router to-xpath /config/devices/entry[@name='localhost.localdomain']/network/virtual-router mode merge"

PCSPI, PCNSCx3,PCNSEx4,, PCSAE,PCDRA
  • 62 Views
  • 1 replies
  • 0 Likes
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!