Vous êtes sur la page 1sur 7

Operation Manual – NQA

H3C S9500 Series Routing Switches Table of Contents

Table of Contents

Chapter 1 NQA Configuration ...................................................................................................... 1-1


1.1 Introduction to NQA ........................................................................................................... 1-1
1.2 NQA Configuration............................................................................................................. 1-1
1.2.1 Configuration Prerequisites..................................................................................... 1-1
1.2.2 Configuring NQA ..................................................................................................... 1-2
1.2.3 NQA Configuration Example ................................................................................... 1-5
1.3 Displaying and Maintaining NQA ....................................................................................... 1-6

i
Operation Manual – NQA
H3C S9500 Series Routing Switches Chapter 1 NQA Configuration

Chapter 1 NQA Configuration

When configuring NQA, go to these sections for information you are interested in:
z Introduction to NQA
z NQA Configuration
z Displaying and Maintaining NQA

1.1 Introduction to NQA


A network quality analyzer (NQA), which is an enhancement of the ping function, is
used to test the performance of various protocols operating in a network. The ping
function can only use ICMP to test the round trip travel time of data packets between
the local endpoint and the specified destination endpoint by command lines, While NQA
on the S9500 series switches can finish not only the above functions, but also the ICMP
function and the MIB operation corresponding to ICMP. Other functions such as DLSw,
DHCP, FTP, HTTP, and SNMP are not implemented yet.
The ICMP function test of NQA has the following features:
The NQA function is similar with the ping function. But NQA has more parameters and
can execute multiple tests simultaneously and automatically, and collect and save test
results.
The NQA function configures various parameters needed by the test through the
network management tool or the command line. Then you can enable the test, and
view the test result. After the test, use the display nqa results command to display the
test result.

1.2 NQA Configuration


The ICMP function test of NQA includes the following configuration:
z Enable the NQA client function.
z Configure the maximum number of the test tasks that can be performed
simultaneously.
z Set the NQA test group.
z Set various test parameters.
z Enable the test.
z Display the test result.

1.2.1 Configuration Prerequisites

The ICMP function of NQA needs no special prerequisite; however, note the following
two points during the configuration:

1-1
Operation Manual – NQA
H3C S9500 Series Routing Switches Chapter 1 NQA Configuration

z Enabling the NQA client function is the prerequisite of all tests.


z To execute the test, you must set the NQA test group, configure the parameters,
and then enable the test.

1.2.2 Configuring NQA

Follow these steps to configure NQA:

To do… Use the command… Remarks


Enter system view system-view —

Enable the client function Required


nqa-agent enable
of the NQA Disabled by default
Configure the maximum Optional
nqa-agent max-requests
number of the test tasks
max-number 5 by default
performed simultaneously
Required
By default, the system
Set the NQA test group, nqa administrator-name creates no test group.
enter NQA test group view test-tag When a test group is set,
the system automatically
enter the NQA test group
view.
At present, ICMP type is
the only choice.
Set the test type test-type type
By default, the test type is
ICMP type.
Required
Set the destination
destination-ip ip-address By default, no destination
address to be tested
address is set.
Optional
Set the description
information of the test description text By default, there is no
group description information of
the test group.

Set the timeout time for Optional


timeout time
the test operation Three seconds by default
Optional
Set the number of probe
count times By default, one probe
packets to be sent
packet is sent.
Set the life time for NQA
ICMP test packet, that is, Optional
the maximum number of ttl number
hops that a test packet 20 by default
can pass in the network

1-2
Operation Manual – NQA
H3C S9500 Series Routing Switches Chapter 1 NQA Configuration

To do… Use the command… Remarks


Optional
By default, the ToS value
Set the ToS value in the in the NQA test packet
tos value
NQA test packet header header is 0, that is , no
special service is
specified
Optional
Set the filler data size of 56 bytes (including no
datasize size
the test packet protocol header) by
default
Optional
Set the filler data of the
datafill text By default, no filler data in
test packet
the test packet is set.
Optional
Set the name of the VPN
vpn-instance name By default, no name of the
instance
VPN instance is set.
Optional
By default, no source IP
Set the source IP address address is configured.
source-ip ip-address The system uses the IP
of this test
address of the source
interface as the source IP
address.

source-interface Optional
Set the source interface interface-type By default, no source
interface-number interface is configured.
Assume the connection
mode between the Optional
destination address and
sendpacket passroute By default, there is no
the equipment enabling
the test as direct such assumption.
connection mode
Set the number of the test Optional
results that can be stored history-records number
in the history record 50 by default

Optional
Set the condition (probe) send-trap { all |
of sending Trap { probefailure | By default, no Trap
information to the network testcomplete | information is sent to the
management system testfailure } * } network management
system.
Optional
Set the times of constant
probe failures after which By default, the system
the Trap information is probe-failtimes times sends the Trap
sent to the network information to the network
management system management system after
one probe failure.

1-3
Operation Manual – NQA
H3C S9500 Series Routing Switches Chapter 1 NQA Configuration

To do… Use the command… Remarks


Optional
By default, NQA sends
Set the Trap information the Tap information to the
test-failtimes times
filter condition (test) network management
system after one NQA test
fails.
Optional
The default interval time is
0, that is, no automatic
Set the automatic test test is performed;
frequency interval
interval Configure the interval>0,
then the system performs
one automatic test every
configured interval time.
Required
Ignore this configuration if
Enable the test test-enable you choose the
frequency interval
command to enable the
automatic test.
display nqa [ results |
history ]
Display the test result Available in any view
[ administrator-name
test-tag ]

Caution:

z When the system is testing, parameters that are configured in the NQA test group
view cannot be changed except the simple description of the operations and the
condition of sending the Trap information to the network management system.
z You can use the undo test-enable command to stop the test at any time. And you
can stop the test by means of disabling the NQA client or deleting the test group
during the test.
z If you assume the connection mode as direct mode but set a TTL value at the same
time, this TTL value does not take effect.
z Neither the source IP address nor the destination IP address can be set to 0.0.0.0 or
255.255.255.255. Source address can only be the Layer 3 interface configured with
IP address.
z All of the parameters and test results can be displayed or set by MIB with the
network management tool.

1-4
Operation Manual – NQA
H3C S9500 Series Routing Switches Chapter 1 NQA Configuration

1.2.3 NQA Configuration Example

I. Network requirements

z Configure the simple NQA test. The type is ICMP.


z The destination address is 192.168.80.80. It is the address of a PC and accessible
to the switch which performs the NQA test.

II. Network diagram

Figure 1-1 Network diagram for NQA configuration

III. Configuration procedure

1) Enable the NQA client


# Enable the NQA client.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] nqa-agent enable
2) Set the NQA test group
# Create an NQA test group. Its name is administrator and its test tag is ICMP.
[H3C] nqa administrator icmp
3) Set the parameters of the test group
# Configure the test type as ICMP.
[H3C-nqa-administrator-icmp] test-type icmp

# Configure the destination IP to 192.168.80.80.


[H3C-nqa-administrator-icmp] destination-ip 192.168.80.80

# Configure the test times to 5.


[H3C-nqa-administrator-icmp] count 5
4) Execute the test
# Execute one test.
[H3C-nqa-administrator-icmp] test-enable
5) Display the test results
# Display the results of this test in this test group.
<H3C> display nqa results administrator icmp
NQA entry(admin administrator, tag icmp) test result:
Destination ip address:192.168.80.80

1-5
Operation Manual – NQA
H3C S9500 Series Routing Switches Chapter 1 NQA Configuration

Vpn-instance: NULL
Send operation times: 5 Receive response times: 5
Min/Max/Average Round Trip Time: 21/33/25
Square-Sum of Round Trip Time: 3557
Last complete test time: 2005-12-8 11:22:33.4
Extended results:
Packet lost in test: 0%
Disconnect operation number:0 Operation timeout number:0
System busy operation number:0 Connection fail number:0
Operation sequence errors:0 Drop operation number:0
Other operation errors:0

1.3 Displaying and Maintaining NQA


To do… Use the command… Remarks
Display the
display current-configuration or
configuration Available in any view
display this in NQA test group view
information
Display the test display nqa { results | history }
Available in any view
results [ administrator-name test-tag ]

1-6

Vous aimerez peut-être aussi