connectivity between the MA5612 and the DHCP server and verifies the DHCP configurations
on a DHCP relay, DHCP proxy, and DHCP server.
Context
l
DHCP user configuration is correct.
l
An MA5612 initiates DHCP dialup emulation. A PC, set top box (STB), or voice over IP
(VoIP) terminal initiates common DHCP dialup.
l
An MA5612 supports a maximum of five DHCP dialup emulation tests at a time.
Procedure
Step 1
Run the
simulate dhcp start
command to start a DHCP dialup emulation test.
Before running this command, run the
service-port
command to configure a service port for the
user. Ensure that the service port parameters are the same as those of the actual service.
Otherwise, the emulation fails to start.
Step 2
Run the
display simulation dhcp
command to query the status of the DHCP dialup emulation.
Only the status of an ongoing DHCP dialup emulation test can be queried. When a DHCP dialup
emulation test is stopped or times out, the resources used by the DHCP dialup emulation are
released and the emulation status cannot be queried. The default emulation timeout period is
210s.
Step 3
Run the
simulate dhcp stop
command to stop the DHCP dialup emulation test.
----End
Result
The result of the DHCP dialup emulation test is as follows:
Run the
display simulation dhcp
command to query the status of the DHCP dialup emulation.
huawei(config)#
display simulation dhcp
{ <cr>|service-port<K> }:
service-port
{ service-portid<U><0-511> }:
0
{ mac-address<P><XXXX-XXXX-XXXX> }:
0000-1111-2222
Command:
display simulation dhcp service-port 0 0000-1111-2222
Total : 1
-----------------------------------------------------------------------------
-------------------------------- common info --------------------------------
FlowID : 0
User MAC : 0000-1111-2222
User VLAN : 10
Optin60 : HW
Option61 type : 1
Option61 client : 0000-1111-2222
Simulate status : finished //
*Emulation status
Simulate result : partial ping succeed //
*Emulation result
Simulate start time : 2011-06-17 16:51:59+08:00
User IP : 192.168.3.100/24
DHCP server IP : 192.168.3.8
Primary DNS server IP : -
Secondary DNS server IP : -
Relay gateway : 0.0.0.0
Default gateway : 192.168.3.201
-------------------------------- route info ---------------------------------
SmartAX MA5612 Multi-service Access Module
Maintenance Guide
8 Common Operation
Issue 01 (2012-07-25)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
260