How to Configure Custom-URL-Category from the CLI

How to Configure Custom-URL-Category from the CLI

42810
Created On 09/25/18 17:41 PM - Last Modified 06/13/23 23:34 PM


Resolution


Steps

The custom URL category feature allows the user to create their own lists of URLs that can be selected in any URL filtering profile. This document review the commands to create a Custom-URL category from command line interface, as shown below:

 

> configure
# set profiles custom-url-category Palo_Test description "How to configure Custom URL Category"
# set profiles custom-url-category Palo_Test list [ example.com example.com/* *.example.com ]
# commit

working.PNG

 

The example below displays how the scenario will appear on the web interface after doing a commit:

working_web.PNG

the set command will append hosts/fqds/regex to the list, to remove an entry the 'delete' command can be used:

# delete profiles custom-url-category Palo_Test list example.com

 

 

 

owner: asharma



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClI5CAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language