No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).


URL Format

A URL is the address of a web page or an accessible resource on the Internet.

The standard format of a URL is protocol://hostname[:port]/path[?query]. Table 26-20 lists the parameters.

Table 26-20  URL parameters




An application protocol. Currently, the AP supports only HTTP.


Domain name or IP address of the Web server.


(Optional) A port name. Application protocols have default port numbers, for example, the default HTTP port is 80. If the Web server uses a non-standard port, the port in the URL cannot be omitted.


A directory or file path on the host. The path is a character string that can be separated by slashes (/).


(Optional) This field is used to transmit parameters to dynamic Web pages.

Figure 26-35 uses "" as an example:

Figure 26-35  URL format

  • http represents the protocol.
  • represents the host name.
  • 8088 represents the communication port.
  • news/edu.aspx represents the path.
  • name=tom&age=20 represents the parameters.

URL Matching Mode

URL matching modes are prefix matching, suffix matching, keyword matching, and exact matching.

You can configure URL and domain name rules in whitelist and blacklist. The matching scope of URL rules contains the whole URL, whereas that of domain name rules contains only the domain name (or IP address). URL and domain name rules support the same matching modes. The Table 26-21 compares the several matching modes.

Table 26-21  URL matching modes



Character String Example


Prefix matching

Matches URLs that start with the specified character string.


All URLs that start with www.example are matched, including and

Suffix matching

Matches URLs that end with the specified character string.


All URLs that end with aspx are matched, including and

Keyword matching

Matches URLs that include the specified character string.


All URLs that include sport are matched, including, and

Exact matching

First checks whether the URL matches the specified character string. If no, delete the last directory of the URL and check again. If the URL is still not matched, delete the second last directory and check again until the domain name can match a specific character string.

Based on matching rules, the following URLs match


The following URLs will not match


The priorities of URL matching modes are as follows:

Exact matching > suffix matching > prefix matching > keyword matching

For example, URL first matches in the following prefix matching rules:

  • Exact matching:
  • Prefix matching:*
  • Keyword matching: *example*

In the same matching mode, a long matching rule is assigned a higher priority than a short one. For example, URL first matches* in the following prefix matching rules:

Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 129714

Downloads: 312

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next