16
Configuration prerequisites
Before you start DHCP tests, configure the DHCP server. If the NQA (DHCP client) and the DHCP server
are not in the same network segment, configure a DHCP relay. For the configuration of DHCP server and
DHCP relay, see Layer 3
—
IP Services Configuration Guide.
Configuring DHCP tests
To configure DHCP tests:
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Enter NQA test group view.
nqa entry admin-name operation-
tag
—
3. Configure the test type as
DHCP and enter test type
view.
type dhcp Required.
4. Specify an interface to
perform DHCP tests.
operation interface interface-type
interface-number
Required.
By default, no interface is
configured to perform DHCP tests.
The specified interface must be
up; otherwise, no probe packets
can be sent out.
5. Configure optional
parameters.
See “Configuring optional
parameters for an NQA test
group”
Optional.
NOTE:
• The interface that performs DHCP tests does not change its IP address. A DHCP test only simulates
address allocation in DHCP.
• When a DHCP test completes, the NQA client sends a DHCP-RELEASE packet to release the obtained
IP address.
Configuring DNS tests
DNS tests of an NQA test group are used to test whether the NQA client can translate a domain name
into an IP address through a DNS server and test the time required for resolution.
Configuration prerequisites
Before you start DNS tests, configure the mapping between a domain name and an IP address on a DNS
server.
Configuring DNS tests
To configure DNS tests:
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Enter NQA test group view.
nqa entry admin-name operation-tag
—
3. Configure the test type as
DNS and enter test type view.
type dns Required.