Name
line — global
Synopsis
line [line-type
]line-number
[end-line-number
]
Description
This command enters the line configuration mode. Valid
line-types
are aux
,
console
, tty
, or
vty
. If no line-type
is
given, the line-number
is treated as an
absolute line number. (See the results of a show
line
to see absolute line numbers.)
The line-number
is the number of the first
line you want to configure. The
end-line-number
is the last line you want
to configure. If you want to configure only a single line, omit
end-line-number
.
Example
The following commands set the password on lines 0 through 4, inclusive, and then set the connection speed on line 5.
! change the password on vty 0 4 to vtyin line vty 0 4 password vtyin ! Change the speed on tty 5 line tty 5 speed 38400
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.