Url (Url List View) - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Field
host
port
path
You can specify only one file URL in a file policy. In the same SSL VPN context, the URL specified for
each file policy must be unique.
Examples
# Specify a file URL for file policy fp.
<Sysname> system-view
[Sysname] sslvpn context ctx
[Sysname-sslvpn-context-ctx] file-policy fp
[Sysname-sslvpn-context-ctx-file-policy-fp] url http://192.168.1.1:8080/js/test.js

url (URL list view)

Use url to add a URL entry to a URL list.
Use undo url to remove a URL entry from a URL list.
Syntax
url name url-value url [ uri-acl uri-acl-name ]
undo url name
Default
No URL entries exist in a URL list.
Views
URL list view
Predefined user roles
network-admin
Parameters
name: Specifies a name for the URL entry, a case-insensitive string of 1 to 31 characters.
url-value url: Specifies a URL, a case-insensitive string of 1 to 253 characters in the format of
protocol://host:port/path.
Table 118
describes the fields in a URL.
Table 118 URL field descriptions
Field
protocol
Description
Host name or IP address of the server where the file resides.
To specify an IPv6 address, enclose the IPv6 address in brackets. For example,
http://[1234::5678]:8080/a.html.
Port number on which the server listens for resource access requests.
If you do not specify a port number, the default port number of the protocol is used, which is
80 for HTTP and 443 for HTTPS.
Local path of the file on the server.
Description
Protocol name. Options are:
http.
https.
If you do not specify a protocol name, the default protocol (HTTP) is used.
803

Advertisement

Table of Contents
loading

Table of Contents