Nominated Discussion: Update Multiple Categories Within All Security Profiles W/ the CLI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Community Team Member
Did you find this article helpful? Yes No
No ratings

This article is based on a discussion, Security Profiles - URL Filtering - Update Multiple Categories within all Profiles.    

Read on to see how @PingMyServer  was able to accomplish this from the CLI.

 

Hello all, I'm looking for some suggestions, or information on how I can quickly update all security profiles, with 3 select objects at once. In total, our Panorama has 129 profiles, so I would need to login to all 129 profiles, and update 3 categories in them to block.

 

By way of the gui, I think the only way would be able to edit 1 profile at a time, and search all 3 categories, and update them accordingly. Can anyone suggest any easier way to maybe resolve this?

Solution for Update Multiple Categories Within All Security Profiles With the CLI:

 

After doing further research, I found through the CLI you can do this fairly easy. Using the following commands. You can pull your profile names from the command "set device-group GROUP1 profiles" and pressing tab. It takes a little work, but with excel you can get all the commands you need fairly quickly

 

set device-group GROUP1 profiles url-filtering PROFILE_NAME block ransomware
set device-group GROUP1 profiles url-filtering PROFILE_NAME block encrypted-dns
set device-group GROUP1 profiles url-filtering PROFILE_NAME block real-time-detection

 

Rate this article:
Register or Sign-in
Labels
Article Dashboard
Version history
Last update:
‎12-06-2022 01:35 PM
Updated by: