
Context
Do as follows on the NQA client (TCP client):
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
nqa
test-instance
admin-name
test-name
An NQA test instance is created and the test instance view is displayed.
Step 3
Run:
test-type
tcp
The test type is set to TCP.
Step 4
Run:
destination-address
ipv4
ip-address
The destination IP address is configured.
Step 5
To configure the destination port number, run the
destination-port
port-number
command.
Step 6
(Optional) Perform the following as required to configure other parameters for the TCP test ( For
detailed parameter configurations, see the chapter
Configuring Universal NQA Test
):
l
To configure the VPN instance to be tested, run the
vpn-instance
vpn-instance-name
command.
NOTE
Only S5700EI and S5700HI support the
vpn-instance
command.
l
To configure the source IP address, run the
source-address
ipv4
ip-address
command.
l
To configure the source port number, run the
source-port
port-number
command.
l
To configure the interval for sending test packets, run the
interval
seconds
interval
command.
l
To configure the percentage of the failed NQA tests, run the
fail-percent
percent
command.
l
To configure the NQA test packets to be sent without searching the routing table, run the
sendpacket passroute
command.
Step 7
Run:
start
The NQA test is started.
Select the start mode as required because the
start
command has several forms.
l
To perform the NQA test immediately, run the
start
now
[
end
{
at
[
yyyy
/
mm
/
dd
]
hh
:
mm
:
ss
|
delay
{
seconds
second
|
hh
:
mm
:
ss
} |
lifetime
{
seconds
second
|
hh
:
mm
:
ss
} } ]
command.
The test instance is started immediately.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
6 NQA Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
282