Hi, friend.
You can use the simulate dhcp start command.
Function
This command is used to start the DHCP emulation service. To emulate a remote DHCP client to test and accept the DHCP service after the initial installation of the device, run this command. In addition, this command can be used in the troubleshooting scenario to check the connectivity between the device and the BRAS.
Format
simulate dhcp start service-port service-portid mac-address [ user-vlan { untag | priority-tag | user-vlanid } ] [ option60 option60 ] [ option61 { string string_clientid | mac-addr mac_clientid } ] [ host-ip1 ipaddr1 | host-ip2 ipaddr2 | host-ip3 ipaddr3 | host-ip4 ipaddr4 | host-ip5 ipaddr5 ]*
Modes
Global config mode
Level
Common user level
Usage Guidelines
The system supports the dialup emulation of up to five users. Before starting the emulation, you must run the service-port command to configure the traffic stream of the corresponding user.
The emulation instance will be automatically deleted 210s after it is started.
If the VMAC function is enabled in the system, it is recommended to use actual MAC address of the emulated user for emulation.
You can run the simulate dhcp stop command to stop the DHCP emulation of this user, and run the display simulation dhcp command to query the result of the DHCP emulation.
The configured traffic stream parameters of the traffic stream must be the same as the actual traffic stream parameters. Otherwise, the emulation cannot be started.
Currently, the QinQ streams, connection-oriented streams, strict SVLAN + CVLAN forwarding streams and IP aware service do not support DHCP emulation.
For more details, please click:
simulate dhcp start
Thanks.