37
undo expect status
[
status-list
]
Default
No expected status code is configured.
Views
HTTP template view
Predefined user roles
network-admin
mdc-admin
Parameters
status-list
: Specifies a space-separated list of up to 10 status code items. Each item specifies a
status code or a range of status codes in the form of
status-num
1
to
status-num
2
. The value ranges
for both the
status-num
1 and
status-num
2
arguments are 0 to 999. The value for the
status-num
2
argument must be equal to or greater than the value for the
status-num
1 argument
.
Usage guidelines
The status code of the HTTP packet is a three-digit field in decimal notation and it includes the status
information for the HTTP server. The first digit defines the class of response, and the last two digits
do not have any categorization role.
Examples
# In HTTP template view, configure the expected status codes 200, 300, and 400 to 500.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] expect status 200 300 400 to 500
filename
Use
filename
to specify a file to be transferred between the FTP server and the FTP client.
Use
undo filename
to restore the default.
Syntax
filename
filename
undo
filename
Default
No file is specified.
Views
FTP operation view, FTP template view
Predefined user roles
network-admin
mdc-admin
Parameters
filename
: Specifies the name of a file, a case-sensitive string of 1 to 200 characters that cannot
contain slashes (/).
Examples
# Specify the file to be transferred between the FTP server and the FTP client as
config.txt
.