I have three cisco switches, all with CDP enabled. From the console of the "core" switch I give the command "show cdp neighbors" and the output is:
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
Switch Gig 5/14 154 S I WS-C2950-2 Fas 0/9
Switch Gig 5/11 154 S I WS-C2950-2 Fas 0/6
So I try to see if the two "Switch" entries indicate different switches or two paths to to same switch, and I try the command "show cdp entry Switch". This is what I get:
-------------------------
Device ID: Switch
Entry address(es):
Platform: cisco WS-C2950-24, Capabilities: Switch IGMP
Interface: GigabitEthernet5/14, Port ID (outgoing port): FastEthernet0/9
Holdtime : 149 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 28-Aug-02 10:25 by antonino
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF000000000000000AF4CF2E80FF0000
VTP Management Domain: 'ypex'
Duplex: full
-------------------------
Device ID: Switch
Entry address(es):
Platform: cisco WS-C2950-24, Capabilities: Switch IGMP
Interface: GigabitEthernet5/11, Port ID (outgoing port): FastEthernet0/6
Holdtime : 147 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(11)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 28-Aug-02 10:25 by antonino
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF000000000000000AF4CF2E80FF0000
VTP Management Domain: 'ypex'
Duplex: full
So, the entries are the same for both switches, but the thing is, they are two different switches. And this is my problem: How can I find the true topology in such a situation?