1-24
DHCP Test
Network requirements
Both the remote-ping client and the DHCP server are switches. Perform a remote-ping DHCP test
between the two switches to test the time required for the remote-ping client to obtain an IP address
from the DHCP server.
Network diagram
Figure 1-3
Network diagram for the DHCP test
Configuration procedure
z
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.
z
Configure remote-ping Client (Switch A):
# Enable the remote-ping client.
<Sysname> system-view
[Sysname] remote-ping-agent enable
# Create a remote-ping test group, setting the administrator name to
administrator
and test tag to
DHCP
.
[Sysname] remote-ping administrator dhcp
# Configure the test type as
dhcp
.
[Sysname-remote-ping-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-remote-ping-administrator-dhcp] source-interface Vlan-interface 1
# Configure to make 10 probes per test.
[Sysname-remote-ping-administrator-dhcp] count 10
# Set the probe timeout time to 5 seconds.
[Sysname-remote-ping-administrator-dhcp] timeout 5
# Start the test.
[Sysname-remote-ping-administrator-dhcp] test-enable
# Display test results
[Sysname-remote-ping-administrator-dhcp] display remote-ping results administrator dhcp
remote-ping entry(admin administrator, tag dhcp) test result:
Send operation times: 10 Receive response times: 10
Min/Max/Average Round Trip Time: 1018/1037/1023