Nqa configuration examples, Icmp echo operation configuration example, Network requirements – H3C Technologies H3C MSR 50 User Manual

Page 141: Configuration procedure

Advertising
background image

NQA configuration examples

ICMP echo operation configuration example

Network requirements

As shown in

Figure 38

, configure and schedule an ICMP echo operation from the NQA client Device A

to Device B through Device C to test the round-trip time.

Figure 38 Network diagram

NQA client

Device B

Device A

10.1.1.1/24

10.2.2.2/24

Device C

10.1.1.2/24

10.3.1.2/24

Device D

10.2.2.1/24

10.4.1.1/24

10.3.1.1/24

10.4.1.2/24

Configuration procedure

# Assign each interface an IP address. (Details not shown.)
# Configure static routes or a routing protocol to make sure the devices can reach each other. (Details not

shown.)
# Create an ICMP echo operation, and specify 10.2.2.2 as the destination IP address.

<DeviceA> system-view

[DeviceA] nqa entry admin test1

[DeviceA-nqa-admin-test1] type icmp-echo

[DeviceA-nqa-admin-test1-icmp-echo] destination ip 10.2.2.2

# Configure 10.1.1.2 as the next hop. The ICMP echo requests are sent through Device C to Device B.

[DeviceA-nqa-admin-test1-icmp-echo] next-hop 10.1.1.2

# Configure the ICMP echo operation to perform 10 probes.

[DeviceA-nqa-admin-test1-icmp-echo] probe count 10

# Specify the probe timeout time for the ICMP echo operation as 500 milliseconds.

[DeviceA-nqa-admin-test1-icmp-echo] probe timeout 500

# Configure the ICMP echo operation to repeat at an interval of 5000 milliseconds.

[DeviceA-nqa-admin-test1-icmp-echo] frequency 5000

128

Advertising