beautypg.com

Configuring a dhcp test, Configuration prerequisites, Configuring a dns test – H3C Technologies H3C SecPath F1000-E User Manual

Page 75

background image

9

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, configure the DHCP server. If the NQA (DHCP client) and the DHCP

server are not in the same network segment, configure a DHCP relay agent. For more information about

DHCP server and DHCP relay, see DHCP Configuration in the Firewall Web Configuration Manual.

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.

Configure common optional
parameters

See

Configuring Optional

Parameters Common to an NQA

Test Group

Optional

NOTE:

Because a DHCP test is a process to simulate address allocation in DHCP, the IP address of the interface
that performs the DHCP test does not change.

When the DHCP test is completed, the NQA client sends a DHCP-RELEASE packet to release the
obtained IP address.

Configuring a DNS Test

A DNS test is mainly used to test whether the NQA client can resolve a domain name into an IP address

through a DNS server and the time required for resolution.

Configuration prerequisites

Before performing a DNS test, configure the mapping between a domain name and an IP address on a

DNS server.

Configuring a DNS test

Follow these steps to configure a DNS test: