+ Reply to Thread
Results 1 to 5 of 5
  1. Senior Member
    Join Date
    Jan 2005
    Location
    The First State,Australia
    Posts
    129

    Certifications
    CCNA
    #1

    Default Re: *TechLabs* CCNA

    Hi there

    When configuring the password for console i am bit confused with 'login'. I know that login is used to display the Login prompt at router startup(just take the case of console)

    But some where i read Login before the password


    Router(config-line)#login
    Router(config-line)#password cisco456


    and some times after the password like in your case...

    Router(config-line)#password cisco456
    Router(config-line)#login


    What difference does that makes?? Any hints please.. thanks in advance
    Reply With Quote Quote  

  2. SS -->
  3. Johan Hiemstra Forum Admin Webmaster's Avatar
    Join Date
    Jun 2002
    Location
    52n31, 6e06
    Posts
    10,383
    Blog Entries
    3

    Certifications
    MCSE NT4 MCSA 2000/2003 Security+ (expired: CWNA, CNA, CCNA)
    #2
    The order in which you enter the commands doesn't matter in this case. 'login' means the line you are configuring will require a login, the password is also assigned to the line, not specifically to the 'login' command.
    Reply With Quote Quote  

  4. Senior Member
    Join Date
    Jul 2005
    Location
    Latitude: 33.8702, Longitude: -117.9244
    Posts
    279

    Certifications
    "Cisco Buddhism"
    #3
    Quote Originally Posted by sunny_evander
    Hi there

    When configuring the password for console i am bit confused with 'login'. I know that login is used to display the Login prompt at router startup(just take the case of console)

    But some where i read Login before the password


    Router(config-line)#login
    Router(config-line)#password cisco456


    and some times after the password like in your case...

    Router(config-line)#password cisco456
    Router(config-line)#login


    What difference does that makes?? Any hints please.. thanks in advance

    Quote Originally Posted by Webmaster
    The order in which you enter the commands doesn't matter in this case. 'login' means the line you are configuring will require a login, the password is also assigned to the line, not specifically to the 'login' command.
    Actually... by practice... it does make a difference. In practice you should always perform the password command before you perform the login command. This is the reason why I believe this small issue is important:

    Imagine you put the login command first... if for any reason the router reboots or you have to leave the console for whatever reason. You just inititated a required login with no password. Then you will have to either redo the commands or if you are working remotely (on some interfaces) you will not be able to get in.
    Reply With Quote Quote  

  5. Johan Hiemstra Forum Admin Webmaster's Avatar
    Join Date
    Jun 2002
    Location
    52n31, 6e06
    Posts
    10,383
    Blog Entries
    3

    Certifications
    MCSE NT4 MCSA 2000/2003 Security+ (expired: CWNA, CNA, CCNA)
    #4
    I was just saying it doesn't make a difference for the final operation of the router, but you are right, it's good practice to configure the password first.

    btw, "if for any reason the router reboots" it would start with the startup configuration, and in any case if you are in the middle of configuring something and haven't saved it yet and it reboots you need to redo the config, so this is not specific to this scenario or commands.
    Reply With Quote Quote  

  6. Senior Member
    Join Date
    Jul 2005
    Location
    Latitude: 33.8702, Longitude: -117.9244
    Posts
    279

    Certifications
    "Cisco Buddhism"
    #5
    Yup you are correct in that case.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks