CLI URL filter, change Site Access?

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

CLI URL filter, change Site Access?

L1 Bithead

I am trying to determine how to change the Site Access of the new URL categories (cryptocurrency and grayware).  By default, they are Allow, and I want them to be Alert.  I can do this via CLI w/ the command from config mode below. 

set shared profiles url-filtering TEST-ONLY-02 alert grayware

 

What I do not understand is that once changed, I can not change it back via CLI w/o the Site Access being in the default of Allow

set shared profiles url-filtering TEST-ONLY-02 block grayware

Server error : block 'grayware' is already in use

 

I do not think I need to do this now, but I would like to know how to change a Site Action via CLI.

Ultimately, my current problem is changing the new crypto and grayware to block in many URL filtering profiles.

 

 

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

you first need to delete the set command before you can enter a new set command for the same attribute

 

admin@fw# set shared profiles url-filtering Internet_URL alert grayware
[edit]                                                                                                                           
admin@fw# set shared profils url-filtering Internet_URL block grayware
Server error :  block 'grayware' is already in use
[edit]                                                                                                                           
admin@fw# delete shared profiles url-filtering Internet_URL alert grayware
[edit]                                                                                                                           
admin@fw# set shared profiles url-filtering Internet_URL block grayware
[edit]

 

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

1 REPLY 1

Cyber Elite
Cyber Elite

you first need to delete the set command before you can enter a new set command for the same attribute

 

admin@fw# set shared profiles url-filtering Internet_URL alert grayware
[edit]                                                                                                                           
admin@fw# set shared profils url-filtering Internet_URL block grayware
Server error :  block 'grayware' is already in use
[edit]                                                                                                                           
admin@fw# delete shared profiles url-filtering Internet_URL alert grayware
[edit]                                                                                                                           
admin@fw# set shared profiles url-filtering Internet_URL block grayware
[edit]

 

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 1 accepted solution
  • 3019 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!