sth::connect -device $device -port_list [list $port1 $port2] -break_locks 1 -reset
-reset Removes all port traffic configurations for the specified chassis and ports (using the -device and/or -port_list arguments). Use the -reset argument when you want to create a new test configuration for a connection that you have already established. You can also use -reset in combination with -break_locks to establish a connection to a chassis and reserve (and re-initialize) ports. The following example deletes the ports and disconnects from the chassis, and then reconnects to the chassis and reserves the ports provided in the port list (-port_list): sth::connect -device $device -port_handle $port_list -reset