Dhcp Operation Configuration Example - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

DHCP operation configuration example

Network requirements
As shown in
address from the DHCP server.
Figure 8 Network diagram
NQA client
10.1.1.1/16
Router A
Configuration procedure
# Create a DHCP operation.
<RouterA> system-view
[RouterA] nqa entry admin test1
[RouterA-nqa-admin-test1] type dhcp
# Specify the DHCP server IP address 10.1.1.2 as the destination address.
[RouterA-nqa-admin-test1-dhcp] destination ip 10.1.1.2
# Enable the saving of history records.
[RouterA-nqa-admin-test1-dhcp] history-record enable
[RouterA-nqa-admin-test1-dhcp] quit
# Start the DHCP operation.
[RouterA] nqa schedule admin test1 start-time now lifetime forever
# After the DHCP operation runs for a period of time, stop the operation.
[RouterA] undo nqa schedule admin test1
# Display the most recent result of the DHCP operation.
[RouterA] display nqa result admin test1
NQA entry (admin admin, tag test) test results:
Send operation times: 1
Min/Max/Average round trip time: 512/512/512
Square-Sum of round trip time: 262144
Last succeeded probe time: 2007-11-22 09:54:03.8
Extended results:
Packet loss ratio: 0%
Failures due to timeout: 0
Failures due to internal error: 0
Failures due to other errors: 0
# Display the history records of the DHCP operation.
[RouterA] display nqa history admin test1
NQA entry (admin admin, tag test) history records:
Index
1
The output shows that it took Router A 512 milliseconds to obtain an IP address from the DHCP server.
Figure
8, configure a DHCP operation to test the time required for Router A to obtain an IP
10.1.1.2/16
Response
Status
512
Succeeded
DHCP server
Router B
Receive response times: 1
Time
2007-11-22 09:54:03.8
40

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents