CLI URL filter, change Site Access?

Reply
L1 Bithead

CLI URL filter, change Site Access?

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.

 

 

L7 Applicator

Re: CLI URL filter, change Site Access?

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]

 

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 Live Community as a whole!

The Live Community thanks you for your participation!