
132
Step Command
Remarks
configured on the NQA server.
4.
(Optional.) Configure the
destination port number for
the operation.
destination port port-number
By default, no destination port
number is configured.
The destination port number
must be the same as the port
number of the listening service
on the NQA server.
5.
(Optional.) Specify the string
to be filled in the payload of
each request.
data-fill string
The default payload fill string is
hexadecimal number
00010203040506070809.
6.
(Optional.) Specify the source
IPv4 or IPv6 address for the
probe packets.
•
IPv4
address:
source ip
ip-address
•
IPv6
address:
source ipv6
ipv6-address
By default, no source IP
address is specified.
The source IP address must be
the IP address of a local
interface, and the interface must
be up. Otherwise, no probe
packets can be sent out.
7.
(Optional.) Configure the
expected data.
expect data expression
[
offset
number
]
By default, no expected data is
configured.
The expected data is checked
only when you configure both
the
data-fill
and
expect-data
commands.
Configuring the UDP template
A feature that uses the UDP template performs the UDP operation to test the following items:
•
Reachability of a specific port on the NQA server.
•
Availability of the requested service on the NQA server.
In UDP template view, you can specify the expected data to be returned. If you do not specify the
expected data, the UDP operation tests only whether the client can receive the response packet from
the server.
The UDP operation requires both the NQA server and the NQA client. Before you perform a UDP
operation, configure a UDP listening service on the NQA server. For more information about
configuring the UDP listening service, see "
To configure the UDP template:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a UDP template
and enter its view.
nqa template udp name
By default, no UDP templates exist.
3.
(Optional.) Specify the
destination IP address of
the operation.
•
IPv4
address:
destination ip
ip-address
•
IPv6
address:
destination ipv6
ipv6-address
By default, no destination address is
specified.
The destination address must be the same
as the IP address of the listening service
configured on the NQA server.
4.
(Optional.) Specify the
destination port number
for the operation.
destination port
port-number
By default, no destination port number is
specified.
The destination port number must be the