Network Quality Analyzer (NQA) analyzes
network performance, services and service quality by sending test packets, and
provides you with network performance and service quality parameters such as
jitter, TCP connection delay, FTP connection delay and file transfer rate.
With the NQA test results, you can:
1)
Know network performance in time and then take
corresponding measures.
2)
Diagnose and locate network faults.
I. Network diagram

Figure 1-1 ICMP echo test network diagram
II. Networking and configuration
requirements
Use NQA to perform ICMP-echo test to see whether
the NQA client (Switch A) can send packets to the specified destination (Switch
B) and test the roundtrip time of the packets.
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI Series Ethernet Switches
|
Release 1207
|
All versions except S5500-20TP-SI
|
|
Release 1301
|
S5500-20TP-SI
|
|
S5500-EI
Series Ethernet Switches
|
Release
2102
|
All versions
|
|
S7500E
Series Ethernet Switches
|
Release
6100
|
All versions
|
IV. Configuration procedure
# Create an ICMP echo test group and
configure related test parameters.
<SwitchA>
system-view
[SwitchA]
nqa entry admin test
[SwitchA-nqa-admin-test]
type icmp-echo
[SwitchA-nqa-admin-test-icmp-echo]
destination ip 10.2.2.2
# Configure optional parameters.
[SwitchA-nqa-admin-test-icmp-echo]
probe count 10
[SwitchA-nqa-admin-test-icmp-echo]
probe timeout 500
[SwitchA-nqa-admin-test-icmp-echo]
frequency 5000
[SwitchA-nqa-admin-test-icmp-echo]
history-records 10
[SwitchA-nqa-admin-test-icmp-echo]
quit
# Start the ICMP echo test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the ICMP echo test operation after
the test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
ICMP echo test.
[SwitchA]
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
Min/Max/Average round trip time: 0/16/1
Square-Sum of round trip time: 256
Last
succeeded probe time: 2007-08-23 15:00:01.2
Extend
results:
Packet lost 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
# Display the history of the ICMP echo
test.
[SwitchA]
display nqa history admin test
NQA
entry(admin admin, tag test) history record(s):
Index Response Status Time
370 3 Succeeded 2007-08-23 15:00:01.2
369 3 Succeeded 2007-08-23 15:00:01.2
368 3 Succeeded 2007-08-23 15:00:01.2
367 5 Succeeded 2007-08-23 15:00:01.2
366 3 Succeeded 2007-08-23 15:00:01.2
365 3 Succeeded 2007-08-23 15:00:01.2
364 3 Succeeded 2007-08-23 15:00:01.1
363 2 Succeeded 2007-08-23 15:00:01.1
362 3 Succeeded 2007-08-23 15:00:01.1
361 2 Succeeded 2007-08-23 15:00:01.1
V. Complete configuration
l
Configuration on Switch A
#
nqa entry
admin test
type
icmp-echo
destination ip 10.2.2.2
probe
count 10
probe
timeout 500
frequency
5000
history-records
10
Configuration of the end time of an NQA
test is not supported on the device, and you need to use the undo nqa
schedule command to end an NQA test.
I. Network diagram

Figure
1-2 DHCP test network diagram
II. Networking and configuration
requirements
Use the DHCP function to test the time
necessary for Switch A to obtain an IP address from the DHCP server Switch B.
III. Configuration procedure
# Create a DHCP NQA test group and
configure related test parameters.
<SwitchA>
system-view
[SwitchA] nqa
entry admin test
[SwitchA-nqa-admin-test]
type dhcp
[SwitchA-nqa-admin-test-dhcp]
operation interface vlan-interface 2
[SwitchA-nqa-admin-test-dhcp]
quit
# Start the DHCP test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the DHCP test operation after the
test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
DHCP test.
[SwitchA]
display nqa result admin test
NQA
entry(admin admin, tag test) test results:
Send
operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 624/624/624
Square-Sum of round trip time: 389376
Last
succeeded probe time: 2007-11-22 09:56:03.2
Extend
results:
Packet
lost 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
# Display the history of the DHCP test.
[SwitchA]
display nqa history admin test
NQA
entry(admin admin, tag test) history record(s):
Index Response Status Time
1 624 Succeeded 2007-11-22 09:56:03.2
IV. Applicable product matrix
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI
Series Ethernet Switches
|
Release
1207
|
All
versions except S5500-20TP-SI
|
|
Release
1301
|
S5500-20TP-SI
|
|
S5500-EI Series Ethernet Switches
|
Release 2102
|
All versions
|
|
S7500E Series Ethernet Switches
|
Release 6100
|
All versions
|
V. Complete configuration
l
Configuration on Switch A
#
nqa entry
admin test
type dhcp
operation interface Vlan-interface2
VI. Configuration guidelines
Configuration of the end time of an NQA
test is not supported on the device, and you need to use the undo nqa
schedule command to end an NQA test.
I. Network diagram

Figure
1-3 FTP test network diagram
II. Networking and configuration
requirements
Use the FTP
function on Switch A to test the connection with a specified FTP server and the
time necessary for Switch A to upload a file to the FTP server. The login
username is admin, the login password is systemtest, and the file
to be transferred to the FTP server is config.txt.
III. Configuration procedure
# Create an FTP NQA test group and
configure related test parameters.
<SwitchA>
system-view
[SwitchA] nqa
entry admin test
[SwitchA-nqa-admin-test]
type ftp
[SwitchA-nqa-admin-test-ftp]
destination ip 10.2.2.2
[SwitchA-nqa-admin-test-ftp]
source ip 10.1.1.1
[SwitchA-nqa-admin-test-ftp]
operation put
[SwitchA-nqa-admin-test-ftp]
username admin
[SwitchA-nqa-admin-test-ftp]
password systemtest
[SwitchA-nqa-admin-test-ftp]
filename config.txt
[SwitchA-nqa-admin-test-ftp]
quit
# Start the FTP test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the FTP test operation after the
test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
FTP test.
[SwitchA] display
nqa result admin test
NQA
entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send
operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 173/173/173
Square-Sum of round trip time: 29929
Last
succeeded probe time: 2007-11-22 10:07:28.6
Extend
results:
Packet lost 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
# Display the history of the FTP test.
[SwitchA]
display nqa history admin test
NQA
entry(admin admin, tag test) history record(s):
Index Response Status Time
1 173 Succeeded 2007-11-22 10:07:28.6
IV. Applicable product matrix
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI Series Ethernet Switches
|
Release 1207
|
All versions except S5500-20TP-SI
|
|
Release 1301
|
S5500-20TP-SI
|
|
S5500-EI Series Ethernet Switches
|
Release 2102
|
All versions
|
|
S7500E Series Ethernet Switches
|
Release 6100
|
All versions
|
V. Complete configuration
l
Configuration on Switch A
#
nqa entry
admin test
type ftp
destination ip 10.2.2.2
filename
config.txt
operation put
password
systemtest
source
ip 10.1.1.1
username
admin
VI. Configuration guidelines
Configuration of the end time of an NQA test is not supported on the
device, and you need to use the undo nqa schedule command to end an NQA
test.
I. Network diagram

Figure 1-4 HTTP test network diagram
II. Networking and configuration
requirements
Use the HTTP function on Switch A to test
the connection with a specified HTTP server and the time required to obtain
data from the HTTP server.
III. Configuration procedure
# Create an HTTP NQA test group and
configure related test parameters.
<SwitchA>
system-view
[SwitchA]
nqa entry admin test
[SwitchA-nqa-admin-test]
type http
[SwitchA-nqa-admin-test-http]
destination ip 10.2.2.2
[SwitchA-nqa-admin-test-http]
operation get
[SwitchA-nqa-admin-test-http]
url /index.htm
[SwitchA-nqa-admin-test-http]
http-version v1.0
[SwitchA-nqa-
admin-test-http] quit
# Start the HTTP test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the HTTP test operation after the
test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
HTTP test.
[SwitchA]
display nqa result admin test
NQA
entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send
operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 64/64/64
Square-Sum of round trip time: 4096
Last
succeeded probe time: 2007-11-22 10:12:47.9
Extend
results:
Packet lost 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
# Display the history of the HTTP test.
[SwitchA]
display nqa history admin test
NQA
entry(admin admin, tag test) history record(s):
Index Response Status Time
1 64 Succeeded 2007-11-22 10:12:47.9
IV. Applicable product matrix
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI Series Ethernet Switches
|
Release 1207
|
All versions except S5500-20TP-SI
|
|
Release 1301
|
S5500-20TP-SI
|
|
S5500-EI
Series Ethernet Switches
|
Release
2102
|
All versions
|
|
S7500E
Series Ethernet Switches
|
Release
6100
|
All versions
|
V. Complete configuration
l
Configuration on Switch A
#
nqa entry
admin test
type http
destination ip 10.2.2.2
url
/index.htm
VI. Configuration guidelines
Configuration of the end time of an NQA test is not supported on the
device, and you need to use the undo nqa schedule command to end an NQA
test.
I. Network diagram

Figure 1-5 UDP jitter test network
diagram
II. Networking and configuration
requirements
Use the UDP jitter function to test the
delay jitter of packet transmission between Switch A and Switch B.
III. Configuration procedure
1)
Configure Switch B.
# Enable the NQA server and configure the
listening IP address as 10.2.2.2 and port number as 9000.
<SwitchB>
system-view
[SwitchB]
nqa server enable
[SwitchB]
nqa server udp-echo 10.2.2.2 9000
2)
Configure Switch A.
# Create a UDP jitter NQA test group and
configure related test parameters.
<SwitchA>
system-view
[SwitchA]
nqa entry admin test
[SwitchA-nqa-admin-test]
type udp-jitter
[SwitchA-nqa-admin-test-udp-jitter]
destination ip 10.2.2.2
[SwitchA-nqa-admin-test-udp-jitter]
destination port 9000
[SwitchA-nqa-admin-test-udp-jitter]
quit
# Start the UDP jitter test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the UDP jitter test operation after
the test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
UDP jitter test.
[SwitchA]
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
Min/Max/Average round trip time: 7/10/8
Square-Sum of round trip time: 646
Last
succeeded probe time: 2007-11-22 10:16:49.0
Extend
results:
Packet lost 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
UDP-jitter results:
RTT
number: 10
SD
max delay: 5 DS max delay: 5
Min positive SD: 1 Min
positive DS: 0
Max
positive SD: 1 Max positive DS: 0
Positive SD number: 2
Positive DS number: 0
Positive SD sum: 2 Positive DS sum: 0
Positive SD average: 1 Positive DS average: 0
Positive SD square sum: 2 Positive DS square sum: 0
Min negative SD: 1 Min
negative DS: 0
Max negative SD: 2
Max negative DS: 0
Negative SD number: 3 Negative DS number: 0
Negative SD sum: 4 Negative DS sum: 0
Negative SD average: 1 Negative DS average: 0
Negative SD square sum: 6 Negative DS square sum: 0
SD
lost packet(s): 0 DS lost packet(s): 0
Lost
packet(s) for unknown reason: 0
In a UDP jitter
test, a group of probe packets are sent in a probe, and this group of packets
corresponds to one history record. Therefore, to know the results of a UDP
jitter test, you are recommended to use the display nqa result command
to view the probe results, rather than the display nqa history command
to view the history record.
IV. Applicable product matrix
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI Series Ethernet Switches
|
Release 1207
|
All versions except S5500-20TP-SI
|
|
Release 1301
|
S5500-20TP-SI
|
|
S5500-EI Series Ethernet Switches
|
Release 2102
|
All versions
|
|
S7500E Series Ethernet Switches
|
Release 6100
|
All versions
|
V. Complete configuration
l
Configuration on Switch B
#
nqa
server enable
nqa
server udp-echo 10.2.2.2 9000
l
Configuration on Switch A
#
nqa entry
admin test
type
udp-jitter
destination ip 10.2.2.2
destination port 9000
VI. Configuration guidelines
Configuration of the end time of an NQA test is not supported on the
device, and you need to use the undo nqa schedule command to end an NQA
test.
I. Network diagram

Figure 1-6 SNMP test network diagram
II. Networking and configuration
requirements
Use the SNMP query function to test the
time it takes for Switch A to send an SNMP query packet to the SNMP agent
(Switch B) and receive a response packet.
III. Configuration procedure
1)
Configurations on SNMP Agent.
# Enable the SNMP agent service and set the
SNMP version to all, the read community to public, and the write
community to private.
<SwitchB>
system-view
[SwitchB] snmp-agent
sys-info version all
[SwitchB] snmp-agent
community read public
[SwitchB] snmp-agent
community write private
2)
Configurations on Switch A.
# Create an SNMP query test group and
configure related test parameters.
<SwitchA>
system-view
[SwitchA]
nqa entry admin test
[SwitchA-nqa-admin-test]
type snmp
[SwitchA-nqa-admin-test-snmp]
destination ip 10.2.2.2
[SwitchA-nqa-admin-test-snmp]
quit
# Start the SNMP test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the SNMP test operation after the
test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
SNMP test.
[SwitchA]
display nqa result admin test
NQA
entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send
operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 50/50/50
Square-Sum of round trip time: 2500
Last
succeeded probe time: 2007-11-22 10:24:41.1
Extend
results:
Packet lost 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
# Display the history of the SNMP test.
[SwitchA]
display nqa history admin test
NQA
entry(admin admin, tag test) history record(s):
Index Response Status Time
1 50 Timeout 2007-11-22 10:24:41.1
IV. Applicable product matrix
|
Product series
|
Software version
|
Hardware version
|
|
S3610 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5510 Series Ethernet Switches
|
Release 5301
|
All versions
|
|
S5500-SI Series Ethernet Switches
|
Release 1207
|
All versions except S5500-20TP-SI
|
|
Release 1301
|
S5500-20TP-SI
|
|
S5500-EI Series Ethernet Switches
|
Release 2102
|
All versions
|
|
S7500E Series Ethernet Switches
|
Release 6100
|
All versions
|
V. Complete configuration
l
Configuration on Switch A
#
nqa entry
admin test
type snmp
destination ip 10.2.2.2
l
Configuration on Switch B
#
snmp-agent
snmp-agent
local-engineid 800063A20300E0FC123456
snmp-agent
community read public
snmp-agent
community write private
snmp-agent
sys-info version all
VI. Configuration guidelines
Configuration of
the end time of an NQA test is not supported on the device, and you need to use
the undo nqa schedule command to end an NQA test.
I. Network diagram

Figure 1-7 TCP test network diagram
II. Networking and configuration
requirements
Use the TCP function to test the time for
establishing a TCP connection between Switch A and Switch B. The port number
used is 9000.
III. Configuration procedure
1)
Configure Switch B.
# Enable the NQA server and configure the
listening IP address as 10.2.2.2 and port number as 9000.
<SwitchB>
system-view
[SwitchB]
nqa server enable
[SwitchB]
nqa server tcp-connect 10.2.2.2 9000
2)
Configure Switch A.
# Create a TCP NQA test group and configure
related test parameters.
<SwitchA>
system-view
[SwitchA]
nqa entry admin test
[SwitchA-nqa-admin-test]
type tcp
[SwitchA-nqa-admin-test-tcp]
destination ip 10.2.2.2
[SwitchA-nqa-admin-test-tcp]
destination port 9000
[SwitchA-nqa-admin-test-tcp]
quit
# Start the TCP test operation.
[SwitchA]
nqa schedule admin test start-time now lifetime forever
# Stop the TCP test operation after the
test begins for a period of time.
[SwitchA] undo
nqa schedule admin test
# Display results of the last test in the
TCP test.
[SwitchA]
display nqa result admin test
NQA
entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send
operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 13/13/13
Square-Sum of round trip time: 169
Last
succeeded probe time: 2007-11-22 10:27:25.1
Extend
results:
Packet lost 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
# Display the history of the TCP test.
[SwitchA]
display nqa history admin test
NQA
entry(admin admin, tag test) history record(s):
Index Response Status Time
1 13 Succeeded 2007-11-22 10:27:25.1