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

34
Usage guidelines
If you specify the nodelay keyword, the TCP Nagle algorithm will not be used.
The configured TCP parameters take effect for only new TCP connections.
Examples
# Set the TCP receive buffer size to 512 bytes.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] tcp recvbuf-size 512
# Set the TCP send buffer size to 512 bytes.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] tcp sendbuf-size 512
# Disable TCP delay.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] tcp nodelay
# Set the TCP keepalive interval to 1800 seconds and the keepalive number to 2.
<Sysname> system-view
[Sysname] rta template abc
[Sysname-rta-template-abc] tcp keepalive 1800 2
terminal type
Use terminal type to configure the terminal type.
Use undo terminal type to restore the default.
Syntax
terminal type { vt100 | vt220 }
undo terminal type
Default
The terminal type is VT100.
Views
Terminal template view
Default command level
2: System level
Parameters
vt100: Specifies the terminal type as VT100.
vt220: Specifies the terminal type as VT220.
Examples
# Configure the terminal type of temp1 as VT220.
<Sysname> system-view
[Sysname] rta template temp1