126Examples# Set the keepalive interval to 20 seconds for Virtual-PPP 10. system-view[Sysname] interface virtual-ppp 10[Sysname-Virtual-PPP10] timer-hold 20Related commandstimer-hold retrytimer-hold retryUse timer-hold retry to set the keepalive retry limit.Use undo timer-hold retry to restore the default.Syntaxtimer-hold retry retriesundo timer-hold retryDefaultThe keepalive retry limit is 5.ViewsVirtual PPP interface viewPredefined user rolesnetwork-adminParametersretries: Specifies the maximum number of keepalive attempts in the range of 1 to 255.Usage guidelinesA virtual PPP interface sends keepalive packets at keepalive intervals to detect the availability of thepeer. If the interface fails to receive keepalive packets when the keepalive retry limit is reached, itconsiders the link faulty and reports a link layer down event.To set the keepalive interval, use the timer-hold command.On a s low link, increase the keepaliveretry limit to prevent false shutdown of the interface. Thissituation might occur when keepalive packets are delayed because a l arge packet is beingtransmitted on the link.Examples# Set the keepalive retry limit to 10 for Virtual-PPP 10. system-view[Sysname] interface virtual-ppp 10[Sysname-Virtual-PPP10] timer-hold retry 10Related commandstimer-holdtunnel authenticationUse tunnel authentication to enable L2TP tunnel authentication.Use undo tunnel authentication to disable L2TP tunnel authentication.