Configuring the icmp echo operation, Configuring the dhcp operation – H3C Technologies H3C MSR 5600 User Manual
Page 25
12
Configuring the ICMP echo operation
The ICMP echo operation measures the reachability of a destination device. It has the same function as
the ping command, but provides more output information. In addition, if multiple paths exist 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.
Specify the payload size in
each ICMP echo request.
data-size size
The default setting is 100 bytes.
6.
Specify the string to be filled in
the payload of each ICMP echo
request.
data-fill string
The default setting is the
hexadecimal number
00010203040506070809.
7.
(Optional.) Specify the source
interface and the source IP
address of ICMP echo requests.
•
Specify the source interface:
source interface interface-type
interface-number
•
Specify the source IP address:
source ip ip-address
By default, no source interface
or source IP address is
specified. The requests take the
primary IP address of the
outgoing interface as their
source IP address.
If you configure both source ip
and source interface, the source
ip command 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.
8.
(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 if the DHCP server can respond to client requests and the time for the
NQA client to get an IP address from a DHCP server.