Skip to main content

Can you find the switch IP address

More
19 years 9 months ago #7651 by swardl100
HI,

Does anyone know how to find out the Cisco switch IP address thats attached to another Cisco switch?

I have a new network with no documentation and no way of chasing the fibres through walls.

Cheers.
More
19 years 9 months ago #7652 by swardl100
Replied by swardl100 on topic I found it
Typical, I just found it......

"Show cdp neighbors", what would you use if cdp wasn't running?
More
19 years 9 months ago #7773 by apit
shall u share with us?
More
19 years 9 months ago #7775 by tiamat
he already gave us the info. the command is 'show cdp neighbors detail'. his new question is, how would you find that info out if cdp wasn't running on one of the switches?
More
19 years 9 months ago #7777 by LooseCannon
Well if you knew what port the remote switch was plugged into on the local switch you could do a 'sh port <port #>' in CatOS or a ' sh int fa# status' in IOS and that will show you the MAC address of the remote switch. From there you would have to go into the router and look at the ARP table with a 'sh ip arp' or you might be able to do a 'sh ip arp <MAC address>' and that will display the IP to MAC address mapping for you.

Other than that I don't know of any other way because normal layer 2 switches don't have ARP tables, thus they don't have any IP->MAC address mappings so there is no way to find out a neighbouring switch's IP without looking at a router in charge of the segment.
More
19 years 8 months ago #7906 by Shocker
Is it possible to use Arp or tracert to detect the IP Address of the switch?

Senior Product Support Specialist
Linksys A Division of Cisco

Time to create page: 0.145 seconds