Tasks at a glance
•
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:
Step
1.
Enter system view.
2.
Create an ICMP template
and enter its view.
3.
(Optional.) Specify the
destination IP address of
the operation.
4.
(Optional.)
payload size for each
ICMP request.
5.
(Optional.) Specify the
payload
requests.
6.
(Optional.) Specify the
source IP address for
ICMP echo requests.
7.
(Optional.) Specify the
next hop IP address for
ICMP echo requests.
8.
(Optional.) Configure the
probe result sending on a
per-probe basis.
Command
system-view
nqa template icmp name
•
IPv4
destination ip ip-address
•
IPv6
destination
ipv6-address
Set
the
data-size size
fill
string
for
data-fill string
•
Use the IPv4 address of the
specified interface as the
source
source
interface-type
interface-number
•
Specify the source IPv4
address:
source ip ip-address
•
Specify the source IPv6
address:
source ipv6 ipv6-address
•
IPv4
next-hop ip ip-address
•
IPv6
next-hop ipv6 ipv6-address
reaction trigger per-probe
Remarks
N/A
By default, no ICMP templates exist.
address:
By default, no destination IP address
address:
is configured.
ipv6
The default setting is 100 bytes.
The default payload fill string is the
hexadecimal
00010203040506070809.
By default, the requests take the
primary IP address of the output
interface as their source IP address.
IP
address:
If you execute the source interface,
interface
source
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.
address:
By default, no IP address of the next
hop is configured.
address:
The next-hop command is available
in Release 1121 and later.
By default, the probe result is sent to
the feature that uses the template
after three consecutive failed or
successful probes.
115
number
ip,
and
source
ipv6