Community discussions

MikroTik App
 
marcopolo
newbie
Topic Author
Posts: 45
Joined: Wed Feb 03, 2010 7:17 pm

Switch Port mapping

Thu May 20, 2010 4:48 pm

I have a map with only switches added and want to know if there is a way to interrogate them to see what devices are connected to what port by IP address.

I know there are plenty of tools out there, but I'm hoping I can acheive the same with Dude
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Switch Port mapping

Fri May 21, 2010 11:10 am

It depends on the statistic your switch provides, if there is such information provided by SNMP (for example) you can get it for monitoring.
 
marcopolo
newbie
Topic Author
Posts: 45
Joined: Wed Feb 03, 2010 7:17 pm

Re: Switch Port mapping

Fri May 21, 2010 3:32 pm

When I tested with some software it would show me port numbers and resolved IP/Domain name connected, so I guess it's possible but simply walking the units delivers nothing.
 
marcopolo
newbie
Topic Author
Posts: 45
Joined: Wed Feb 03, 2010 7:17 pm

Re: Switch Port mapping

Mon Jun 07, 2010 11:25 am

Ok, I'm still looking how I can track what domain PC/IP address is mapped to which switch port?
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Switch Port mapping

Mon Jun 07, 2010 3:54 pm

We are using this to track computer to switch port mapping. It is only good for Cisco devices...
http://sourceforge.net/projects/switchmap/
 
marcopolo
newbie
Topic Author
Posts: 45
Joined: Wed Feb 03, 2010 7:17 pm

Re: Switch Port mapping

Mon Jun 07, 2010 5:36 pm

Yes I saw that but was put off by the amount of configuration so I've tried this today and it works a treat.

http://sourceforge.net/projects/switchminer/

The sample command line I use is this, which also maps all the chlid switches

sm -s 10.0.0.3 -c public -r 10.0.0.21 -e public -l

Where 10.0.0.3 is the parent switch and 10.0.0.21 is our DNS server
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Switch Port mapping

Mon Jun 07, 2010 10:45 pm

Yeah but you might find the search and web access to be useful.

There is another port tracker that gives a nice map based on snmp location info on sourceforge as well. Even more complex to setup since it uses both web and database.

For folks who setup the program I linked 2 messages ago... when you setup your cron jobs only schedule collections for times/days you know when most your computers are online. Otherwise the saved devices will fluctuate wildly.
 
marcopolo
newbie
Topic Author
Posts: 45
Joined: Wed Feb 03, 2010 7:17 pm

Re: Switch Port mapping

Tue Jun 08, 2010 10:00 am

Do you think it's something that is likely to be added to DUDE at some point, it would be an extremely useful facility?
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Switch Port mapping

Tue Jun 08, 2010 8:35 pm

Yes