beautypg.com

Configuring the icmp echo operation, Configuring the dhcp operation – H3C Technologies H3C S6300 Series Switches User Manual

Page 130

background image

117

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 IP

address of ICMP echo requests. destination ip ip-address

By default, no destination IP
address is specified.

5.

(Optional.) Specify the payload

size for each ICMP echo
request.

data-size size

The default setting is 100 bytes.

6.

(Optional.) Specify the payload
fill string for ICMP echo

requests.

data-fill string

The default setting is the
hexadecimal number

00010203040506070809.

7.

(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
outgoing interface as their

source IP address.
If you configure both source ip

and source interface, 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.

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 whether or not the DHCP server can respond to client requests. DHCP
also measures the amount of time it takes for the NQA client to obtain an IP address from a DHCP server.