cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4311
Views
0
Helpful
4
Replies

default vty in 3560

josephschung
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

Don't forget to rate helpful posts.

View solution in original post

4 Replies 4

mrdogantr
Level 1
Level 1

Hi Joseph,

Use config below;

conf t

line vty 0 4

password {your pass.}

exi

enable secret {your priv. mode pass.}

end

wr

http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_configuration_example09186a0080204528.shtml

hth

Muammer

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

!

   Ref: http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_configuration_example09186a0080204528.shtml

HTH,

Toshi

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.

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.

Don't forget to rate helpful posts.