Loop on C9500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 06:55 AM
Hello!
Some time ago I encountered a problem connecting C9500 switches to the network. I have two switches C9500 that use stack virtual technology. The switch C9500 has a management IP address and a static route to the gateway via VRF. The C9500 switch was connected to two other switches with two cables, that is, in two separate switches (C9300 and C9200). When connecting to the network with two cables, a loop occurred (stp or routing loop). The symptoms were as follows: some of the switches were unavailable for ping, but available via SSH.
I solved this problem by registering the default gateway.
But I have another C9500 switch in another place and it does not have a gateway, there is only a static route to the gateway.
I can't understand what the problem could be.
Please help me figure it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 07:10 AM
The packet that goes via some switch or cable is affected. You have ECMP or PortChannel configured?
In case of ECMP, you have to isolate paths / devices one by one and check which is causing drops. (May need downtime)
In case of PortChannel, isolate uplinks one by one and check which link is causing drops. (May need downtime)
Run mtr and check if you observe drops anywhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 07:12 AM - edited 01-28-2025 07:13 AM
>....When connecting to the network with two cables...a loop occurred
Kind of a suspicious action in the context of the original question; the question then is why and what is the need for that
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 08:06 AM
I have trouble understanding your explanation.
Can you draw a simple diagram explaining your network topology and connections and showing which connection caused the loop?
Generally speaking if you have redundant paths then you need to rely on spanning tree to prevent loops so you cannot use features like portfast on the ports.
Please click Helpful if this post helped you and Select as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's and TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's, Best Practices for 9800 WLC's and Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 10:29 AM
This issue likely stems from the interaction between VRF routing, STP, and redundancy mechanisms when connecting your C9500 to multiple downstream switches.
Could you please share detail info :
#show ip route vrf <management-vrf>
#show spanning-tree
#ip route vrf <management-vrf> 0.0.0.0 0.0.0.0 <gateway-ip>
Thanks,
Joshqun Ismayilov
