We have a minor but quite annoying issue regarding VLANs, CDP, and two switches connected together and sharing VLANs.
Let's try to explain.
The first switch is a WS-8-150-DC fw 1.4.8rc7
The second is a WS-6-MINI fw 1.4.8rc7
Both switches have CDP enabled.
Here is a (pretty ugly) schema of the problematic area :
So on this site, we have a mikrotik router, with CDP enabled and active on all interfaces, and a few vlan interfaces
- vlan 1 is for the local site, i.e. the router, the two switches, and a local support AirGateway
- vlans 101 and 102 are used for some inter-site links
- vlan 2222 is used for all the local BTS (connected on either switches)
The main problem we have is that nobody discovers the switch 2. Neither the router nor the switch1.
While investigating it we realized that the whole discovery thing was pretty strange.
- Nobody sees the switch 2
- Both switches don't see each other
- The BTSs connected to the switch 2 are discovered by switch 2 and the router, but not by switch 1
It seems to me like there would be an issue with the CDP packets that are tagged by the switches.
The AirGateway on the same vlan as the two switches is discovered eveywhere, and it seems that the main difference is that it is connected to an untagged port...
So we would like to know if you think it could be a bug or just a configuration mistake?
Here are the VLAN tables of both switches
switch1 :
switch2 :