beautypg.com

Dhcp test configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 49

background image

2-29

Packet(s) arrived late: 0

# Display the history of ICMP echo tests.

[DeviceA] display nqa history admin test

NQA entry (admin admin, tag test) history record(s):

Index Response Status Time

370 3 Succeeded 2007-08-23 15:00:01.2

369 3 Succeeded 2007-08-23 15:00:01.2

368 3 Succeeded 2007-08-23 15:00:01.2

367 5 Succeeded 2007-08-23 15:00:01.2

366 3 Succeeded 2007-08-23 15:00:01.2

365 3 Succeeded 2007-08-23 15:00:01.2

364 3 Succeeded 2007-08-23 15:00:01.1

363 2 Succeeded 2007-08-23 15:00:01.1

362 3 Succeeded 2007-08-23 15:00:01.1

361 2 Succeeded 2007-08-23 15:00:01.1

DHCP Test Configuration Example

Network requirements

Use the NQA DHCP function to test the time necessary for Switch A to obtain an IP address from the

DHCP server Switch B.

Figure 2-4 Network diagram for DHCP test

Configuration procedure

# Create a DHCP test group and configure related test parameters.

system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type dhcp

[SwitchA-nqa-admin-test-dhcp] operation interface vlan-interface 2

# Enable the saving of history records.

[SwitchA-nqa-admin-test-dhcp] history-record enable

[SwitchA-nqa-admin-test-dhcp] quit

# Enable DHCP test.

[SwitchA] nqa schedule admin test start-time now lifetime forever

# Disable DHCP test after the test begins for a period of time.

[SwitchA] undo nqa schedule admin test

# Display the result of the last DHCP test.

[SwitchA] display nqa result admin test

NQA entry(admin admin, tag test) test results:

Send operation times: 1 Receive response times: 1

Min/Max/Average round trip time: 624/624/624

Square-Sum of round trip time: 389376

Last succeeded probe time: 2007-11-22 09:56:03.2