Setting up ssh in switch

RKDusRKDus Member Posts: 20 ■□□□□□□□□□
I am using packet tracer to practice setting up a switch for ssh and I am having a problem following an example in the Odom book.
I am configuring a 2960 switch and everything goes ok until I try to use the command "transport input telnet ssh", as the switch does not recognise the command and when I type ? for a list of commands transport is not there. I am in the line vty 0 15 interface. Is there some command I have missed or what?

Comments

  • gojericho0gojericho0 Member Posts: 1,059 ■■■□□□□□□□
    What version of the IOS are you using? Could you copy and paste your show run?
  • bighornsheepbighornsheep Member Posts: 1,506
    RKDus wrote:
    I am configuring a 2960 switch and everything goes ok until I try to use the command "transport input telnet ssh",

    You need an IOS with crypto feature, upgrade the IOS, and it should work. Don't forget to generate a RSA key.
    Jack of all trades, master of none
  • RKDusRKDus Member Posts: 20 ■□□□□□□□□□
    Actually I have noticed a lot of commands that are there in the book are not on the switch, and thanks!





    PSwitch#show run
    Building configuration...

    Current configuration : 1084 bytes
    !
    version 12.2
    no service password-encryption
    !
    hostname PSwitch
    !
    enable secret 5 $1$gSRd$oU.JqwAcirXKpu2Y26cDs1
    enable password cisco
    !
    !
    !
    interface FastEthernet0/1
    !
    interface FastEthernet0/2
    !
    ! lines omitted
    !
    interface FastEthernet0/24
    !
    interface GigabitEthernet1/1
    !
    interface GigabitEthernet1/2
    !
    interface Vlan1
    ip address dhcp
    !
    line con 0
    password console
    login
    !
    line vty 0 4
    password vty
    login local
    line vty 5 15
    password vty
    login local
    !
    !
    end


    PSwitch#show version
    Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)
    Copyright (c) 1986-2005 by Cisco Systems, Inc.
    Compiled Wed 12-Oct-05 22:05 by pt_team

    ROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)

    System returned to ROM by power-on

    Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.


    24 FastEthernet/IEEE 802.3 interface(s)
    2 Gigabit Ethernet/IEEE 802.3 interface(s)

    64K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address : 0090.0C84.0C04
    Motherboard assembly number : 73-9832-06
    Power supply part number : 341-0097-02
    Motherboard serial number : FOC103248MJ
    Power supply serial number : DCA102133JA
    Model revision number : B0
    Motherboard revision number : C0
    Model number : WS-C2960-24TT
    System serial number : FOC1033Z1EY
    Top Assembly Part Number : 800-26671-02
    Top Assembly Revision Number : B0
    Version ID : V02
    CLEI Code Number : COM3K00BRA
    Hardware Board Revision Number : 0x01


    Switch Ports Model SW Version SW Image




    * 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-M

    Configuration register is 0xF

    PSwitch#
  • gojericho0gojericho0 Member Posts: 1,059 ■■■□□□□□□□
    Yup, you will need to upgrade your IOS, check Cisco's feature set for what you are looking for:

    http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp
  • tierstentiersten Member Posts: 4,505
    Try it on a real switch and not Packet Tracer...
  • RKDusRKDus Member Posts: 20 ■□□□□□□□□□
    A real switch would be great but I don't have access to one.
    Anyway, thanks guys.
  • tierstentiersten Member Posts: 4,505
    Packet Tracer only partially simulates the switches and routers. It is enough to do the CCNA but thats about it really. A lot of the other features won't be supported at all.

    I'm surprised that it doesn't complain at you tho that it is an unsupported feature.
  • RKDusRKDus Member Posts: 20 ■□□□□□□□□□
    Is there anything else out there that I can use for practise? Anything that doesn't require investment of money that I don't have right now, I thought packet tracer was the solution but not if it doesn't have most of the features!
  • tech-airmantech-airman Member Posts: 953
    RKDus wrote:
    I am using packet tracer to practice setting up a switch for ssh and I am having a problem following an example in the Odom book.
    I am configuring a 2960 switch and everything goes ok until I try to use the command "transport input telnet ssh", as the switch does not recognise the command and when I type ? for a list of commands transport is not there. I am in the line vty 0 15 interface. Is there some command I have missed or what?

    RKDus,

    Are you a Cisco Networking Academy student or alumni?
  • RKDusRKDus Member Posts: 20 ■□□□□□□□□□
  • CiscoCertsCiscoCerts Member Posts: 112
    RKDus wrote:
    No, why?
    Packet Tracker is used by Cisco Networking Academy students
  • RKDusRKDus Member Posts: 20 ■□□□□□□□□□
    Are you saying I shouldn't have it? I have already removed it anyway as it's fairly useless to me.
  • CiscoCertsCiscoCerts Member Posts: 112
    RKDus wrote:
    Are you saying I shouldn't have it?
    I was just explaining tech-airman's question.
  • RKDusRKDus Member Posts: 20 ■□□□□□□□□□
    Sorry the question was directed at tech-airman. Actually I did guess from the way he asked me what he was going to say. I hadn't even thought that the program might be copyrighted, that's my fault. In fact I wouldn't have posted saying I was using it if I had realised. I don't want to be seen advocating software piracy especially on a public forum.

    It was my first time using it as you may have guessed from the noobery of the question I asked. Anyway, I have already removed it and now I'm off to turn myself in icon_wink.gif I should have plenty of time to study in jail icon_lol.gif
  • dazerskidazerski Member Posts: 106 ■■■□□□□□□□
    I am on Page 240 of Odom's ICND1 book and I hit this same problem today. I am using a 2950. I downloaded the manual for this switch which is running 12.1(11)A and it doesn't have the commands I need. I'm glad I searched before posting this question; I'll try upgrading the IOS.

    thanks!
Sign In or Register to comment.