Re: Determine network devices on flat network

From: Blanco Lam (b@gclamb.com)
Date: Mon Jan 05 2004 - 20:03:15 GMT-3


Kenneth,

I guess you have two ways of doing it:

1) the very expensive way - with User Tracking from CiscoWorks LAN Mgmt Suite
which works like a dream; or

2) the free way. Check out the "cammer" Perl script written by Tobias Oetiker
(same author as MRTG).

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/contrib/

Look for the files cammer.readme.txt and cammer

It'll output all the MAC addresses a switch knows about. You'll probably need
to "grep" it a bit to remove the MAC addresses from the trunk links.

Since you're using Cat 3550, you'll probably need to hack it a bit. I
personally haven't tried it on Cat 3550 but here's a link telling you how to
hack it. Should be an easy hack. Remember to change the location of Perl as
well.

http://www.ee.ethz.ch/~slist/mrtg/msg21305.html

Hope this helps.

Regards,

Blanco

---- Original message ----
>Date: Mon, 5 Jan 2004 13:41:38 -0500
>From: "Kenneth Wygand" <KWygand@customonline.com>
>Subject: Determine network devices on flat network
>To: <ccielab@groupstudy.com>
>
>Hello everyone and Happy New Year -
>
>
>
>I have about 20 switches set up as a flat network with no VLANs
>(10.0.0.0). Different device groups all have a common second octet
>(clients are 10.0.x.x, printers are 10.1.x.x, servers are 10.2.x.x) but
>the network is flat, as they all use a /8 (255.0.0.0) mask. The
>printers, for example, are scattered across all switches but have
>10.1.x.x addresses. I need to find out what physical ports each printer
>is plugged into. I have ping-swept the 10.1.x.x range and found about
>150 printers total. However, I need to now find out what switch port
>each printer connects to (actually all I need to know is which switch,
>not necessarily which port).
>
>
>
>I know I can just enable CDP on the switch and sniff the actual drop
>that each printer is connected to and analyze the advertised information
>from the switch to determine where each printer is located, but 150
>printers is too many to do this on. Is there any easier way to
>determine which switch each printer connects to? I'm thinking it has to
>employ some layer-2 technology, but since the network is flat, the ARP
>table will only reside on layer-3 devices (of which the switches are
>not).
>
>
>
>The network is entirely Cat3550 switches running SMI images.
>
>
>
>Any suggestions are greatly appreciated! Thanks!
>
>
>
>Kenneth E. Wygand
>Systems Engineer, Project Services
>
>CISSP #37102, CCNP, CCDP, ACSP, Cisco IPT Design Specialist, MCP, CNA,
>Network+, A+
>Custom Computer Specialists, Inc.
>
>"Treat your password as you do your toothbrush; change it every six
>months and don't let anyone else use it."
>-Anonymous
>
>_______________________________________________________________________
>Please help support GroupStudy by purchasing your study materials from:
>http://shop.groupstudy.com
>
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:37 GMT-3