beautypg.com

Nqa configuration examples, Icmp echo operation configuration example, Network requirements – H3C Technologies H3C S6300 Series Switches User Manual

Page 153: Configuration procedure

background image

140

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

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.

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, specify the probe timeout time as 500
milliseconds, and configure the operation to repeat at an interval of 5000 milliseconds.

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

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

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