36
Step
Command
Remarks
6.
(Optional.) Configure the
probe result sending on a
per-probe basis.
reaction trigger per-probe
By default, the probe result is
sent to the feature that uses the
template after three consecutive
failed or successful probes.
If you execute the
reaction
trigger per-probe
and
reaction trigger probe-pass
commands multiple times, the
most recent configuration takes
effect.
If you execute the
reaction
trigger per-probe
and
reaction trigger probe-fail
commands multiple times, the
most recent configuration takes
effect.
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 the UDP
listening service configuration, 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
same as the port number of the listening
service on the NQA server.
5.
(Optional.) Specify the
payload fill string for the
probe packets.
data-fill string
The default payload fill string is the
hexhexadecimal string
00010203040506070809.
6.
(Optional.) Set the
payload size for the
probe packets.
data-size
size
The default setting is 100 bytes.