Cisco 2960 Switches denying Telnet connections randomly

ciscocisco-2960cisco-catalystswitch

I have 5 2960 switches configured in my network. The issue I am facing is that while telnetting to the switches (eg: A) sometimes abruptly the telnet connection gets closed and repeated attempts sees the Telnet connection being refused. What I then do is telnet to another switch (B), and from there telnet to the original switch (A). That never fails.

The switches are all on one Default VLAN (192.168.1.0) and I am on a Management VLAN (192.168.40.0). Is there any correlation between different subnets and telnet? There shouldn't be as the issue is only intermittent and random.

Please advise.

Also the Line config looks like this:

line vty 0 1
 password 7 AAAAAAAAAAAAAAAAAAAAA
 login
line vty 2 4
 password 7 BBBBBBBBBBBBBBBB
 login
line vty 5 15
 login
!

Best Answer

I've seen something similar when there have been duplicate IP addresses in the network. Check the ARP cache on your PC (if you're on the same network) or router and see if the MAC address changes during the problem. If it does, track the two MAC addresses down through the switch MAC address tables and configure unique IP addresses