cisco VTY question

Posted on 2009-12-28
Last Modified: 2012-05-08
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


Question by:jonas_pina
    LVL 50

    Accepted Solution

    Try this:

    line vty 0 15
     transport input telnet
     transport output telnet

    LVL 79

    Assisted Solution

    You have to have an enable password set
    LVL 1

    Expert Comment

    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
    LVL 8

    Assisted Solution

    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

    Author Closing Comment

    Thanks it was a compliation of all three.  Take care Gents

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
    I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now