User guide
Chapter 5 – Network-to-Serial Connectivity Using Dialout
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 71
Scenario 1 – Manual Dialout
Connect to the IP module using a Telnet Client on port 5000 (configuration port).
At the command prompt, invoke # dialout serial s0. Once the session is opened successfully, there can be two-way
traffic between the Telnet client and the serial device.
• You can switch from Command Prompt to Dialout session using the restore session command.
• You can switch from Dialout session to Command Prompt using <escape-monitor-string>.
Manual Dialout Feature Through the Command Shell
Wireless IP Manual Dialout Setup Commands
# 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 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
Enable Authentication for PPP Commands
# set ppp ppp0 authentication enable
# set ppp ppp0 authentication-type <pap/chap/pap-chap>
Enable PPP Compression (on both the PPP peers) Commands
# set ppp ppp0 compression enable
# set ppp ppp0 comp-type <both/bsd/deflate>
Notes
• The Authentication and Compression variations can be used while bringing up the PPP logical link in all
the scenarios (except for Transparent Mode)
• Once the physical link is up and PPP interface has acquired an IP address, the IP module is ready to
accept a Dial-Out connection.
• Use a remote Telnet client and connect to 202.54.39.95 on port 5000 (refer to the figure above). On
successful login, at the IP module command prompt, invoke # dial-out serial s0
The serial port now opens for use.
• Only one dialout session can be open at a time.
• The Dialout session is closed when the Telnet session is closed, thereby releasing the serial port.
• When the Dialout session authentication is enabled as specified in the Optional Configuration
Commands list, the session prompts for the user name and password. (Enabled by default).
• The serial port is opened with the current serial configuration.
• When escape-monitor is enabled, care should be taken during file transfer that the escape-monitor-
string is not part of the data.