Section 7: Command reference
Also see
localnode.prompts
localnode.showerrors
tspnet.tsp.abortonconnect
tspnet.disconnect()
tspnet.disconnect()
This function disconnects the TSP-Net session specified.
Type
TSP-Link accessible
Function
Yes
Usage
tspnet.disconnect(connectionID)
connectionID
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)
Also see
tspnet.connect()
tspnet.execute()
This function executes a command string on the remote device.
Type
TSP-Link accessible
Function
Yes
7-230
(on page 7-129)
(on page 7-133)
(on page 7-237)
(on page 7-230)
Affected by
The connection ID returned from tspnet.connect()
(on page 7-229)
Affected by
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Create a TSP-Net session.
Close the session.
Where saved
Default value
707B-901-01 Rev. A / August 2010