11
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.
9.
(Optional.) Configure the password for VTY authentication.
vty
vty-number
password
{
simple
|
cipher
}
string
By default, no password for VTY authentication is configured.
To implement terminal access authentication, you must configure terminal access
authentication on both the RTC server and the RTC client. The authentication passwords must
be identical for the authentication to succeed.
10.
Update the configuration.
update changed-config
If you modify a terminal template that has been applied to an interface, use this command to
apply the most recent configuration. Executing this command will disconnect connections and
re-establish connections. Make sure critical services are not affected.
Configuring a TTY user line
1.
Enter system view.
system-view
2.
Enter TTY user line view.
line
{
first-num1
[
last-num1
]
|
tty
first-num2
[
last-num2
]
}
For more information about the
line
command, see
Fundamentals Command Reference
.
3.
Disable terminal service for the user line.
undo shell
By default, the terminal service is enabled on all user lines.
Disable the terminal service for the current user line before applying the terminal template to an
interface.
For more information about the
shell
command, see
Fundamentals Command Reference
.
4.
Enable software flow control of data for the user line.
flow-control software
By default, the hardware flow control mode is used.
Applying the terminal template to an interface
1.
Enter system view.
system-view
2.
Enter interface view.
interface interface-type interface-number
The interface type must be supported by RTC terminal access. Synchronous and
asynchronous interfaces are supported.
3.
Configure the operating mode or protocol type for the interface.
Specify the operating mode as flow for an asynchronous serial interface.
async mode flow
By default, an asynchronous serial interface operates in the protocol mode.