For detailed output description, see the corresponding command manual.
DHCP Test
Network requirements
Both the HWPing client and the DHCP server are H3C S5100-SI/EI series Ethernet switches. Perform a
HWPing DHCP test between the two switches to test the time required for the HWPing client to obtain
an IP address from the DHCP server.
Network diagram
Figure 1-3 Network diagram for the DHCP test
Configuration procedure
Configure DHCP Server(Switch B):
Configure DHCP server on Switch B. For specific configuration of DHCP server, refer to the DHCP part
of the manual.
Configure HWPing Client (Switch A):
# Enable the HWPing client.
<Sysname> system-view
[Sysname] hwping-agent enable
# Create a HWPing test group, setting the administrator name to administrator and test tag to DHCP.
[Sysname] Hwping administrator dhcp
# Configure the test type as dhcp.
[Sysname-hwping-administrator-dhcp] test-type dhcp
# Configure the source interface, which must be a VLAN interface. Make sure the DHCP server resides
on the network connected to this interface.
[Sysname-hwping-administrator-dhcp] source-interface Vlan-interface 1
# Configure to make 10 probes per test.
[Sysname-hwping-administrator-dhcp] count 10
# Set the probe timeout time to 5 seconds.
[Sysname-hwping-administrator-dhcp] timeout 5
# Start the test.
[Sysname-hwping-administrator-dhcp] test-enable
# Display test results
[Sysname-hwping-administrator-dhcp] display hwping results administrator dhcp
HWPing entry(admin administrator, tag dhcp) test result:
Send operation times: 10
Receive response times: 10
1-17