cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2324
Views
0
Helpful
19
Replies

Cannot Ping or SSH into any 2960s since redoing config

nlanich01
Level 1
Level 1

The only way I can connect anymore is via console. I thought I had left all the SSH config the same except for changing the passwords to secrets. Please help!

 

 

1 Accepted Solution

Accepted Solutions

Vlan1 192.168.0.11 YES DHCP up up

i see the switch IP address  192.168.0.11  (not 10 here)

 

try from PC ping  192.168.0.11

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

19 Replies 19

AvidPontoon1
Level 1
Level 1

Firstly, I would sanitize that config and re-upload it. As this contains your passwords and is publicly viewable on the internet....!

 

The SSH config looks okay. Have you regenerated the RSA keys? I have seen this be an issue in the past.

 

Are you getting a specific error when you try to connect via SSH? This may be an SSH client error you are getting rather than a problem with the switch.

Thanks AvidPontoon. Ooops!

 

I'll try regenerating the key on one.

 

I'm getting:

"Network error: Connection Timed Out"

From the error "Network error: Connection Timed Out", it sounds like a connectivity issue too. See the results of what @balaji.bandi has asked as you may have a problem with connectivity between your management station and the switch.

balaji.bandi
Hall of Fame
Hall of Fame

First thing from switch console are you able to ping default-gateway ? 192.168.1.1

Then we can proceed to next step.

 

If not we need investigate this.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

balaji.bandi,

 

Trying this now.

I can ping the gateway (192.168.1.1), but I still time out when trying to SSH to the switch after zeroising the key and creating a new one...

ping Gateway from Switch ? is working /

 

From what device and ip address you using to SSH to device ? are you able to ping switch IP address (first ?) 192.168.1.10

 

If windows device ipconfig /all post output here ?

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : tucson.com
Description . . . . . . . . . . . : Intel(R) Ethernet Connection (5) I219-LM
Physical Address. . . . . . . . . : D8-9E-F3-7A-27-81
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c891:71ca:c6ee:2560%21(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.30(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Lease Obtained. . . . . . . . . . : Wednesday, January 19, 2022 10:38:49 AM
Lease Expires . . . . . . . . . . : Monday, January 24, 2022 10:38:51 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.60
DHCPv6 IAID . . . . . . . . . . . : 433626867
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-DC-C6-6B-D8-9E-F3-7A-27-81
DNS Servers . . . . . . . . . . . : 192.168.1.60
192.168.1.61
NetBIOS over Tcpip. . . . . . . . : Enabled

BB,

Yes, I can ping the gateway from the switch, but I cannot ping the switch from my PC...

Where is this PC connected ? from PC are you able to Ping 192.168.1.1 ?  ( what is this device 192.168.1.1 ?)

 

try traceroute from PC or  switch to reach each other that give information, where it was stuck (and post the output ?)

 

 

PC

tracert  192.168.1.10

 

from switch

 

traceroute 192.168.0.30

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

BB,

192.168.1.1 is the gateway router. The PC and switch should both be on VLAN1. I can ping 192.168.1.1 from my PC which won't SSH to the switch.

 

Thanks

i am looking this information :

 

What Router is this ?

 

Where is this PC connected ?

 

PC

tracert 192.168.1.10

 

from switch

 

traceroute 192.168.0.30

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

BB,

 

The router is a SOHO Routerboard router, not a Cisco.

 

The PC is connected directly to the switch.

 

I tried a traceroute from the switch to 192.168.0.30, but gave up and cancelled it after 12 hops.

 

The switch pings 192.168.0.30 immediately with no problems.

Looks something not good as per the config ?

 

Lets do some basic testings  here :

 

change the PC IP address from 192.168.0.30 to 192.168.1.11 (if nothing used, and setup gateway 192.,168.1.10 )

From Pc you should be able to ping 192.168.1.10  - if yes try SSH and let us know.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card