Usage Scenario
A dual-stack PPP, IPoE, L2TP, or static user may be assigned two IP addresses. By default, a device sends an accounting-start packet immediately after a dual-stack user obtains the first IP address. The device then sends a real-time accounting packet after the dual-stack user obtains the other IP address. If you do not want the device to send accounting packets repeatedly, run the accounting-start-delay command to delay the sending of accounting-start packets, allowing the device to send only one accounting-start packet after both IP addresses are assigned to a user.
After the command is run, traffic is blocked when only one stack's address is obtained. After all dual-stack addresses are obtained, the traffic is unblocked, and accounting-start packets carrying dual-stack addresses are sent.
If the user-type parameter is not specified, the accounting-start-delay <delay-time> offline command takes effect only for PPPoE and PPPoLNS users. If a user does not obtain both IP addresses before the specified delay expires, the user is forcibly logged out.
If the user-type parameter is specified, the device takes an action based on the offline or online configuration for the specified type of user who does not obtain both IP addresses before the specified delay expires. If offline is specified, the device forcibly logs out the user after the specified delay expires. If online is specified, the user stays online and the device sends an accounting-start packet after the specified delay expires.
Precautions
In VS mode, this command is supported only by the admin VS.