beautypg.com

Dns test, Network requirements, Network diagram – H3C Technologies H3C S3100 Series Switches User Manual

Page 901: Configuration procedure

background image

1-33

7 10 1 0 2000-04-02 08:29:45.3

8 10 1 0 2000-04-02 08:29:45.3

9 10 1 0 2000-04-02 08:29:45.3

10 11 1 0 2000-04-02 08:29:45.3

For detailed output description, see the corresponding command manual.

DNS Test

Network requirements

An H3C S3100 series Ethernet switch serves as the HWPing client, and a PC serves as the DNS server.

Perform an HWPing DNS test between the switch and the DNS server to test the time required from the

client sends a DNS request to it receives a resolution result from the DNS server.

Network diagram

Figure 1-10 Network diagram for the DNS test

Configuration procedure

z

Configure DNS Server:

Use Windows 2003 Server as the DNS server. For DNS server configuration, refer to the related

instruction on Windows 2003 Server configuration.

z

Configure HWPing Client (Switch A)

# Enable the HWPing client.

system-view

[Sysname] hwping-agent enable

# Create an HWPing test group, setting the administrator name to administrator and test tag to dns.

[Sysname] hwping administrator dns

# Configure the test type as dns.

[Sysname-hwping-administrator-dns] test-type dns

# Configure the IP address of the DNS server as 10.2.2.2.

[Sysname-hwping-administrator-dns] dns-server 10.2.2.2

# Configure to resolve the domain name www.test.com.

[Sysname-hwping-administrator-dns] dns resolve-target www.test.com

# Configure to make 10 probes per test.

[Sysname-hwping-administrator-dns] count 10

# Set the probe timeout time to 5 seconds.

[Sysname-hwping-administrator-dns] timeout 5

# Enable the saving of history records and set the maximum number of history records that can be

saved to 10.

[Sysname-hwping-administrator-dns] history-record enable

[Sysname-hwping-administrator-dns] history-records 10

# Start the test.

[Sysname-hwping-administrator-dns] test-enable

# Display test results.