- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-28-2023 06:59 AM
I want to copy some authentication pieces from one set of templates to another but i do not know what these passwords actually are.
In Panorama CLI if I output the config from the template in the 'set' format from one template, edit the template name to the new one and paste it back into panorama. It appears to take the config just fine and shows the passwords fields have been filled. Just not sure if the passwords are the same since the output 'set' passwords are a hashed/encrypted values.
With cisco devices at least, you can 'show run' and copy a entire switch config and even though the passwords are hashed, the new device you copy it to will have the correct passwords for authentication etc.
Trying to see if this works the same way or if I need to find another way to copy template config between templates.
Thanks!
07-01-2023 06:01 AM
Hi @UNCC_Brandon ,
I have used set commands to copy hashed passwords, and it works fine.
If the config section is very large, I also use the 'load config partial' command. https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClbLCAS Always use mode merge. You can easily get the XPaths (XML Path) from the API GUI.
Thanks,
Tom
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!