I recently started to study CCNA, I am in the Introduction to networks, there's a command I am a little bit confused and I would like to see if anyone can help me to clarify
So basically when I am doing the configuration on a switch I have to configure 2 passwords, one for the User Mode and the other one for the Privileged Mode.
To enter the User Mode password I type
S1>enable
S1#config t
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
and then for the Privileged Mode I type
S1(config-line)#enable secret class
but then when I do the configuration for VTY I do this
S1(config)#Line vty 0 15
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#end
S1#wr
Why do I have to enter AGAIN the User Mode password on this part? I saw some videos on youtube and everyone is doing the same but I don't really understand this part and will it make a difference if I don't use the same password I set for the User Mode? What is the purpose of this other password?
thanks in advance