37
Default
The terminal service is enabled on all user lines.
Views
User line view, user line class view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
The
undo shell
command is not supported in AUX line view or AUX line class view.
You cannot disable the terminal service on the user line you are using.
When the device operates as a Telnet or SSH server, you cannot configure the
undo shell
command.
If the
undo shell
command is configured in user line class view, you cannot configure the
shell
command in the view of a user line in the class.
Examples
# Disable the terminal service for user line VTY 0 through VTY 4 so no user can log in to the device
through the user lines.
<Sysname> system-view
[Sysname] line vty 0 4
[Sysname-line-vty0-4] undo shell
Disable ui-vty0-4 , are you sure? [Y/N]:y
[Sysname-line-vty0-4]
speed
Use
speed
to set the transmission rate (also called the "baud rate") on a user line.
Use
undo speed
to restore the default.
Syntax
speed
speed-value
undo speed
Default
The transmission rate is 9600 bps on a user line.
Views
User line view
Predefined user roles
network-admin
mdc-admin
Parameters
speed-value
: Transmission rate in bps. The transmission rates available for asynchronous serial
interfaces include: 300 bps, 600 bps, 1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400
bps, 57600 bps, and 115200 bps. The transmission rate varies with devices and configuration
environments.