R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - WAN Command Reference Guide

48
Related commands
ip address ppp-negotiate
ppp ipcp remote-address forced
timer hold
Use timer hold to set the interval for sending keepalive packets.
Use undo timer hold to restore the default.
Syntax
timer hold seconds
undo timer hold
Default
The interval for sending keepalive packets is 10 seconds.
Views
Interface view
Default command level
2: System level
Parameters
seconds: Interval (in seconds) for sending keepalive packets, in the range 0 to 32767. A value of 0
disables keepalive packet sending.
Usage guidelines
Because a slow link takes a long period of time to transmit large packets, the sending and receiving of
keepalives may be delayed so long that one end cannot receive keepalive packets from the peer for a
specific number of keepalive periods and shuts down the link. To prevent this, set the interval for sending
keepalive packets to a relatively longer length of time.
When an interface is enabled with PPP, the interval for sending keepalive packets must be the same on
the two ends of the link.
Examples
# Set the interval for sending keepalive packets to 20 seconds on interface Serial 2/0/1.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] timer hold 20
MP configuration commands
bandwidth
Use bandwidth to set the intended bandwidth for an interface.
Use undo bandwidth to restore the default.