Use the command-line interface
Using the CLI parameter tables in this guide
Digi TransPort WR Routers User Guide
142
tcpperm command: establish a permanent serial to IP connection
The
tcpperm
command is available only as application commands, and has no equivalent web
pages.
tcpperm
establishes a permanent “serial to IP” connection between one of the
ASY
ports
and a remote IP host. After
tcpperm
executes, the router automatically opens a socket connection
to the remote peer whenever data is received from a terminal attached to the specified
ASY
port.
When the socket is first opened and the connection is established, the router issues a
CONNECT
message to the terminal and subsequently relays data between the socket and the
ASY
port. You
can modify the format of the
CONNECT
message using the standard AT commands (such as
ATV
,
ATE
, etc.) or using the web interface page
Configuration > Network > Interfaces > Serial > Serial
Port n
.
Note
Preconfigure the serial port to use the appropriate word format, speed, and flow control.
While the serial-to-IP connection is established, if the attached serial device drops the DTR signal,
the socket connection is terminated, much as with a standard modem or terminal adapter. You can
modify this behavior using the
AT&D
command or the serial port settings.
The format of the command is:
TCPPERM <[ASY 0-1]> <Dest Host> <Dest Port> [UDP] [nodeact] [-
l<listening port>] [-i<inact_timeout>] [-f<fwd_time>] [-e<eth_ip>][-
d(deact link)] [-k<keepalive_time>] [-s<src_port>] [-ok] [-
t<telnet_mode>] [-ho(host only)] [-ssl] [-ao(always open)] [-m<mhome
idx>]
The
tcpperm
parameters are as follows:
Parameter
Description
ASY
The number of the ASY port that the link will be made from/to.
Dest Host
The IP address (or name) of the remote peer.
Dest Port
The port number to use on the remote peer.
UDP
Open a UDP connection (the default is TCP).
-ao
Open socket immediately, and reopen if and when the socket is closed.
-e
Use the address of Ethernet port
n
for the socket connection rather than the default of
the address of the interface over which the socket is opened (that is,
ppp 1
,
ppp 2
, etc.)
-d
Deactivate link. If non-zero, when the socket is closed and there are no other sockets
using the interface then the interface connection is dropped (switched connections
only).
-f
The forwarding time (
x10ms
) for packetizing data from the serial port.
-ho
Host. Indicates that the socket should only accept connections from the specified host.
-i
The inactivity timeout (s) after which the socket will be closed.
-k
Keep alive packet timer (s).
-l
Listening port. Allows the user to set a new TCP port number to listen on rather than the
default value of
4000
+
ASY port #
.
-m
Multihome additional consecutive addresses index
Содержание TransPort WR11
Страница 1: ...User Guide Digi TransPort WR Routers ...
Страница 215: ...Configure network interfaces Configure mobile cellular interfaces Digi TransPort WR Routers User Guide 215 ...
Страница 650: ...Configure system settings NTP parameters Digi TransPort WR Routers User Guide 650 ...
Страница 661: ...Configure system settings General system parameters Digi TransPort WR Routers User Guide 661 ...
Страница 662: ...Configure system settings General system parameters Digi TransPort WR Routers User Guide 662 ...
Страница 663: ...Configure system settings General system parameters Digi TransPort WR Routers User Guide 663 ...
Страница 682: ...Configure Remote Management SNMP parameters Digi TransPort WR Routers User Guide 679 ...
Страница 683: ...Configure Remote Management SNMP parameters Digi TransPort WR Routers User Guide 680 ...
Страница 813: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 808 ...
Страница 814: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 809 ...
Страница 815: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 810 ...
Страница 816: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 811 ...
Страница 817: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 812 ...
Страница 818: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 813 ...
Страница 855: ...Device administration Reboot the router Digi TransPort WR Routers User Guide 844 ...