[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2458
  • Last Modified:

cisco VTY question

I have a 3560 switch that has an IOS of c3560-ipbase-mz.122-35.se5.bin

I can use the line console just fine however, when I try to VTY into the switch I can only go as far > level I can't get to the #

I don't have a username or password set until I go to the line con and VTY settings

line con 0
exec-timeout 0 0
password xxx
transport preferred telnet
transport output none

line vty 0 4
exec-timeout 0 0
password xxx
transport preferred none
transport input none
transport output none

Line vty 5 15
exec-timeout 0 0
password xxx
transport input telnet
transport output telnet

I have tried to use the NO version to remove the "transport" however I just get the transport none result

Any help would be appreciated

Thanks



0
jonas_pina
Asked:
jonas_pina
3 Solutions
 
Don JohnstonInstructorCommented:
Try this:

line vty 0 15
 transport input telnet
 transport output telnet

0
 
lrmooreCommented:
You have to have an enable password set
0
 
dbtouraustCommented:
And when you set your enable password use something like:

#<config>enable secret mysecret

where mysecret is the "pass" you want to use. Better to encrypt these things

You should be able to enter privilege exec mode (the #) from the console
0
 
bsohn417Commented:
you should create a username

username "cisco" priv 15 sec "cisco"   <<<<<Username / password

line con 0
exec-timeout 30 30
login local
!
line vty 0 15
exec-timeout 30 30
Login local
transport preferred telnet  <<<<<<<<<<<or other method of connection
0
 
jonas_pinaAuthor Commented:
Thanks it was a compliation of all three.  Take care Gents
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now