
112
between the source and destination devices, you can specify the next hop for the ICMP echo
operation.
The ICMP echo operation is not supported in IPv6 networks. To test the reachability of an IPv6
address, use the
ping ipv6
command. For more information about the command, see
Network
Management and Monitoring Command Reference.
To configure the ICMP echo operation:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an NQA operation and
enter NQA operation view.
nqa
entry
admin-name
operation-tag
By default, no NQA operation
is created.
3.
Specify the ICMP echo type
and enter its view.
type icmp-echo
N/A
4.
Specify the destination
address of ICMP echo
requests.
destination ip
ip-address
By default, no destination IP
address is specified.
5.
(Optional.) Specify the
payload size in each ICMP
echo request.
data-size
size
The default setting is 100
bytes.
6.
(Optional.) Specify the string
to be filled in the payload of
each ICMP echo request.
data-fill
string
The default payload fill string is
hexadecimal number
00010203040506070809.
7.
(Optional.) Specify the output
interface for ICMP echo
requests.
out interface interface-type
interface-number
By default, no output interface
is specified. The NQA client
determines the output interface
based on the routing table
lookup.
8.
(Optional.) Specify the source
IP address of ICMP echo
requests.
•
Specify the IP address of the
specified interface as the
source IP address:
source interface
interface-type
interface-number
•
Specify the source IP address:
source ip ip-address
By default, no source IP
address is specified. The
requests take the primary IP
address of the output interface
as their source IP address.
If you configure both the
source ip
and
source
interface
commands, the
most
recent configuration
takes
effect.
The specified source interface
must be up. 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.
9.
(Optional.) Specify the next
hop for ICMP echo requests.
next-hop ip-address
By default, no next hop is
configured.
Configuring the DHCP operation
The DHCP operation measures whether or not the DHCP server can respond to client requests.
DHCP also measures the amount of time it takes the NQA client to obtain an IP address from a
DHCP server.