6.3.2 Configuring DHCP Test Parameters
This part describes how to set DHCP test parameters.
Context
NOTE
The AR150/200 supports a router to function as a DHCP server. For detailed configurations, refer to the
chapter "DHCP Configuration" in the Huawei AR150&200 Series Enterprise Routers
Configuration
Guide
-
IP
Services
.
Do as follows on the NQA client:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
nqa
test-instance
admin-name
test-name
An NQA test instance is created and the test instance view is displayed.
Step 3
Run:
test-type
dhcp
The test type is set to DHCP.
Step 4
Run:
source-interface
interface-type
interface-number
The source interface that sends the DHCP Request packet is configured.
The specified source interface can be an Ethernet interface connected with the DHCP server.
Step 5
(Optional) Run the following commands to configure other parameters for the DHCP test. For
detailed parameter configurations, see the chapter
Configuring Universal NQA Test
l
To set the timeout period of the NQA test, run the
timeout
time
command.
NOTE
For the DHCP test, the time taken to wait for the response to the probe packet may reach 10 seconds. By
default, the timeout period is 15 seconds. You are recommended to set the timeout period longer than 10
seconds.
l
To set the percentage of the failed NQA test, run the
fail-percent
percent
command.
Step 6
Run:
start
The NQA test is started.
Select the start mode as required because the
start
command has several forms.
l
To perform the NQA test immediately, run the
start
now
[
end
{
at
[
yyyy
/
mm
/
dd
]
hh
:
mm
:
ss
|
delay
{
seconds
second
|
hh
:
mm
:
ss
} |
lifetime
{
seconds
second
|
hh
:
mm
:
ss
} } ]
command.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
6 NQA Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
146