The url command configures a URL category condition in the security policy rule view.
The undo url command deletes a URL category condition in the security policy rule view.
url { pre-defined { category { name category-name | category-id } | sub-category { name sub-category-name | sub-category-id } } | user-defined sub-category sub-category-name | any }
undo url { pre-defined { category { name category-name | category-id } | sub-category { name sub-category-name | sub-category-id } } | user-defined sub-category sub-category-name | all }
| Parameter | Description | Value |
|---|---|---|
| pre-defined | Indicates a predefined URL category. |
- |
| user-defined | Indicates a user-defined URL category. |
- |
| category | Indicates a URL category. |
- |
| name category-name | Specifies the name of a URL category. |
The value must be the name of an existing URL category. |
| category-id | Specifies the ID of a URL category. |
The value must be the ID of an existing URL category. |
| sub-category | Indicates a URL sub-category. |
- |
| name sub-category-name | Specifies the name of a URL sub-category. |
The value must be the name of an existing URL sub-category. |
| sub-category-id | Specifies the ID of a URL sub-category. |
The value must be the ID of an existing URL sub-category. |
| any | Indicates any URL category. |
- |
| all | Indicates all URL categories. |
- |
This command configures a URL category matching condition in the security policy rule view.
When a user accesses the Internet, the FW can use a URL category as a matching condition to determine the matched security policy and whether to permit the traffic based on the action specified in the policy.
URL categories are classified into predefined and user-defined ones. You can use predefined categories or run the url-filter category user-defined name command to create user-defined categories.