03-08-2021 12:22 PM
We have a catalyst 2960-x that I am not able to connect via ssh when connecting to the management port.
We have several but previously they were set up with "management" IP using interface VLAN commands.
It fails:
When I (laptop#1) am connected to switchport on Switch-A8 and try connect using ssh to 10.1.11.12
It works:
When I (laptop#1) am connected to switchport on Switch-C3 and try connect using ssh to 10.1.11.12.
No configuration no cabling changes between tests. Is this a bug perhaps?
I wasn't able to find one using the bug search tool.
03-08-2021 01:04 PM
Can you post "sh run" from the switch and point out the ports you are using to connect?
HTH
03-08-2021 01:16 PM
Hello
When I (laptop#1) am connected to switchport on Switch-C3 and try connect using ssh to 10.1.11.12.
can you ping 10.1.11.12 from that switch?
03-08-2021 01:43 PM
Hello,
post a diagram of your topology, showing how Switch-A8 and Switch-C3 are connected, and where IP address 10.1.11.12 is configured. Also, post the configs of all switches involved.
03-08-2021 02:24 PM
@Reza Sharifi Configs attached. My workstation is connected to GigabitEthernet1/0/18
@paul driver I can ping 10.1.11.12 from Switch-C3, I cannot ping 10.1.11.12 from Switch-A3.
@Georg Pauwen Diagram and configs attached
03-08-2021 06:49 PM
You have vlan 1 configured with an IP address and an SVI on C3 switch. That is fine. Now on switch a8, you don't have vlan 1 configured with SVI and IP, instead, you have assigned the IP address to the out-of-band management port (see below).
So, in summary, you are using in-band management on c3 switch and out-of-band management on a8 switch.
To remedy this, simply take the cable out of "interface fastethernet0" and delete the IP. Now, connected the same cable to an available port on the switch, and give interface vlan1 the same ip address (10.1.11.19).
interface vlan1
ip address 10.1.11.19 255.255.255.0
no sh
Now test connectivity
interface Vlan1
ip address 10.1.11.19 255.255.255.0
interface FastEthernet0
ip address 10.1.11.12 255.255.255.0
03-11-2021 03:43 PM
@Reza Sharifi
Thanks for this suggestions, however as per company policy we are moving towards out-of-band only for all of our switches.
I have changed C3 to out-of-band as well, but this doesn't fix the issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide