Expect Status - HPE FlexFabric 5930 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexFabric 5930 Series:
Table of Contents

Advertisement

Default
No expected IPv6 address is configured.
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, configure the expected IPv6 address as 1::1.
<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
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-num1 to status-num2. The value ranges
for both the status-num1 and status-num2 arguments are 0 to 999. The value for the status-num2
argument must be equal to or greater than the value for the status-num1 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
198

Advertisement

Table of Contents
loading

Table of Contents