05-23-2011 02:11 AM - edited 03-06-2019 05:11 PM
A brand new 3560 does not has password and comes with the following vty settings. The console access has no problem. But for telnet...
line vty 0 4
login
length 0
line vty 5 15
login
!
Does it allow telnet to get in? Should it allow telent automatically?
Is there any document to explain the commands?
Thanks
Solved! Go to Solution.
05-23-2011 11:48 PM
Hi,
1) No you need a password command
2)try here http://www.cisco.com/en/US/docs/ios/mcl/124mainlinemcl/124_book.html
Regards.
Alain.
05-23-2011 02:38 AM
Hi Joseph,
Use config below;
conf t
line vty 0 4
password {your pass.}
exi
enable secret {your priv. mode pass.}
end
wr
hth
Muammer
05-23-2011 02:41 AM
Hi,
You need to set a password to access C3560 via line vty. There are many methods to access the device. You can use username/password to authenticate as well.
For example
!
C3560(conf)#line vty 0 15
C3560(conf-line)#password Cisco
C3560(conf-line)#login
!
!
In this case,you need to define "enable [password or secret]" to get configuration mode on the device.
!
C3560(conf)#enable password Cisco
!
HTH,
Toshi
05-23-2011 06:45 PM
Thanks for the information.
Usually I will create local account and use "login local" to let telnet work. But for the new switch default configuration, my questions are:
1) Does the default setting allow telnet (without any password)?
2) Where can I have comprehensive explanation of the vty commands such and "login" and "length"?
Thanks.
05-23-2011 11:48 PM
Hi,
1) No you need a password command
2)try here http://www.cisco.com/en/US/docs/ios/mcl/124mainlinemcl/124_book.html
Regards.
Alain.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide