Click here to Skip to main content
15,890,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
      ___________
     |           |
     |    PC     |
     |           |
     |___________|
           |
      _____|_____
     |  switch   |
     |___________|
       |    |   |
   ____|    |   |_____ Hanging Cable
  |         |
  |         |
Device1   Device2
Posted
Updated 14-Jan-15 3:38am
v2

 
Share this answer
 
1) What is your question?
2) Depending on your switch fabric, you might be able to get MAC address list via SNMP: http://networkengineering.stackexchange.com/questions/2900/using-snmp-to-retrieve-the-arp-and-mac-address-tables-from-a-switch[^]
3) As a switch is L2, and IP works on L3, you can get IP ARP table only, if the switch is L3 (router or with routing capabilities), and if the device was communicating on IP level.
4) If you can log in via ssh/telnet, you can issue commands also programatically, you could process.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900