14
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, and the authentication passwords
must be identical for the authentication to succeed.
9.
(Optional.) 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.
For more information about the
flow-control
command, see
Fundamentals Command
Reference
.
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.
For an asynchronous serial interface, specify the operating mode as flow:
async mode flow
By default, an asynchronous serial interface operates in the protocol mode.
For more information about the
async-mode
command, see
Interface Command
Reference
.
For a synchronous serial interface, specify the protocol type as STLP:
link-protocol stlp
By default, a synchronous serial interface operates in the PPP protocol mode.