line vty 0 4

shikheeyshikheey Member Posts: 4 ■□□□□□□□□□
Hi,
I get confused with:

line vty 0 4 line vty 0 4
login password telnet
password telnet login

is it same or it makes different.

Many Thanks

Comments

  • ThanatosKnightThanatosKnight Member Posts: 33 ■■□□□□□□□□
    Infact, if you have to follow exactly the words in the question ...

    For example : configure telnet access
    configure telnet password
    configure the telnet access for the password promt

    The answer is : line vty 0 4
    password telnetpassword
    login

    However , if you change the order of the second and third line in the question ...You have to write down :

    line vty 0 4
    login
    password telnetpassword
  • shikheeyshikheey Member Posts: 4 ■□□□□□□□□□
    so I can use both for the exam. can't I?

    Many Thanx
  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    you have to set the password before using the login command

    line vty 0 4
    password telnet
    login
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • shikheeyshikheey Member Posts: 4 ■□□□□□□□□□
    Hi,
    Good News. Just passes 640-801 16:00 gmt with 849.

    Thanks guys!!!!!!!!!!!!!!!!
  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    congrats
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • Promedia-77Promedia-77 Member Posts: 4 ■□□□□□□□□□
    For future refrence...

    Line vty 0 4
    password cisco
    login

    The above is used, when you have just applied the password for the telnet sessiion, maybe first time or something. This might also be because you had deleted your Config in NVRAM, and reloaded the router. Which would give you a blank config, meanning the telnet password was erased.. However, if you do the above command and then relize you need to change the password again, maybe to something else, you will do the following:

    Line vty 0 4
    login
    password class
Sign In or Register to comment.