cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Having issue with directly connecting to CISCO switch using putty

amit.malik
Beginner
Beginner

Hi All,

            I am having issue with directly connecting to the CISCO 2960 switch from Putty. I am only able to connect to these switch by connecting to router in my organization first and than to switch using ssh  -l company IP-address command.

When i am connecting direct to the Switch using Putty its rejecting my connection

here is the basic configuration of switch - 

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

!

hostname testswitch

!

boot-start-marker

boot-end-marker

!

enable secret ******

!

username test secret *********

no aaa new-model

vtp domain company.com

vtp mode transparent

!

!

ip domain-name company.com

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

vlan 11

 name ****

!

vlan 14

 name *****

!

vlan 15

 name Guest

!

vlan 16

 name management

!

ip ssh version 2

!

!

!

!

!

interface Vlan1

 no ip address

!

interface vlan16

 ip address ****

 ip helper-address  ****

!

ip default-gateway

no ip http server

no ip http secure-server

!

ip access-list extended remoteaccess

 permit ip *** **** any

!

banner login ^CCCC

^C

!

line con 0

 exec-timeout 30 0

 login local

line vty 0 4

 exec-timeout 15 0

 login local

 transport input ssh

line vty 5 15

 login

!

ntp server ***

end

 

Now problem is that router is being managed by vendor. But switches are still managed by us.

I can't log on the switch using putty until I first log onto the router and than ssh from there.

I am not very experienced in CISCO switching. This is my first post to this forum :)

Is there any way i can directly connect to switch using Putty?

Who Me Too'd this topic