
121
To do…
Use the command…
Remarks
Enter NQA test group view
nqa
entry
admin-name
operation-tag
—
Configure the test type as
DHCP, and enter test type view
type dhcp
Required
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.
Configure optional parameters
See “
”
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
Follow these steps to configure DNS tests:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter NQA test group view
nqa
entry
admin-name operation-tag
—
Configure the test type as DNS,
and enter test type view
type dns
Required
Specify the IP address of the DNS
server as the destination address
of DNS packets
destination ip
ip-address
Required
By default, no destination IP
address is configured.
Configure the domain name that
needs to be translated
resolve-target
domain-name
Required
By default, no domain name is
configured.
Configure optional parameters
parameters for an NQA test group
”
Optional