Download  Print this page

HP FlexFabric 12500 Series Network Management And Monitoring Command Reference: Expect Status

Routing.
Hide thumbs

Advertisement

mdc-admin
Parameters
expression: Specifies the expected data, a case-sensitive string of 1 to 200 characters.
offset number: Specifies the offset between the expected data and the actual data. The value range for
the number argument is 0 to 1000, and the default value is 0.
Usage guidelines
After you configure the expected data for the NQA operation, the NQA client checks the data in the
received response. If the actual data is the same as the expected data, it considers the NQA destination
device legal.
For an HTTP template, the expected data is checked only when the actual response contains the
Content-Length header.
For a TCP template, the expected data is checked only when the data-fill command and the expect data
command are configured.
Examples
# In HTTP template view, configure the expected data as welcome!.
<Sysname> system-view
[Sysname] nqa template http httptplt
[Sysname-nqatplt-http-httptplt] expect data welcome!

expect status

Use expect status to configure the expected status code.
Use undo expect status to restore the default.
Syntax
expect status status-list
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 codes. The value range for status-num is 0 to
999, and status-num2 cannot be smaller than status-num1.
Usage guidelines
The status code of the HTTP packet is a three-digit field in decimal notation. 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.
35

Advertisement

   Also See for HP FlexFabric 12500 Series

   Related Manuals for HP FlexFabric 12500 Series

This manual also for:

Flexfabric 12500e series

Comments to this Manuals

Symbols: 0
Latest comments: