
Chapter 5 – Network-to-Serial Connectivity Using Dialout
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 73
Scenario 3 – Auto Dialout in RAW Mode
In this scenario, the Auto-Dialout session in RAW mode is opened using a RAW-TCP client.
Prerequisites
RAW mode (Global and each port) MUST BE ENABLED using the Optional Configuration Commands.
The Auto Dialout session can be opened by a RAW-TCP client by specifying the auto-dialout configured port. Once
the session is opened successfully, there can be two-way traffic between the Telnet session and the remote serial
device.
Important – You cannot switch between the Command Prompt and the Dialout session in RAW-mode.
Auto Dialout Feature in RAW Mode
Commands to Setup Auto Dial-out in RAW-Mode for the IP Module
# set ip telnet auto-dialout enable
# set ip telnet raw-mode enable
# set serial s0 stop-bits 1
# set serial s0 baud-rate 115200
# set serial s0 data-bits 8
# set serial s0 parity none
# set serial s0 flow-control rts-cts
# set serial s0 auto-dialout enable
# set serial s0 raw-dialout enable
# set serial s0 auto-dialout-port 5000
# set serial s0 auto-dialout-protocol telnet
# set serial s1 stop-bits 1
# set serial s1 baud-rate 115200
# set serial s1 data-bits 8
# set serial s1 parity none
# set serial s1 flow-control rts-cts
# set serial s1 connect-type modem
# set serial s1 modem dial-number 123
# set serial s1 modem dialing-trig-mode none (See Chapter 4 - Scenario Setup Prerequisites)
# set ppp ppp0 ipcp-mode client-only
# set ppp ppp0 username "IP module"
# set ppp ppp0 password "IP module"
# save
Notes
• Once the physical link is up and PPP interface has acquired an IP address the
• Wireless IP modem is ready to accept Auto dialout connection.
• Use a Telnet client. Connect to 202.54.39.95 on port 5000 (RAW TCP socket). This establishes a Telnet
auto-dial-out session in RAWMODE with the IP module, thereby opening the serial port for use.
• Closing the Telnet client closes the serial port in use.
• You cannot open more than one dialout session to the same port.
• When the Dialout session authentication is enabled as specified in the Optional Configuration Commands,
the session prompts for a user name and password before opening the session successfully.
• The serial port is opened with the current serial configuration.
Kommentare zu diesen Handbüchern