R2511-HP MSR Router Series Terminal Access Command Reference(V5)

23
undo rta relay listen-port port-number
Default
No TCP listening port is configured.
Views
System view
Default command level
2: System level
Parameters
port-number: Specifies a TCP listening port, in the range of 1024 to 50000.
Usage guidelines
A forwarding group can receive connections from up to ten clients.
Deleting a listening port will disconnect all the clients on this port.
The system supports up to 64 TCP listening ports. A forwarding group contains the connections
established through the same port and allows data from a terminal to be forwarded within the group.
Examples
# Set TCP listening ports to 1026 and 1027.
<Sysname> system-view
[Sysname] rta relay listen-port 1026
[Sysname] rta relay listen-port 1027
rta relay tcp keepalive
Use rta relay tcp keepalive to configure the TCP keepalive attributes on a relay server.
Use undo rta relay tcp keepalive to restore the default.
Syntax
rta relay tcp keepalive time count
undo rta relay tcp keepalive
Default
A relay server sends a TCP keepalive packet every 50 seconds for three times.
Views
System view
Default command level
2: System level
Parameters
time: Sets the interval for sending keepalives, in the range of 10 to 7200 seconds.
count: Sets the keepalive number, in the range of 1 to 100.
Usage guidelines
This configuration uses the TCP keepalive feature to detect the reachability of a client. If no keepalive is
received from a client before the timeout time expires, the server disconnects the client.