HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

35
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 codes. The value range for status-num is 0 to
999, and status-num2 cannot be smaller than status-num1.
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
expect ip
Use expect ip to specify the expected IP address.
Use undo expect ip to remove all expected IP addresses.
Syntax
expect ip ip-address
undo expect ip
Default
No expected IP address is configured.
Views
DNS template view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the expected IP address for a DNS echo request.
Usage guidelines
During a DNS operation, the NQA client compares the expected IP address with the IP 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 IP address as 1.1.1.1.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] expect ip 1.1.1.1