Solved

Hoe to find ip address of neighbouring switch

Posted on 2009-05-11
5
877 Views
Last Modified: 2012-06-27
I have a Cisco 1841 series router that it connected to a 3com switch through the FastEthernet port. I am trying to find out the ip address of the switch attached to the router.

I have tried a SH CDP NEI but when I do this it informs me that the router is connected through the interfaces f0/0 and f0/1.

Is there any other command that I can loo at without trying to telnet to all the devices in the arp table?
0
Comment
Question by:MartynLawson
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:jfrady
ID: 24353708
No.  CDP is a proprietary Cisco protocol.  The ways you can find the IP:

Log into the console
Look in the ARP cache on the router and associate with the MAC address on the label of the switch
Use a freeware app to do a ping scan of your network range
Try the default IP of the switch

Looking through aRP caches etc. won't do you much good if the switch is on a different subnet than your network for some reason.  Easiest bet is to go in to the console port.
0
 
LVL 1

Accepted Solution

by:
Teacish earned 250 total points
ID: 24353840
Also if your computer is connected to the switch then you can type arp -a from the command prompt and compare the mac addresses in the list with the sticker on the bottom of the switch as ifrady said.
0
 
LVL 1

Expert Comment

by:Teacish
ID: 24354067
Although thinking about it if its managed then each port is going to have a mac address.. It would have to be done by a network scanner really.

Try using Angry IP Scanner and scan your network range and see if you can find it on there.
0
 
LVL 9

Assisted Solution

by:jfrady
jfrady earned 250 total points
ID: 24354163
Teacish - If it is a Layer 2 switch there will only be one MAC address that is associated with the management interface.  The only time a switch will have multiple MAC addresses is if it has multiple Layer 3 networks.  

Using ARP -a will only show the address if it is on the same subnet and your machine has tried to contact it.  Sometimes you can do a ping to x.x.x.255 and then do ARP -a to see devices on your network.  This is not a valid way however as most devices would take that as a smurf attack and not respond.  And in this case we do not know if the switch management interface is even on the same subnet or configured from default.

The easiest way in your case Martyn is to plug in to the console or use one of the other methods mentioned.
0
 
LVL 1

Author Closing Comment

by:MartynLawson
ID: 31580107
Thanks Guys :)
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
extend vlan through a layer 3 connection 31 97
Shoretel Edge Gateway 5 44
Creating and Connection two new domains 5 79
Valid LIN protocol Protected ID values 1 21
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now