Multitech MultiConnect Adapter Guía de usuario Pagina 79

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 154
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 78
Chapter 6 – Serial-to-Network Connectivity Using Serial Dial-in
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 79
Scenario 2 – Auto Dial-in in Telnet Mode
This example shows how to setup a serial auto dial-in session in Telnet mode. The auto dial-in session is opened
by Telnet client embedded in the IP module to the configured server on a configured port. Once the session is
opened successfully, there can be two-way traffic between the serial device and the remote server.
You can switch from Command Prompt to Dial-in session using the restore session command.
You can switch from Dial-in session to Command Prompt using <escape-monitor-string>.
Prerequisites
RAW mode (Global and each port) must be disabled using the following command:
Enable/Disable the RAW mode globally for all Auto-Dial-in sessions: # set ip telnet raw-mode <enable/disable>
Auto Dial-in Feature in Telnet Mode
Wireless IP Auto Dial-In Setup in Telnet Mode Commands
# set serial auto-telnet enable
# set serial s0 auto-dialin enable
# set serial s0 auto-dialin trig-mode dtr-char
# set serial s0 auto-dialin-ipaddress 202.54.39.96
# set serial s0 auto-dialin-port 5000
# set serial s0 auto-dialin-protocol telnet
# 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
Notes
Once the PPP link is up with an IP address, the auto dial-in session can be probed. When detecting either a
DTR signal or when any character is received from the serial device connected to the RS-232 serial port of IP
module, the Telnet client on board in the IP module establishes a Telnet session to 202.54.39.96 on port 5000.
The serial tunnel between the serial device and the Telnet Server terminates in one of the following conditions.
– The connection is broken between the serial device and the serial port of the IP module.
– The Telnet Client on board is terminated.
– The Telnet Server terminates the session.
You cannot open more than one Dial-in session.
The Dial-in session is closed when the configuration session is closed (if opened).
When escape-monitor is enabled, care should be taken during file transfer that the escape-monitor-string
is not part of the data.
Vista de pagina 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 153 154

Comentarios a estos manuales

Sin comentarios