13
vty
vty-number
rtc-server remote
i
p-address
terminal-number
After this configuration, the template cannot be configured with any RTC client VTYs.
The
terminal-number
argument of the
vty rtc-server remote
command configured
on the RTC server must be the same as the
terminal-number
argument of the
rta
terminal
command configured on the RTC client. Otherwise, no TCP connection can be
established.
Each VTY of the RTC server must correspond to a different RTC client.
4.
(Optional.) Configure the timer for the TCP RTC server VTY.
Configure the automatic link teardown time.
auto-close
time
By default, the automatic link teardown time is 0 seconds, which indicates that no automatic
link teardown is performed.
Configure the TCP connection idle timeout time.
idle-timeout seconds
By default, the TCP connection idle timeout time is 0 seconds, which indicates that the
connection never times out.
5.
(Optional.) Bind a VPN instance to the template.
bind vpn-instance vpn-instance-name
By default, the template is not bound with any VPN instance.
6.
(Optional.) Configuring the terminal buffer.
Configure the router to not clear the terminal buffer after a TCP connection is established.
driverbuf
save
By default, the router clears the terminal receive buffer after a TCP connection is
established.
Configure the terminal receive buffer size.
driverbuf
size
size
By default, the terminal receive buffer size is 8 KB.
Configure the maximum size of data sent to a terminal at one time.
sendbuf bufsize
size
By default, the maximum size of data sent to a terminal at one time is 500 bytes.
Configure the terminal send buffer threshold.
sendbuf threshold value
By default, no terminal send buffer threshold is configured.
7.
(Optional.) Configure TCP parameters.
tcp
{
recvbuf-size
recvsize
|
sendbuf-size
sendsize
|
nodelay
|
keepalive
time count
}
By default:
The receive buffer size is 2048 bytes.
The send buffer size is 2048 bytes.
Delay is enabled.
The keepalive interval is 50 seconds.
The keepalive number is 3.
This command takes effect only after a TCP connection is re-established.
8.
(Optional.) Configure the password for VTY authentication.
vty
vty-number
password
{
simple
|
cipher
}
string