22-7
To do…
Use the command…
Remarks
Configure the source IP
address of a probe request
source ip ip-address
Optional
By default, no source IP address is
specified.
If no source IP address is specified,
but the source interface is specified,
the IP address of the source interface
is taken as the source IP address of
ICMP probe requests.
The source IP address must be that of
an interface on the device and the
interface must be up. Otherwise, the
probe will fail.
Configure the next hop IP
address for an ICMP echo
request
next-hop ip-address
Optional
By default, no next hop IP address is
configured.
Configure common optional
parameters
See
Configuring
Optional Parameters
Common to an NQA
Test Group
Optional
Configuring a DHCP Test
A 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.
Configuration prerequisites
Before performing a DHCP test, you need to configure the DHCP server. If the NQA (DHCP client) and
the DHCP server are not in the same network segment, you need to configure a DHCP relay. For the
configuration of DHCP server and DHCP relay, see
DHCP Configuration
in the
IP Services Volume
.
Configuring a DHCP test
Follow these steps to configure a DHCP test:
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
DHCP and enter test type view
type dhcp
Required
Specify an interface for a
DHCP test
operation interface
interface-type interface-number
Required
By default, no interface is
specified to perform a DHCP
test.
The interface specified by the
source interface
command
must be up; otherwise, the test
fails.