Expect Status - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

undo expect ipv6
Default
No expected IPv6 address is specified.
Views
DNS template view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the expected IPv6 address for a DNS echo request.
Usage guidelines
During a DNS operation, the NQA client compares the expected IPv6 address with the IPv6 address
resolved by the DNS server. If they are the same, it considers the DNS server legal.
Examples
# In DNS template view, specify 1::1 as the expected IPv6 address.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] expect ipv6 1::1

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
HTTPS template view
Predefined user roles
network-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 or HTTPS packet is a three-digit field in decimal notation, and the code
includes the server status information. The first digit defines the class of response.
Examples
# In HTTP template view, set the expected status codes to 200, 300, and 400 to 500.
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents