display url-filter category [ pre-defined [ category-id category-id | subcategory-id subcategory-id | url url-text | host host-text ] | user-defined [ name category-name | url url-text | host host-text ] ]
| Parameter | Description | Value |
|---|---|---|
pre-defined |
Displays information on predefined URL categories. |
- |
category-id |
Indicates the ID of a predefined URL category. |
The value is an integer ranging from 1 to 100. |
subcategory-id |
Indicates the ID of a predefined URL subcategory. |
The value is an integer ranging from 101 to 60000. |
pre-defined url url-text |
Indicates the URL rule added to a predefined URL category. |
The value is a character string. If the URL does not contain any space or question mark (?), the length is 4 to 255 characters. If the URL contains spaces or question marks (?) (not at the end), the URL must be enclosed by double quotation marks ("") and the length is 6 to 255 characters. If the URL contains double quotation marks (""), you need to replace them with escape characters "%22". For example, if the URL is www.example.com/abc/def?"gh, you need to enter www.example.com/abc/def?%22gh. |
pre-defined host host-text |
Indicates the domain name rule added to a predefined URL category. |
The value is a character string and the length is 4 to 255 characters, without special character slash (/), back slash (\), number sign (#), double quotation mark ("), question mark (?), or space. |
user-defined |
Displays information on user-defined URL categories. |
- |
category-name |
Indicates the name of a user-defined URL category. |
The category must have been configured. |
user-defined url url-text |
Indicates the URL rule added to a user-defined URL category. |
The value is a character string. If the URL does not contain any space or question mark (?), the length is 4 to 255 characters. If the URL contains spaces or question marks (?) (not at the end), the URL must be enclosed by double quotation marks ("") and the length is 6 to 255 characters. If the URL contains double quotation marks (""), you need to replace them with escape characters "%22". For example, if the URL is www.example.com/abc/def?"gh, you need to enter www.example.com/abc/def?%22gh. |
user-defined host host-text |
Indicates the domain name rule added to a user-defined URL category. |
The value is a character string and the length is 4 to 255 characters, without special character slash (/), back slash (\), number sign (#), double quotation mark ("), question mark (?), or space. |
The display url-filter category pre-defined [ url url-text | host host-text ] command displays only rules added to predefined URL categories but not rules in the predefined URL category database. You can view rules in the predefined URL category database on the web UI. Log in the web UI of the FW, and choose . Enter a URL in the search text box and click Search to view URL category information.
# Display the URL category list.
<sysname> display url-filter category
--------------------------------------------------------------------------------
URL Pre-defined Category Count: 137
URL Pre-defined Category List:
Codes: CID(Category ID), CN(CategoryName), SID(Subcategory ID),
SN(Subcategory Name)
--------------------------------------------------------------------------------
CID CN SID SN
--------------------------------------------------------------------------------
1 P2P
101 P2P
2 Download
102 e-Books
162 Software Download
163 Picture Download
164 Music/Film Download
165 General Download
3 Humanity
103 History/Culture
166 Literature
167 Arts
168 Music
4 Sports
104 Competitive Sports
169 Leisure Sports
170 Sports Equipment
5 Social Focus
105 Charity/Public Welfare
171 Ecology/Development/Energy
172 Anti-Terrorism/Criminal Issue Discussion
173 Social Issue/Life Style
174 Human Rights/Racial Issue
6 Military
106 Military
7 Social Network
108 Blogs/Community
177 Online Photo/Network Albums
251 Micro Blog
8 Lottery
109 Lottery
9 Recreation
110 Dating/Personals
111 Cartoon/Animation
112 Adult Recreational Places
114 Recreation
115 Video Games
117 Toys
178 Chat
179 Recreational Place_Others
180 Board and Card Games
181 Other Games
248 Gay/Lesbian Dating
10 Religion/Supernatural
118 Religion
119 Divining/Supernatural
12 Sexual Subject
122 Adult Suppliers
182 Sexual Health/Tips
183 Nudity
184 Homosexual Subjects
13 Real Estate/Household
123 Gardens/Yards
124 Real Estate Information
186 Household Appliances
187 Furniture/Daily Necessities
188 Housekeeping
189 Decoration
14 Job Search
125 Job Search
15 Search Engines/Portals
126 Search Engines
190 Portals
16 Government/Politics
127 Governments/Governmental Departments
128 Politics
17 Education/Science
129 Primary/Middle School Education
191 Higher Education
192 Skill Training/Examinations
193 Science/Research
194 Pre-School
195 General Education
196 Enrollment
18 News/Media
130 News/Media
19 Travel
131 Travel
20 Fashion
132 Make-up/Cosmetics
197 Clothes
198 Jewelry
199 Clothing Accessories
200 General Fashion
227 Lingerie
228 Tattoos/Body Painting
21 Transportation Vehicle
133 Automobiles
201 Ships
202 Airplanes
204 Motorcycles/Bicycles
205 Vehicle Renting
22 Laws
134 Laws
23 Streaming Media
135 Streaming Media
24 Life
136 Disease/Medical Care
137 Transportation Guide
138 Family/Marriage
139 Pregnancy/Birth
140 Animals/Pets
141 Going Abroad/Emigration
206 Mental Health
207 Health Care
208 Medicine
209 Ticket
210 Reference Information
229 Children/Teenagers
25 Information Technology
142 Software Technologies
143 Hacker
144 Email
145 Web Communication
146 HTTP Proxy
147 Online Storage
211 Network/Communication
212 Hardware/Electron
213 Domain Name/IDC Services
240 VoIP
253 Software Update
26 Forum
149 Forum
27 Shopping
150 Shopping Guide
214 Online Bookstore
215 Flowers/Gifts
216 Audio/Video Products
217 General Shopping
28 Business/Economy/Finance
151 Bank
218 Insurance
219 Service
220 Industry/Agriculture
221 Transportation/Logistics
222 Special Industries
223 Investment/Business
230 Advertisement
252 Online Payment
29 Food/Alcohol/Tobacco
152 Tobacco
153 Food
238 Alcohol
30 Societies
154 Societies
31 Vulgar/Gruesome
155 Disgusting/Horrible/Violence
224 Alternative
225 Mixed_Adult
32 Gambling
156 Gambling
33 Drugs
157 Drugs
34 Malicious Web Sites
158 Malicious Web Sites
231 Phishing Sites
232 Malware Sites
35 Pornography Web Sites
159 Pornography
254 Worst of List
36 Crime
160 Crime
37 Vacancy Web Sites
161 Vacancy Web Sites
38 Weapon
176 Weapon
39 Fraud
226 Fraud
40 Abortion
234 Abortion
41 Suicide
235 Suicide
42 Storage Server
236 Storage Server
43 Hatred Speech
237 Hatred Speech
44 Cult
239 Cult
45 General Sites
241 General Sites
99 Others
233 Others
--------------------------------------------------------------------------------
URL User-defined Category Count: 1
URL User-defined Category List:
--------------------------------------------------------------------------------
CID CN SID SN
--------------------------------------------------------------------------------
100 User-defined
60001 abc
60001 def
--------------------------------------------------------------------------------
Item |
Description |
|---|---|
URL Pre-defined Category Count |
Number of predefined URL categories |
URL Pre-defined Category List |
List of predefined URL categories |
CID |
Category ID |
CN |
Category name |
SID |
Subcategory ID |
SN |
Subcategory name |
URL User-defined Category Count |
Number of user-defined URL categories |
URL User-defined Category List |
List of user-defined URL categories |
# Display the predefined category with category ID 2.
<sysname> display url-filter category pre-defined category-id 2
--------------------------------------------------------------------------------
Category Name : Download
Category ID : 2
Category Description : Web sites related to download
--------------------------------------------------------------------------------
Category Configuration Information:
Codes: SID(Subcategory ID), SN(Subcategory Name)
--------------------------------------------------------------------------------
SID SN Type User-defined URLs/HOSTs
--------------------------------------------------------------------------------
102 e-Books url www.example.com.com
host www.example.com
162 Software Download url www.example.com.cn
163 Picture Download
164 Music/Film Download url www.example.com
165 General Download
--------------------------------------------------------------------------------
Item |
Description |
|---|---|
Category Name |
Category name |
Category ID |
Category ID |
Category Description |
Category description |
Category Configuration Information |
Category configuration |
SID |
Subcategory ID |
SN |
Subcategory name |
Type |
Match type |
User-defined URLs/HOSTs |
User-defined URL or host |
# Display the information about predefined subcategory 101.
<sysname> display url-filter category pre-defined subcategory-id 101
--------------------------------------------------------------------------------
Subcategory Name : P2P
Subcategory ID : 101
Subcategory Description : Web sites that provide the introduction to and download of P2P
resources, these Web sites are always bound to contain P2P tools such as Thunder and VeryCD,
providing seed download, search, and release
Category Name : P2P
Category ID : 1
--------------------------------------------------------------------------------
Subcategory Configuration Information:
--------------------------------------------------------------------------------
User-defined URLs/HOSTs
(Count: 2)
--------------------------------------------------------------------------------
Type URLs/HOSTs
--------------------------------------------------------------------------------
url www.example.com.com
host www.example.com
--------------------------------------------------------------------------------
Item |
Description |
|---|---|
Subcategory Name |
Name of a predefined URL subcategory |
Subcategory ID |
ID of a predefined URL subcategory |
Subcategory Description |
Description of a user-defined subcategory |
Category Name |
Name of a predefined URL category |
Category ID |
ID of a predefined URL category |
Subcategory Configuration Information |
Subcategory configuration |
User-defined URLs/HOSTs |
User-defined URL or domain name |
Count |
Total number user-defined URLs or domain names |
Type |
Match type |
# Display the information about the user-defined category abc.
<sysname> display url-filter category user-defined name abc
--------------------------------------------------------------------------------
Category Name : abc
Category ID : 60001
Category Description : -
--------------------------------------------------------------------------------
User-defined URLs/HOSTs
(Count : 2)
--------------------------------------------------------------------------------
Type URLs/HOSTs
--------------------------------------------------------------------------------
url www.example.com.com
host www.example.com
--------------------------------------------------------------------------------
Item |
Description |
|---|---|
Category Name |
Name of a user-defined URL category. |
Category ID |
ID of a user-defined URL category |
Category Description |
Description of a user-defined URL category |
User-defined URLs/HOSTs |
User-defined URL or domain name |
Count |
Total number user-defined URLs or domain names |
Type |
Match type |
# Display the rules containing example.com in the user-defined category.
<sysname> display url-filter category user-defined host example.com
--------------------------------------------------------------------------------
Matched Count : 2
Matched Result Information:
Codes: SID(Subcategory ID), SN(Subcategory Name)
--------------------------------------------------------------------------------
SID SN Matched URLs/HOSTs
--------------------------------------------------------------------------------
60001 abc www.example.com
60002 def www.example.com/abc
--------------------------------------------------------------------------------
Item |
Description |
|---|---|
Matched Count |
Match count |
Matched Result Information |
Match result |
SID |
Subcategory ID |
SN |
Subcategory name |
Matched URLs/HOSTs |
Matched URL or domain name |