75
HTTP operation
http://host/resource
http://host:port/resource
The host parameter represents the host name of the
destination server. The host name is a dot-separated
case-sensitive string including letters, digits, hyphens
(-), and underscores (_). Host names are composed
of series of labels,
aabbcc.com for example. Each
label consists of 1 to 63 characters. Consecutive dots
(.) and question marks 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 a username.
Use undo username to restore the default.
Syntax
username username
undo username
Default
No username is configured.
Views
FTP operation view
HTTP operation view
Predefined user roles
network-admin
Parameters
username: Specifies the username, a case-sensitive string of 1 to 32 characters.
Examples
# Set the FTP login username to administrator.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] username administrator
Related commands
operation
password