Copying security profiles between PAN devices

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

Copying security profiles between PAN devices

L1 Bithead

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...

1 accepted solution

Accepted Solutions

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

View solution in original post

3 REPLIES 3

L3 Networker

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

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

Wow! Excellent command, tank you for sharing! Smiley Happy

  • 1 accepted solution
  • 3911 Views
  • 3 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!