[Contents] [Prev] [Next] [Index] [Report an Error]

# line

#### Syntax

line { console lineNumber | vty lineRangeStart [ lineRangeEnd ] }

no line vty lineNumber

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Opens virtual terminal lines or the console line and allows you to configure the lines. By default five vty lines (0–4) are open. The no version removes a vty line or a range of lines from your configuration; users will not be able to run Telnet, SSH, or FTP to lines that you remove. When you remove a vty line, the router removes all lines above that line. For example, no line vty 6 causes the router to remove lines 6 through 29. You cannot remove lines 0 through 4.

| Note: Once lines are open, login is enabled by default. Before users can access the lines, you must configure a password, disable login using the no login command, or configure AAA authentication on the line.

#### Options

- console—Specifies the console line
- vty—Specifies vty lines
- lineNumber—Number of a single line; 0 for the console line
- lineRangeStart—Start of the vty line range; a number from 0–29
- lineRangeEnd—End of the vty line range; a number from 0–29

#### Mode

Global Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]