beautypg.com

Configuration procedure – H3C Technologies H3C SecBlade LB Cards User Manual

Page 137

background image

129

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

[LB] nqa entry admin test1

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

[LB-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.

[LB-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.

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

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

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

# Enable saving history records and configure the maximum number of history records that can be saved
as 10.

[LB-nqa-admin-test1-icmp-echo] history-record enable

[LB-nqa-admin-test1-icmp-echo] history-record number 10

[LB-nqa-admin-test1-icmp-echo] quit

# Start the ICMP echo operation.

[LB] nqa schedule admin test1 start-time now lifetime forever

# Stop the ICMP echo operation after a period of time.

[LB] undo nqa schedule admin test1

# Display the results of the ICMP echo operation.

[LB] display nqa result admin test1

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

Destination IP address: 10.2.2.2

Send operation times: 10 Receive response times: 10

Min/Max/Average round trip time: 2/5/3

Square-Sum of round trip time: 96

Last succeeded probe time: 2011-08-23 15:00:01.2

Extended results:

Packet loss in test: 0%

Failures due to timeout: 0

Failures due to disconnect: 0

Failures due to no connection: 0

Failures due to sequence error: 0

Failures due to internal error: 0

Failures due to other errors: 0

Packet(s) arrived late: 0

# Display the history records of the ICMP echo operation.

[LB] display nqa history admin test1

NQA entry (admin admin, tag test1) history record(s):

This manual is related to the following products: