beautypg.com

Line vty – Allied Telesis AT-S100 User Manual

Page 136

background image

Chapter 4: Configuration Terminal Mode Commands

136

Section I: Command Modes

LINE VTY

Syntax

line vty FIRST <0-871> LAST <0-871>

no line vty FIRST <0-871> LAST <0-871>

Parameters

FIRST

Specifies the first line number. Enter a value between 0

and 871.

LAST

Specifies the last line number. Enter a value between 0
and 871.

Description

Use the LINE VTY command to Telnet from the serial port to the RTM or
to any protocol daemon. This command is necessary for all Telnet
sessions. Before starting the daemon, add the value of the LINE VTY
command to the daemon’s configuration file. By default, there are 4 active
sessions for Telnet and the web interfaces.

After you enter the LINE VTY command, the prompt changes to indicate
the software has entered the Line mode. For more information about this
mode, see “Line Mode Commands” on page 20.

To disable active sessions, use the no form of this command.

To display the current number of sessions, use the SHOW RUNNING-
CONFIG command.

Command Mode

Configuration Terminal mode

Examples

The following commands shows the use of the LINE VTY command to
enter the Line mode:

switch#configure terminal

switch(config)#line vty 0 15

switch(config-line)#