H3C S9500 Operation Manual-Release1648[v1.24]-08 System Volume

HomeSupportSwitchesH3C S9500 Series SwitchesConfigure & DeployConfiguration GuidesH3C S9500 Operation Manual-Release1648[v1.24]-08 System Volume
05-NQA Configuration
Title Size Download
05-NQA Configuration 49.97 KB

Chapter 1  NQA Configuration

When configuring NQA, go to these sections for information you are interested in:

l           Introduction to NQA

l           NQA Configuration

l           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:

l           Enable the NQA client function.

l           Configure the maximum number of the test tasks that can be performed simultaneously.

l           Set the NQA test group.

l           Set various test parameters.

l           Enable the test.

l           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:

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

l           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 of the NQA

nqa-agent enable

Required

Disabled by default

Configure the maximum number of the test tasks performed simultaneously

nqa-agent max-requests max-number

Optional

5 by default

Set the NQA test group, enter NQA test group view

nqa administrator-name test-tag

Required

By default, the system creates no test group. When a test group is set, the system automatically enter the NQA test group view.

Set the test type

test-type type

At present, ICMP type is the only choice.

By default, the test type is ICMP type.

Set the destination address to be tested

destination-ip ip-address

Required

By default, no destination address is set.

Set the description information of the test group

description text

Optional

By default, there is no description information of the test group.

Set the timeout time for the test operation

timeout time

Optional

Three seconds by default

Set the number of probe packets to be sent

count times

Optional

By default, one probe packet is sent.

Set the life time for NQA ICMP test packet, that is, the maximum number of hops that a test packet can pass in the network

ttl number

Optional

20 by default

Set the ToS value in the NQA test packet header

tos value

Optional

By default, the ToS value in the NQA test packet header is 0, that is , no special service is specified

Set the filler data size of the test packet

datasize size

Optional

56 bytes (including no protocol header) by default

Set the filler data of the test packet

datafill text

Optional

By default, no filler data in the test packet is set.

Set the name of the VPN instance

vpn-instance name

Optional

By default, no name of the VPN instance is set.

Set the source IP address of this test

source-ip ip-address

Optional

By default, no source IP address is configured. The system uses the IP address of the source interface as the source IP address.

Set the source interface

source-interface interface-type interface-number

Optional

By default, no source interface is configured.

Assume the connection mode between the destination address and the equipment enabling the test as direct connection mode

sendpacket passroute

Optional

By default, there is no such assumption.

Set the number of the test results that can be stored in the history record

history-records number

Optional

50 by default

Set the condition (probe) of sending Trap information to the network management system

send-trap { all | { probefailure | testcomplete | testfailure } * }

Optional

By default, no Trap information is sent to the network management system.

Set the times of constant probe failures after which the Trap information is sent to the network management system

probe-failtimes times

Optional

By default, the system sends the Trap information to the network management system after one probe failure.

Set the Trap information filter condition (test)

test-failtimes times

Optional

By default, NQA sends the Tap information to the network management system after one NQA test fails.

Set the automatic test interval

frequency interval

Optional

The default interval time is 0, that is, no automatic test is performed;

Configure the interval>0, then the system performs one automatic test every configured interval time.

Enable the test

test-enable

Required

Ignore this configuration if you choose the frequency interval command to enable the automatic test.

Display the test result

display nqa [ results | history ] [ administrator-name test-tag ]

Available in any view

 

  Caution:

l      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.

l      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.

l      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.

l      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.

l      All of the parameters and test results can be displayed or set by MIB with the network management tool.

 

1.2.3  NQA Configuration Example

I. Network requirements

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

l           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

      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 configuration information

display current-configuration or display this in NQA test group view

Available in any view

Display the test results

display nqa { results | history } [ administrator-name test-tag ]

Available in any view

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网