Maintaining NQA
Maintaining NQA involves stopping or restarting NQA test instances, deleting statistics, and deleting test records.
- Checking Test Types and Server Types Supported by the NE20E
The display command can be used to display test types and server types supported by the NE20E. - Stopping a Test Instance
This section describes how to stop a test instance when its test parameters need to be changed. - Restarting an NQA Test Instance
This section describes how to restart (namely, to stop and then immediately start) an NQA test instance. - Checking 802.1ag Packet Statistics
When the test initiated using the ping mac-8021ag or trace mac-8021ag command fails, run the display cfm statistics lblt command to check statistics about the 802.1ag packets sent, received, forwarded, and replied by the local device. The command output helps determine whether the test failure is caused by a device or link fault. - Deleting Statistics
This section describes how to delete test statistics before the next test is conducted. - Deleting Test Records
This section describes how to delete test records before the next test is conducted.
Checking Test Types and Server Types Supported by the NE20E
The display command can be used to display test types and server types supported by the NE20E.
Procedure
- Run the display nqa support-test-type command to check the supported test types.
<HUAWEI> display nqa support-test-type NQA support test type information: ---------------------------------------------------- Type Description tcp TCP type NQA test udp UDP type NQA test jitter JITTER type NQA test icmp ICMP type NQA test snmp SNMP type NQA test trace TRACE type NQA test lspping LSPPING type NQA test lsptrace LSPTRACE type NQA test dns DNS type NQA test pwe3ping PWE3PING type NQA test pwe3trace PWE3TRACE type NQA test macping MACPING type NQA test lspjitter LSPJITTER type NQA test pathmtu PATHMTU type NQA test icmpjitter ICMPJITTER type NQA test pathjitter PATHJITTER type NQA test vplsping VPLSPING type NQA test vplspwping VPLSPWPING type NQA test vplspwtrace VPLSPWTRACE type NQA test generalflow GENERALFLOW type NQA test ethernet-service ETHERNET-SERVICE type NQA test ----------------------------------------------------
- Run the display nqa support-server-type command to check the supported server types.
<HUAWEI> display nqa support-server-type NQA support server type information: ---------------------------------------------------- Type Description tcp server NQA TCP server udp server NQA UDP server icmp server NQA ICMP server ----------------------------------------------------
Stopping a Test Instance
This section describes how to stop a test instance when its test parameters need to be changed.
Restarting an NQA Test Instance
This section describes how to restart (namely, to stop and then immediately start) an NQA test instance.
Checking 802.1ag Packet Statistics
When the test initiated using the ping mac-8021ag or trace mac-8021ag command fails, run the display cfm statistics lblt command to check statistics about the 802.1ag packets sent, received, forwarded, and replied by the local device. The command output helps determine whether the test failure is caused by a device or link fault.
Deleting Statistics
Deleting Test Records
This section describes how to delete test records before the next test is conducted.
Prerequisites
Before running the clear-records command, run the stop and commit commands to stop the NQA test instance first.
Context
Test records cannot be restored after being deleted. Exercise caution when running the clear-records command.
Procedure
- Run system-view
The system view is displayed.
- Run nqa test-instance admin-name test-name
An NQA test instance is created, and the view of the test instance is displayed.
- Run clear-records
Historical records and result records of the NQA test instance are deleted.
- Run commit
The configuration is committed.