Solved

Query port info on a Cisco Catalyst 3548XL using snmp

Posted on 2004-04-29
4
1,155 Views
Last Modified: 2013-11-13
I'd like to know which machine is plugged on which port (having the IP and mac Address of the machines).
I'm using SNMP on my Cisco switches to monitor them with MRTG, so everything is already enabled and working on the switch.
I just can't find the info, and have a limited knowledge of SNMP (and the use of SNMP with vbs) , I have some difficulties to find the info in the MIB tree.

Has anyone a solution to use vb/vbs/asp and SNMP to query the Cisco Catalyst with a mac address or an ip and get the port number of the switch on wich it is plugged?

0
Comment
Question by:meciab
  • 2
4 Comments
 
LVL 27

Expert Comment

by:pseudocyber
ID: 10952102
If you have multiple vlan's first figure out which vlan the device you want to view is in.

Then, in enable mode, type:

show mac-add vlan x where x is the vlan number you want to see.

Then, knowing the IP and the MAC, it will tell you which port they're in.

Or, for the whole list, just type:  show mac-add
0
 
LVL 28

Accepted Solution

by:
mikebernhardt earned 500 total points
ID: 10954343
0
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 10954347
At least if you figure out the correct OIDs you can make your application use them.
0
 

Author Comment

by:meciab
ID: 10960383
found info on http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801c9199.shtml thanks to mikebernhardt, so he'll have the points.

Many thanks!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 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

12 Experts available now in Live!

Get 1:1 Help Now