proc StartStaticAuthProtocol { portList } { foreach port $portList { set vport [GetVportMapping $port] set etherObj [lindex [ixNet getList $vport/protocolStack ethernet] 0] catch {ixNet exec start $etherObj} errMsg if {$errMsg != "::ixNet::OK"} { puts "\nError StartStaticAuthProtocol: Starting Static IP/Auth on $port: $errMsg\n" return 1 } else { puts "\nStartStaticAuthProtocol: Successfully started Static IP/Auth on $port: $errMsg" } } }