beautypg.com

Configuring a dhcp test, Configuration prerequisites, Configuring a dns test – H3C Technologies H3C S7500E Series Switches User Manual

Page 28

background image

2-8

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. For the configuration of DHCP

server and DHCP relay, see DHCP Server Configuration and DHCP Relay Agent Configuration in the

Layer 3 - IP Services Configuration Guide.

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

z

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.

z

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.