R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
21
timer-hold
Use timer-hold to set the interval for sending keepalive packets.
Use undo timer-hold to restore the default.
Syntax
timer-hold period
undo timer-hold
Default
The interval for sending keepalive packets is 10 seconds.
Views
Interface view
Predefined user roles
network-admin
Parameters
period: Specifies the interval for sending keepalive packets, in the range of 0 to 32767 seconds. The
value 0 disables keepalive packet sending.
Usage guidelines
A slow link takes a long period of time to transmit large packets. The sending and receiving of keepalives
might be delayed so long that one end cannot receive keepalive packets from the peer for 10 keepalive
periods. The end then shuts down the link. To prevent this, set the interval for sending keepalive packets
to a relatively longer length of time for a slow link.
Examples
# Set the interval for sending keepalive packets to 20 seconds on interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] timer-hold 20
MP commands
bandwidth
Use bandwidth to configure the expected bandwidth of an interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
Views
VT interface view, MP-group interface view