115
• Configuring the TCP half open template
• Configuring the UDP template
• Configuring the HTTP template
• Configuring the HTTPS template
• Configuring the FTP template
• Configuring the SSL template
(Optional.) Configuring optional parameters for the NQA template
Configuring the ICMP template
A feature that uses the ICMP template performs the ICMP operation to measure the reachability of a
destination device. The ICMP template is supported in both IPv4 and IPv6 networks.
To configure the ICMP template:
1. Enter system view.
system-view
N/A
2. Create an ICMP template
and enter its view.
nqa template icmp
name By default, no ICMP templates exist.
3.
destination IP address of
the operation.
• IPv4 address:
destination ip ip-address
• IPv6 address:
destination ipv6
ipv6-address
By default, no destination IP address
is configured.
4.
(Optional.) Set the
payload size for each
ICMP request.
data-size
size The default setting is 100 bytes.
5.
(Optional.) Specify the
payload fill string for
requests.
data-fill
string
The default payload fill string is the
00010203040506070809.
6.
(Optional.) Specify the
source IP address for
ICMP echo requests.
• Use the IPv4 address of the
specified interface as the
source IP address:
source interface
interface-type
interface-number
• Specify the source IPv4
address:
source ip ip-address
• Specify the source IPv6
address:
source ipv6 ipv6-address
By default, the requests take the
primary IP address of the output
interface as their source IP address.
If you execute the
source interface
,
source ip
, and
commands multiple times, the
most
recent configuration
takes effect.
The specified source interface must
be up.
The specified 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.
next hop IP address for
ICMP echo requests.
• IPv4 address:
next-hop ip ip-address
• IPv6 address:
next-hop ipv6 ipv6-address
By default, no IP address of the next
hop is configured.
The
next-hop
command is available
in Release 1121 and later.
8. (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
afte
r three consecutive failed or
successful probes.