Configure NQA on S series switches

2

Network quality analysis (NQA) monitors network quality of services, and locates and diagnoses network faults by constructing various test instances and sending different types of probe packets. The following is an example of configuring ICMP on an S series switch (except the S1700).
1. Configure a test instance.
[HUAWEI] nqa test-instance admin icmp
[HUAWEI-nqa-admin-icmp] test-type icmp
[HUAWEI-nqa-admin-icmp] destination-address ipv4 10.1.1.2
2. Start the measurement.
[HUAWEI-nqa-admin-icmp] start now
3. Check the diagnosis result.
[HUAWEI-nqa-admin-icmp] display nqa results test-instance admin icmp //The command output is not provided here.

Other related questions:
Configure NQA on S series switches
Network quality analysis (NQA) monitors network quality of services, and locates and diagnoses network faults by constructing various test instances and sending different types of probe packets. The following is an example of configuring ICMP on an S series switch (except the S1700). 1. Configure a test instance. [HUAWEI] nqa test-instance admin icmp [HUAWEI-nqa-admin-icmp] test-type icmp [HUAWEI-nqa-admin-icmp] destination-address ipv4 10.1.1.2 2. Start the measurement. [HUAWEI-nqa-admin-icmp] start now 3. Check the diagnosis result. [HUAWEI-nqa-admin-icmp] display nqa results test-instance admin icmp //The command output is not provided here.

NQA association mechanism of S series switches
NQA of S series switches (except S1700 switches) in V200R001C00SPC300 and later versions can be associated with static routes and VRRP. The following is an example of associating NQA with a static route. Network connectivity and routes between devices have been configured. 1. Configure an NQA test instance. # On Switch A, configure an NQA test instance, and set the NQA test type to icmp, and the destination IP address to 172.16.1.2/24. [HUAWEI] nqa test-instance user test //Configure the administrator of the NQA test instance as user and the test instance name as test. [HUAWEI-nqa-user-test] test-type icmp //Set the NQA test type to icmp. [HUAWEI-nqa-user-test] destination-address ipv4 192.168.1.2 //Set the destination address to 192.168.1.2. [HUAWEI-nqa-user-test] frequency 10 //Set the interval at which the NQA test instance automatically runs to 10, in seconds. [HUAWEI-nqa-user-test] probe-count 2 //Set the number of probes to be sent each time to 2. [HUAWEI-nqa-user-test] interval seconds 5 //Set the interval at which probe packets are sent to 5, in seconds. [HUAWEI-nqa-user-test] timeout 4 //Set the timeout period of a probe to 4, in seconds. [HUAWEI-nqa-user-test] start now end delay seconds 10000 //Start the test instance and configure the test instance to end after 10,000 seconds. [HUAWEI-nqa-user-test] quit 2. Associate a static route with the NQA test instance. [HUAWEI] ip route-static 192.168.7.0 255.255.255.0 Vlanif 10 192.168.1.2 track nqa user test

Whether S series switches support NQA
To support NQA, the version of the S9300 must be V100R002 or later, the version of the S7700 must be V100R003 or later, the version of the S9700 must be V200R001 or later, and the version of the S12700 must be V200R005 or later. The NQA function is controlled by a license. On a new device without the corresponding licenses loaded, NQA commands can be executed, but the function does not take effect. All S series fixed switches (except S1700 switches) support the NQA function. NQA test instances supported by different switch models vary and can be used without a license.

SNMP configuration on S series switch
S series switches (except S1700 switches) support three SNMP versions: SNMPv1, SNMPv2c, and SNMPv3. SNMPv1 and SNMPv2c use community names for authentication, resulting in low security, whereas SNMPv3 uses authentication and encryption technologies to enhance security. The following uses SNMPv2c configuration as an example: [HUAWEI] snmp-agent //Enable SNMP. [HUAWEI] snmp-agent sys-info version v2c //Set the SNMP version to SNMPv2c. [HUAWEI] snmp-agent community write adminnms01 //Set the SNMP write community name. For common SNMP configuration information, see "Common SNMP Operations" in S1720&S2700&S3700&S5700&S6700&S7700&S9700 Series Switches Common Operation Guide. For typical SNMP configuration examples, see "Typical SNMP Configuration" in "Typical Network Management and Monitoring Configuration" of S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration Examples. Common configuration and typical configuration examples for S9300 and S12700 series switches are the same as those for Sx700 series switches. The Sx700 series switches are used as an example here.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top