R2511-HP MSR Router Series Terminal Access Command Reference(V5)
57
Parameters
ttyid: Specifies a terminal number, in the range of 0 to 255.
all: Specifies all terminals.
Examples
# Create Terminal 1.
<Sysname> system-view
[Sysname] ipta terminal 1
[Sysname-ipta-terminal-1]
ipta terminal-tcp keepalive
Use ipta terminal-tcp keepalive to configure TCP keepalive parameters for connections from a router to
terminals.
Use undo ipta terminal-tcp keepalive to restore the default.
Syntax
ipta terminal-tcp keepalive time counter
undo ipta terminal-tcp keepalive
Default
A TCP keepalive is sent three times at an interval of 300 seconds.
Views
System 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 terminals. The total sending time of TCP
keepalives is calculated by the following formula:
Total sending time of TCP keepalives = Interval for sending TCP keepalives × Times for sending TCP
keepalives
The keepalive parameters affect only new connections.
Examples
# Configure the router to send TCP keepalives to terminals twice at an interval of 1800 seconds.
<Sysname> system-view
[Sysname] ipta terminal-tcp keepalive 1800 2
ipta terminal-tcp recvbuf-size
Use ipta terminal-tcp recvbuf-size to configure the TCP receive buffer size for each terminal connection.
Use undo ipta terminal-tcp recvbuf-size to restore the default.










