Multitech MultiConnect Adapter Guía de usuario Pagina 83

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 154
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 82
Chapter 6 – Serial-to-Network Connectivity Using Serial Dial-in
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 83
SocketModem IP basic PPP link establishment Commands
# 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 <dial-number>
# set serial s1 modem dialing-trig-mode <trig-mode>
# set ppp ppp0 ipcp-mode client-only
# set ppp ppp0 username “socketmodem”
# set ppp ppp0 password “socketmodem”
SocketModem IP basic raw-mode auto-dialin Commands
# set ip telnet raw-mode enable
# set serial s0 auto-dialin enable
# set serial auto-telnet enable
# set serial s0 raw-dialin enable
# set serial s0 auto-dialin-host <hostname or ipaddress>
# set serial s0 auto-dialin-port <port_number>
# set serial s0 auto-dialin-protocol telnet
# set serial s0 auto-dialin trig-mode <trig-mode
SocketModem IP Commands for auto-dialin enhancement
# set serial s0 auto-dialin-chat enable
# set serial s0 auto-dialin-chat-script 1 "\"SEND PASSWORD\"" "SECRET"
# set serial s0 auto-dialin-chat-script 2 "OK" \"\"
# set serial s0 auto-dialin-delimiter \$
# set serial s0 auto-dialin-prefix "0001"
Notes:
1. Since auto-dialin is in raw mode, the module cannot switch back from data mode to command prompt.
2. If the “expect-string” is not received from the telnet server, the client onboard waits for timeout value (45
secs) and brings down the TCP connection. A maximum of 15 lines can be given in the auto-dial-in-chat-
script and the maximum length of the “expect-string” and “send-string” is 40 characters.
3. In data mode, if the network connection between the server and the IP Module fails, the IP Module tries to
reconnect to the server after some configured time and auto-dialin chat script should again be negotiated.
4. The data sent by the host to the IP Module during the initial power on, auto-dialin and chat execution is
discarded.
5. The command to view auto-dialin chat-script is
# show serial s0 auto-dialin-chat-script
Vista de pagina 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 153 154

Comentarios a estos manuales

Sin comentarios