75
url
Use url to specify the URL of the destination HTTP or FTP server.
Use undo url to remove the URL.
Syntax
url url
undo url
Default
No URL is configured for the destination server.
Views
FTP/HTTP operation view
Predefined user roles
network-admin
Parameters
url: Specifies the URL of the destination server, a case-sensitive string of 1 to 255 characters. The
following table describes the URL format and parameters for different operations.
O
eration URL format Parameter descri
tion
HTTP operation
http://host/resource
http://host:port/resource
The host parameter represents a dot-separated
case-sensitive string of 1 to 255 characters including
letters, digits, hyphens (-), and underscores (_),
aabbcc.com for example. Each part consists of 1 to 63
characters, and consecutive dots (.) are not allowed.
For description about the filename parameter, see
Fundamentals Configuration Guide.
FTP operation
ftp://host/filename
ftp://host:port/filename
Examples
# Configure the URL that the HTTP operation visits as http://www.company.com/index.htm.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type http
[Sysname-nqa-admin-test-http] url http://www.company.com/index.html
username
Use username to specify an FTP or HTTP login username.
Use undo username to remove the configuration.
Syntax
username username
undo username
Default
No FTP or HTTP login username is configured.