35
Views
HTTP template view, TCP template view, UDP template view
Predefined user roles
network-admin
mdc-admin
Parameters
expression
: Specifies the expected data, a case-sensitive string of 1 to 200 characters.
offset
number
: Specifies the offset in bytes after which the NQA client looks up the received packet's
payload for the expected data. The value range for the
number
argument is 0 to 1000, and the
default value is 0.
Usage guidelines
Upon receiving a response packet, the NQA client looks up the packet's payload for the expected
data.
•
If a match is found, the NQA client verifies the NQA destination device as legal.
•
If no match is found, the NQA client verifies the NQA destination device as illegal.
The first five bytes of the UDP packet payload identify the probe packet type. The start byte of the
offset is the sixth byte of the UDP payload.
Expected data check takes place in the following conditions:
•
For features that use the HTTP template, the NQA client checks for the expected data if the
HTTP response contains the Content-Length header.
•
For features that use the TCP or UDP template, the NQA client checks for the expected data if
the
data-fill
command is 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 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
mdc-admin
Содержание FlexNetwork 7500 Series
Страница 238: ...229 Sysname ...
Страница 420: ...411 Related commands packet capture ...
Страница 430: ...421 U url 78 username 79 user role 249 V version 80 vpn instance 81 W Websites 415 X xml 227 ...