
Chapter 5 – Network-to-Serial Connectivity Using Dialout
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 72
Scenario 2 – Auto Dialout
In this scenario, the Auto Dialout session in Telnet mode is opened using a Telnet client.
Prerequisites
RAW mode (global and each port) MUST BE DISABLED using the Optional Configuration Commands.
A Telnet client can open an auto Dialout session by specifying the configured auto-dialout port.
Once the session is opened successfully, there can be two-way traffic between the Telnet session and the
remote serial device.
Auto Dialout Feature in Telnet Mode
Wireless IP Auto Dialout in Telnet Mode Setup Commands
# set ip telnet auto-dialout enable
# set serial s0 auto-dialout enable
# set serial s0 auto-dialout-port 5000
# set serial s0 auto-dialout-protocol telnet
# set serial s0 baud-rate 115200
# set serial s0 data-bits 8
# set serial s0 parity none
# set serial s0 stop-bits 1
# set serial s0 flow-control rts-cts
# set serial s1 baud-rate 115200
# set serial s1 data-bits 8
# set serial s1 parity none
# set serial s1 stop-bits 1
# 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-or-lan
# set ppp ppp0 authentication enable
# set ppp ppp0 auth-type pap
# set ppp ppp0 username "IP module"
# set ppp ppp0 password "IP module"
# set ppp ppp0 local-ip-addr 202.54.39.95 mask 255.255.255.255
# set ppp ppp0 remote-ip-addr 202.54.39.96 mask 255.255.255.255
# save
Notes
• Once the physical link is up and PPP interface has acquired an IP address the
• Wireless IP modem is ready to accept an auto-dialout connection.
• Use a Telnet client and connect to 202.54.39.95 on port 5000. This eventually establishes a Telnet
auto-dialout session between the IP module and the serial device.
• Closing the Telnet client closes the serial port in use.
• Only one dialout session to the same port can be opened at one time.
• When a dialout session authentication is enabled as specified in the optional commands, the session
prompts for a user name and password before opening. (Enabled by default).
• The serial port is opened with the current serial configuration.
Comentarios a estos manuales