> 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.  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 :)

 - 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

Reply via email to