HowTo find the port on a switch that a host belongs to, the easy way, part 2

Posted by asanabria6910 on Apr 13, 2009 5:45 AM EDT
linuxdynasty.org; By Allen Sanabria
Mail this story
Print this story

In my previous HowTO, I created the get_port.py script. Now this script did the job, but had a few faults in it. This script has been heavily tested on Cisco Core Switches and on Cisco Catalyst Switches. So far no issues like in the previous one. This script has fixed all the issues in the prior script as well as added functionality. See some below.. Major fault was the fact that the script could not match multiple MAC Addresses per port Also if the port had multiple MAC Addresses it usually would fail while doing the search Better error checking. For example if you searched by IP Address before, the error was ambiguous. Now the error will say the IP Address you are looking for is not in the ARP Table

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Community, Linux, Red Hat, Slackware, Ubuntu

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.