Name
password — line
Synopsis
passwordvalue
no passwordvalue
Configures
A login password for the line
Default
No password
Description
This command allows you to assign a password to any available line.
Most lines must also be configured with the login
command.
Example
The following example sets the login password to cisco for the console and the five VTY lines.
! First the console line con 0 password cisco login ! And the five virtual terminals (for incoming telnets) line vty 0 5 password cisco login
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.