Options
Whats the point of the 'login' command
jrmeulemans
Member Posts: 74 ■■□□□□□□□□
in CCNA & CCENT
Hello. Can someone explain the point of using the "login" command in the below examples. I don't understand why it is needed; but it is used for setting a password in Wendell's book.
enable
config t
line console 0
password hello
exit
**password for console has been set to 'hello'**
enable
config t
line console 0
login
password hello
exit
**password for console has been set to 'hello'**
enable
config t
line console 0
password hello
login
exit
**password for console has been set to 'hello'**
enable
config t
line console 0
password hello
exit
**password for console has been set to 'hello'**
enable
config t
line console 0
login
password hello
exit
**password for console has been set to 'hello'**
enable
config t
line console 0
password hello
login
exit
**password for console has been set to 'hello'**
Comments
-
Optionsblackninja Member Posts: 385It is used to select the method of login.
if you have: no login then you couldn't log into the deice.
If you used login local, it would use the local user database to authenitcate users
Or login authentication for AAA
Hope this helpsCurrently studying:
CCIE R&S - using INE workbooks & videos
Currently reading:
Everything. Twice -
Optionshexem Member Posts: 177login local uses usernames/passwords.
blackninja, 'no login' allows you to login without a password.ICND1 - Passed 25/01/10
ICND2 - Passed 9/03/10
Studying CCNA:S -
Optionszobo88 Member Posts: 60 ■■□□□□□□□□blackninja wrote: »It is used to select the method of login.
if you have: no login then you couldn't log into the deice.
If you used login local, it would use the local user database to authenitcate users
Or login authentication for AAA
Hope this helps
and what method does it mean when we issue 'login' without any further options ? -
Optionsblackninja Member Posts: 385and what method does it mean when we issue 'login' without any further options ?
Just Login, enables login and just requires you to enter the password specified on the password <password> commandCurrently studying:
CCIE R&S - using INE workbooks & videos
Currently reading:
Everything. Twice