Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

[Beowulf] How can i get the port number of a switch port via snmp?

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

John Hearns john.hearns at streamline-computing.com
Fri Sep 9 00:12:12 PDT 2005


On Thu, 2005-09-08 at 18:11 +0800, Zhang Hui wrote:
> Hi,all
> 
> 	I need to disable a switch port my machine is connected to. But first I have to know the port number,haven't i?
> 	So how can i get the port number? 

The cabling in your cluster should be labelled,
so you could simply follow the cable and identify the switch port.

To get a port number using SNMP, you might start with this script,
which works for 3Com switches:

http://www.webservertalk.com/archive215-2004-6-253855.html

It uses the Perl Net::SNMP module




More information about the Beowulf mailing list