DHCP tests check whether DHCP servers can respond to DHCP requests from clients and compute the time spent on allocating IP addresses to the clients.
nqa test-instance admin-name test-name
test-type dhcp
source-interface interface-type interface-number
| Item | Command | Description |
|---|---|---|
| Configuring description of a test instance | description description-information | - |
| Setting the number of probes for a single test (a probe refers to the application of one IP address using DHCP) | probe-count number | By default, one test initiates three probes. |
| Setting the test interval | frequency interval | By default, no test interval is set, and the test runs only once. |
| Setting the probe failure percentage | fail-percent percent | The default probe failure percentage is 100%. That is, the test is considered failed only when all probes fail. |
| Setting the timeout for a single probe | timeout time | By default, a DHCP probe times out in 3s. |
| Setting the maximum number of historical records | records history number | By default, there are a maximum of 50 historical records. |
| Setting the maximum number of test result records | records result number | By default, a maximum of 5 test results can be recorded. |
| Setting the aging time of a test instance | agetime hh:mm:ss | The default value is 0. That is, test instances are never aged. |
Select one of the following start modes as required.
Start the NQA test immediately.
start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Start the NQA test at a specified time point.
start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Start the NQA test after the delay of a specified period.
start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ]
Run the display nqa results command to view the test results.
<FW> display nqa results
NQA entry(admin, dhcp) :testflag is inactive ,testtype is dhcp
1 . Test 1 result The test is finished
Send operation times: 3 Receive response times: 3
Completion:success RTD OverThresholds number: 0
Attempts number:1 Drop operation number:0
Disconnect operation number:0 Operation timeout number:0
System busy operation number:0 Connection fail number:0
Operation sequence errors number:0 RTT Status errors number:0
Destination ip address:192.168.0.1
Min/Max/Average Completion Time: 996/999/997
Sum/Square-Sum Completion Time: 2992/2984026
Last Good Probe Time: 2016-01-20 18:21:42.5
Lost packet ratio: 0 %
Item |
Description |
|---|---|
Send operation times |
Number of sent test packets |
Receive response times |
Number of received response packets |
Completion |
Test completion state:
|
RTD OverThresholds number |
Number of times the RTD exceeds the specified threshold |
Attempts number |
Number of tests |
Drop operation number |
Number of test packet sending failures |
Disconnect operation number |
Number of times the peer tears down the connection |
Operation timeout number |
Number of expiration times in the test |
System busy operation number |
Number of initialization or resource application failures |
Connection fail number |
Number of connection establishment failures |
Operation sequence errors number |
Number of received out-of-order packets |
RTT Stats errors number |
Number of RTT measurement failures |
Destination ip address |
IP address allocated by the DHCP server to the NQA client |
Min/Max/Average Completion Time |
Minimum, maximum, and average test completion periods |
Sum/Square-Sum Completion Time |
Sum and quadratic sum of completion periods |
Last Good Probe Time |
Time the last probe was complete |
Lost packet ratio |
Packet loss ratio |