Slashdot Mirror


A Simple Tool for Tracking Switch Ports?

jeremy cobert asks: "I work for a large school district in the Computer Networking department. We have several network closets at each school and each switch is set for different equipment on different VLAN's. Sometimes a Tech at a school will call in and need a printer plugged into a switch, and we are currently using maps drawn with PhotoShop to keep track of which ports are set for different equipment. I can look at a map and tell them to use a port that is already setup for printers. I am the only person who knows how to use Photoshop in our department and it is becoming way too time consuming every time someone switches a port. Here is an example of how we currently track our ports. Is there any program that we can use to make changes and diagrams in some similar fashion?"

17 of 84 comments (clear)

  1. We're doing this right now by grub · · Score: 5, Insightful

    We're doing something similar at work so it's still fresh in my mind. First off: lose the Photoshop crud. Assuming your switches are managed or have at least some smarts in them I'd suggest using SNMP, $LANGUAGE and PHP to track your port information. Then any of your admins can access it via a webpage on your intranet. ($LANGUAGE can be anything but we like python and perl)

    Consider replacing the hubs in your diagram with switches that have some smarts and SNMP. Not a crap LinkSys thing for $19 at BestBuy or whatever. A real, managed switch with a serial console port would be best IMHO.

    Consider an "out of band" private network too. Something you can use to connect to another machine in the closets with a serial link to the switch console ports. That way if a switch/firewall/router stops talking you can remotely get to it via the console. We just received a bunch of old fibercopper media converters for this purpose (some of the runs are long)

    You're there to manage the network, not just pretty up diagram in Photoshop, right?

    --
    Trolling is a art,
    1. Re:We're doing this right now by karnal · · Score: 2, Interesting

      This is the best idea yet.

      At my $place_of_employment, we use the Fluke Optiview console. What it does is it polls every port and every device on every port. Then you can either dig down a list of hosts, printers, servers, etc - or you can have it print out a network diagram (using MS Visio) or give you a switch port printout, which lists what is on each switch - down to the IP, computer name, MAC address, you name it.

      It only works with Layer 2, though - so you need remote endpoints on each of your routable ... endpoints.

      Don't ask me how much we paid - I'm sure it was expensive. However, it definitely took us less time than rolling our own. But, if your switch is managed, for documentation's sake - you can probably use the switch to find all this information out yourself!

      --
      Karnal
    2. Re:We're doing this right now by Blkdeath · · Score: 3, Insightful
      What I'm failing to understand is why diagram the switches to this fine detail in the first place? At the last network I administered we had our MDF, four IDFs and each lab had x number of drops run. Connect a printer? Find an available port on the wall. Any VLAN segregation was done with colour-coded boots. If the computers in the lab are connected to blue and you connect a printer to red, well, you're going to have a problem printing.

      10/100 switches are extremely inexpensive nowadays; even managed switches with VLAN support. Buy some extra switches, run extra drops per VLAN, label the drops at each end and describe textually (in your *DF) which drop connects to which port. De-activate unused ports if you must and activate them on demand.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    3. Re:We're doing this right now by grub · · Score: 2, Funny

      NetAdmins don't do Photoshop.

      That should be in your sig. :)

      --
      Trolling is a art,
  2. Simple solution really by Daxster · · Score: 5, Insightful

    Masking tape and a sharpie =)

    --
    Death by snoo-snoo!
  3. Photoshop is the *wrong* tool by Quarters · · Score: 4, Insightful
    Photoshop is way to expensive and complicated for what you are doing. Something like Visio would be much better for drawing out simple port graphs.

    For that matter graph paper, a ruler, and a pen would work equally well.

  4. Spreadsheet? by mivok · · Score: 3, Insightful

    Uhh.. why do you need diagrams? Just use a spreadsheet with the switch ID, port number and vlan. Much easier for others to use, and as far as I can see, you don't lose any ease of use/finding out which ports do what. Colour code the cells based on vlan number if the colours are important.

    1. Re:Spreadsheet? by walt-sjc · · Score: 2, Interesting

      Then you have to deal with the "master" spreadsheet.

      We use a wiki. Switch ports are in a table on the wiki. Click on the machine name in the port assignment and it goes to the wiki page for the machine. Back and forth links. And the IP address table, firewall translations, etc. All on the wiki. Apache config notes? On the wiki. Docs for new users? Policies? On the wiki. Why have 15 different documents?

  5. Pardon my ignorance.. by LoRdTAW · · Score: 4, Interesting

    But isnt there an SNMP program for 3com switches that does this automatically? I am not a net admin but I worked as a tech in school before and I do remember when we got our massive campus network upgrade to new cisco equipment. The head IT guy was all giddy about how he can see every port and device on the entire campus network from some cisco management program he used.

    1. Re:Pardon my ignorance.. by sharkey · · Score: 3, Interesting

      3Com Network Supervisor, IIRC. Free to download for up to 1000 devices or so.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  6. Visio by iamweezman · · Score: 2, Informative

    At the shop that I work at we have over a thousand circuits that we have to keep track of. Visio not only allows us to keep track of all the equipment, circuit flow, extra data, etc via making simple circuit layout records, but it is also easy enough that only minimal training is needed for new users. As an added bonus images can be stored and used over and over again so no "drawing" is required.

  7. photoshop is nice. by JVert · · Score: 4, Funny

    Maybe you should try fireworks, the vector drawing in that seems like it should be easier then what you are using. But if you really want it done right get a camera and use windows movie maker where you can narriate the function of each switch.

  8. I do what you do, just not with photoshop by Anonymous+Crowhead · · Score: 2, Interesting


    I like to see how things are connected, what ports are in what blocks, what's wired to to what but my diagrams are simple boxes within boxes connected by lines with a simple ledgend. For what you are doing, you do not need to spend time drawing an exact replica of your 3com 3300 switches with color, the light display, the 3com label, etc. That's just a waste of time. I use open office for my diagrams. If you are using windows, ms paint should suffice.

  9. Visio or Dia by WoTG · · Score: 2, Informative

    Others have mentioned proper diagramming software like Visio. For the free software/OSS type person, there is Dia (google it). It works reasonably well on both Linux and Windows. If only I could find a web based wiki-drawing tool...

  10. NetDisco by stevenbdjr · · Score: 2, Informative

    You want something like NetDisco. It will go out and discover every switch on your network and can figure out how they're interconnected. You can then query ports for VLAN, speed, and duplex settings, among other things. Finally, you can toggle ports on and off. It can even produce graphs of your network layout using GraphViz. You'll need a *nix box, Perl, Apache, and Postgresql, as well as managed switches that support SNMP.

    If all of this scares you, then go out and buy Visio, but all you'll get out of that is pretty pictures.

  11. graphviz by ameoba · · Score: 2, Funny

    You could probably do something with some flat text files, some scripts and Graphviz that would be at least as good as what you have coming out of Photoshop. ...that assumes you have no need to put boobies on your network diagrams.

    --
    my sig's at the bottom of the page.
  12. seconded, BUT by RMH101 · · Score: 2, Insightful

    ...do NOT set this kind of autodiscovery stuff loose on a network that you don't admin, otherwise someone is going to come and ask you some pretty pointed questions right before they lay into you with a cat5-o-9-tails...