C613-22104-00 REV B How to Configure Basic Web Control | Page 38
Configuring Web Control Advanced Network Protection
Configuring Web Control
This section provides examples of how to configure web control:
"How to Configure Basic Web Control" on page 38
"How to Configure Web Control Default Action Per-entity" on page 40
"How to Discover which Web Control Categories Website URLs Belong to" on page 42
For more information about the web control feature, see "Web Control" on page 17.
How to Configure Basic Web Control
Example 1 By default, Web Control protection is disabled and you need to explicitly enable it.
Step 1: Enter Web Control Configuration mode.
awplus#configure terminal
awplus(config)#web-control
Step 2:
Set the website categorization provider and enable Web Control protection.
awplus(config-web-control)#provider digitalarts
awplus(config-web-control)#protect
The command show web-control categories displays a list of predefined categories. You can
optionally create your own named custom categories.
Step 3:
Configure a category and match criteria.
To configure match criteria for the named custom category movie, use the Web Control command
match <word> as follows:
awplus(config-web-control)#category movie
awplus(config-category)#match imdb
awplus(config-category)#match youtube
awplus(config-category)#match rottentomatoes
awplus(config-category)#exit
Match criteria are case-insensitive and matched up to the first appearance of '?' (query string
marker) or '#' (fragment identifier) in a website URL. For example, URL ‘www.alliedtelesis.com/
search.aspx?keyword=routers’ does not match the match criterion match router, but
‘www.alliedtelesis.com/routers’ does match that criterion.
When a URL matches a match criterion, the URL is categorized to the match criterion’s category. A
URL can be matched to more than one category. Custom match criteria override and precede