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
[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 //Set the destination address to
[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 Vlanif 10 track nqa user test

Other related questions:
What is NQA association mechanism of the AR router
NQA association mechanism: Association indicates that NQA provides detection and notifies the associated module of the detection result. Then the associated module processes services based on the detection result. NQA can be associated with VRRP, static route, backup interface, IGMP proxy, IP address pool, DNS server, and PBR. Static route is used as an example: A static route with the next hop address of is configured. If the next hop address of is reachable, the static route is valid. If the next hop address of is unreachable, the static route is invalid. After association is configured, the static route can be determined in real time. If NQA detects that the next hop address of is unreachable, NQA notifies the static route module. The static route module determines that the static route is invalid.

PoE mechanism of an S series switch
PoE mechanism of S series switches: Power over Ethernet (PoE) is a remote power supply function. With this function, a device can provide power to powered devices (PDs) connected to its Ethernet electrical interfaces over twisted pair cables. PoE is reliable and standard and requires simple connections. Note: A PC connected to a PoE-enabled interface will not be affected or burned because the following PoE detection process is performed: 1. Detect PDs. A power sourcing equipment (PSE) periodically transmits a low voltage with limited current through its ports to detect PDs. If the PSE detects a resistance with a specified value, PDs that comply with IEEE 802.3af or IEEE 802.3at are connected to the other ends of cables. 2. Negotiate power supply. A PSE classifies PDs and negotiates the power with PDs. Power supply capabilities can be negotiated by resolving detected resistances or the LLDP protocol. 3. Start to provide power. During the startup period (less than 15 ?s generally), the PSE starts to provide power to PDs from a low voltage and increases the voltage until the voltage reaches 48 V DC. 4. Provide power normally. Finally, the output voltage provided to PDs is stabilized at 48 V DC, and the power consumption of each PD does not exceed 30 W. 5. Stop providing power. The PSE keeps detecting the input current of PDs while supplying power. When detecting that the current of a PD falls below the minimum value or increases sharply, the PSE stops supplying power to the PD and repeats PD detection. This situation occurs when a PD is disconnected from the PSE or encounters a power overload or short circuit, or its power consumption exceeds the power supply capacity of the PSE. For details, see Tell You About PoE.

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

ACL configuration on S series switch
An ACL filters packets based on rules. A switch with an ACL configured matches packets based on the rules to obtain the packets of a certain type, and then decides to forward or discard these packets according to the policies used by the service module to which the ACL is applied. The S series switch supports basic ACL (2000-2999), advanced ACL (3000-3999), Layer 2 ACL (4000-4999), user-defined ACL (5000-5999), USER acl (6000-9999), basic ACL6 (2000-2999), and advanced ACL6 (3000-3999). For more information about the ACL feature supported by S series switches, except S1700, click S1720&S2700&S3700&S5700&S6700&S7700&S9700 Common Operation Guide or S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration Examples.

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