beautypg.com

Nqa configuration examples, Icmp echo test configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual

Page 93: Configuration procedure

background image

27

To do…

Use the command…

Remarks

Display the statistics of a type of
NQA test

display nqa statistics [ admin-name

operation-tag ]

Display NQA server status

display nqa server status

NQA Configuration Examples

ICMP Echo Test Configuration Example

Network requirements

As shown in

Figure 3

, use the NQA ICMP function to test whether the NQA client (Device A) can send

packets to the specified destination (Device B) and test the round-trip time of packets.

Figure 3 Network diagram for ICMP echo tests

IP network

NQA client

Device B

Device A

10.1.1.1/16

10.2.2.2/16

Configuration procedure

# Create an ICMP echo test group and configure related test parameters.

system-view

[DeviceA] nqa entry admin test

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

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

# Configure optional parameters.

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

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

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

# Enable the saving of history records.

[DeviceA-nqa-admin-test-icmp-echo] history-record enable

[DeviceA-nqa-admin-test-icmp-echo] history-record number 10

[DeviceA-nqa-admin-test-icmp-echo] quit

# Enable ICMP echo test.

[DeviceA] nqa schedule admin test start-time now lifetime forever

# Disable ICMP echo test after the test begins for a period of time.

[DeviceA] undo nqa schedule admin test

# Display results of the last ICMP echo test.

[DeviceA] display nqa result admin test

NQA entry (admin admin, tag test) test results:

Destination IP address: 10.2.2.2

Send operation times: 10 Receive response times: 10