On Thu, 2007-03-08 at 13:39, Roland Dreier wrote: > > No standalone script, sorry. But it's simple to automate with expect or > > autoexpect using the switch CLI. > > Or you can use SNMP to set the interface admin status.
One can alter the IB port states with the diagnostics and perhaps get a similar thing. > Something like > this one-liner for example (using snmpset from the NET SNMP package): > > snmpset -v2c -cprivate <switch IP> > interfaces.ifTable.ifEntry.ifAdminStatus.<port #> = 2 > > where port # for an IB port is the real physical port # + 64 (eg port > 19 would use port number 83 in the snmp request). > > (And yes this is another advantage of a managed switch beyond the > embedded SM :) Are you saying MIBs are only supported on "managed" switches ? You certainly don't need an embedded SM for this... -- Hal > - R. > _______________________________________________ > general mailing list > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
