Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Query port info on a Cisco Catalyst 3548XL using snmp

Posted on 2004-04-29
4
Medium Priority
?
1,168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

618 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