- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-20-2010 03:00 PM
Is there a way to copy security profiles and custom sigs from one PAN device to another? We have 3 PAN devices (one PA2020 and 2 PA500's) and don't want to recreate the profiles/sigs using the GUI on each device whenever we make a change.
Perhaps this can be done at the command line or via config file xml parsing?
Are we stuck having to pay $10k for Panorama for this functionality?
Thanks...
07-20-2010 06:21 PM
Actually, there is another option. You could set the CLI to output set commands, do a show, and cut & paste the commands into the second devices CLI. Like this...
[edit]
tabner@PA-500# run set cli config-output-format set
[edit]
PA-500# show profiles spyware alert-only
set profiles spyware alert-only phone-home-detection simple packet-capture no
set profiles spyware alert-only phone-home-detection simple critical alert
set profiles spyware alert-only phone-home-detection simple high alert
set profiles spyware alert-only phone-home-detection simple medium alert
set profiles spyware alert-only phone-home-detection simple low alert
set profiles spyware alert-only phone-home-detection simple informational alert
Now copy all the set commands and paste into the CLI of the other box. It will enter all the commands, but you'll have to hit hit enter to complete the last command.
Cheers,
Tom
07-20-2010 06:10 PM
Hi,
Yes, currently the only way to duplicate policies without Panorama would be to use an xml editor and copy the rule set from your running config xml.
Regards,
Gary S
07-20-2010 06:21 PM
Actually, there is another option. You could set the CLI to output set commands, do a show, and cut & paste the commands into the second devices CLI. Like this...
[edit]
tabner@PA-500# run set cli config-output-format set
[edit]
PA-500# show profiles spyware alert-only
set profiles spyware alert-only phone-home-detection simple packet-capture no
set profiles spyware alert-only phone-home-detection simple critical alert
set profiles spyware alert-only phone-home-detection simple high alert
set profiles spyware alert-only phone-home-detection simple medium alert
set profiles spyware alert-only phone-home-detection simple low alert
set profiles spyware alert-only phone-home-detection simple informational alert
Now copy all the set commands and paste into the CLI of the other box. It will enter all the commands, but you'll have to hit hit enter to complete the last command.
Cheers,
Tom
05-23-2014 07:49 AM
Wow! Excellent command, tank you for sharing!
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!