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

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

Written By
Web Webster
Web Webster
Apr 15, 2009

[ Thanks to asanabria6910 for this link.
]

“To make your life easier you should do the following

1. install python-setuptools
2. then run easy_install pysnmp
3. and easy_install pyasn1

“I am using the following revisions from the python cheese shop
pysnmp 4.1.7a and pyasn1 0.0.6a

“You can download the script here

port_report.py

“Please post anything related to this script on this forum link:
http://linuxdynasty.org/phpBB3/viewtopic.php?f=5&t=7”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.