
Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-230
707B-901-01 Rev. A / August 2010
Also see
(on page 7-129)
(on page 7-133)
(on page 7-237)
tspnet.disconnect()
This function disconnects the TSP-Net session specified.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
tspnet.disconnect(connectionID)
connectionID
The connection ID returned from
tspnet.connect()
Details
This function disconnects the two devices by closing the connection. The
connectionID
is the session handle
returned by
tspnet.connect()
.
For TSP-enabled devices, this aborts any remotely running commands or scripts.
Example
testID = tspnet.connect("192.0.2.0")
-- Use the connection
tspnet.disconnect(testID)
Create a TSP-Net session.
Close the session.
Also see
tspnet.execute()
This function executes a command string on the remote device.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes