Operation Manual – NQA
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 NQA Configuration
1-6
1.2.2 Configuring the DHCP Test
The DHCP test is mainly used to test the existence of a DHCP server on the network as
well as the time necessary for the DHCP server to respond to a client request and
assign an IP address to the client.
I. Configuration prerequisites
The interface specified by the
source-interface
command must be up.
Before the DHCP test, you need to perform some configurations on the DHCP server.
For example, you need to enable the DHCP service and configure an address pool. If
the NQA (DHCP) client and the DHCP server are not in the same network segment, you
need to configure a DHCP relay. For detailed configurations, refer to the
DHCP
Configuration
part of the manual.
II. Configuration procedure
Follow these steps to configure the DHCP test
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the NQA client
nqa-agent enable
Required
Create an NQA test group
and enter its view
nqa
admin-name
operation-tag
—
Set the test type to DHCP
test-type
dhcp
Required
Specify an interface for a
DHCP test
source-interface
interface-type
interface-number
Required
The interface in the
command must be VLAN
interface. In addition, the
interface must be up.
Otherwise, the test will
fail.
Configure common
optional parameters
Optional Parameters for
NQA Tests
Optional
Enable the NQA test
test-enable
Required
View the test results
display nqa results
[
admin-name
operation-tag
]
Required
Available in any view.
III. Configuration example
1) Network
requirements
Use the NQA DHCP function to test the time necessary for Switch A to obtain an IP
address from the DHCP server Switch B.