49
Parameters
get
: Gets data from the HTTP server.
post
: Transfers data to the HTTP server.
raw
: Sends the HTTP request specified by the
raw-request
command to the HTTP server.
Usage guidelines
For the HTTP
get
or
post
operation, the content in the HTTP request is obtained from the URL
specified by the URL command.
For the HTTP
raw
operation, the content in the HTTP request is specified by the
raw-request
command.
Examples
# Specify the operation type as
raw
for the HTTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type http
[Sysname-nqa-admin-test-http] operation raw
# In HTTP template view, specify the operation type as
raw
for the HTTP operation.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] operation raw
out interface
Use
out interface
to specify the output interface for probe packets.
Use
undo out interface
to restore the default.
Syntax
out interface
interface-type interface-number
undo out interface
Default
The output interface for probe packets is not specified. The NQA client determines the output
interface based on the routing table lookup.
Views
DHCP operation view, ICMP echo operation view, UDP tracert operation view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
Usage guidelines
For successful operation, the specified output interface must be up.
If the
next-hop
command is configured for an ICMP echo operation, the
out interface
command
does not take effect.