Options

Whats the point of the 'login' command

jrmeulemansjrmeulemans Member Posts: 74 ■■□□□□□□□□
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'**

Comments

  • Options
    jrmeulemansjrmeulemans Member Posts: 74 ■■□□□□□□□□
    NM, I think i got it--no username
  • Options
    blackninjablackninja Member Posts: 385
    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
    Currently studying:
    CCIE R&S - using INE workbooks & videos

    Currently reading:
    Everything. Twice ;)
  • Options
    hexemhexem Member Posts: 177
    login 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
  • Options
    zobo88zobo88 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 ?
  • Options
    blackninjablackninja Member Posts: 385
    zobo88 wrote: »
    and 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> command
    Currently studying:
    CCIE R&S - using INE workbooks & videos

    Currently reading:
    Everything. Twice ;)
Sign In or Register to comment.