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

John Hearns john.hearns at streamline-computing.com
Fri Sep 9 03:12:12 EDT 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:


It uses the Perl Net::SNMP module

Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list