R2511-HP MSR Router Series Terminal Access Command Reference(V5)
64
<Sysname> system-view
[Sysname] interface loopback 1
[Sysname-LoopBack1] ip address 1.1.1.2 32
[Sysname-LoopBack1] quit
[Sysname] ipta service cunkuan
[Sysname-ipta-service-cunkuan] source ip 1.1.1.2
tcp keepalive
Use tcp keepalive to configure TCP keepalive parameters for connections to the FEP.
Use undo tcp keepalive to restore the default.
Syntax
tcp keepalive time counter
undo tcp keepalive
Default
A TCP keepalive is sent to the FEP three times at an interval of 300 seconds.
Views
IP terminal access service view
Default command level
2: System level
Parameters
time: Specifies the interval for sending TCP keepalives, in the range of 10 to 7200 seconds.
counter: Specifies the number of times TCP keepalives will be sent, in the range of 1 to 100.
Usage guidelines
The router uses TCP keepalives to detect connections to the FEP. The total sending time of TCP keepalives
is calculated using following formula:
Total sending time of TCP keepalives = Interval for sending TCP keepalives × Times for sending TCP
keepalives
The keepalive setting affects only new connections.
Examples
# Configure the router to send a TCP keepalive to the FEP twice at an interval of 1800 seconds.
<Sysname> system-view
[Sysname] ipta service cunkuan
[Sysname-ipta-service-cunkuan] tcp keepalive 1800 2
tcp recvbuf-size
Use tcp recvbuf-size to configure the TCP receive buffer size for each FEP connection.
Use undo tcp recvbuf-size to restore the default.
Syntax
tcp recvbuf-size recvsize










