
Chapter 6 – Serial-to-Network Connectivity Using Serial Dial-in
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 77
UDP Mandatory Configuration Settings
The following items must be configured in order to use the UDP auto-dial-in feature:
• Enable Auto dial-in globally on all the serial ports.
# set serial auto-dialin enable
• Enable Auto dial-in on the serial port s0.
# set serial s0 auto-dial-in enable
• Set the Auto dial-in protocol.
# set serial s0 auto-dialin-protocol udp
• Set the Auto dial-in Server IP Address.
# set serial s0 auto-dialin-ipaddress <ipaddress>
• Set the port to the one which the telnet client will be connected.
# set serial s0 auto-port-port <port_number>
Telnet Optional Configuration Settings
The following commands can be used for optional configurations:
• Enable/Disable Switching-between-Dial-in and the Command Prompt feature.
# set serial escape-monitor <enable/disable>
• Set the Escape-Monitor-String to switch between Dial-in and Command Prompt sessions.
# set serial escape-string "+++inet"
• Set the Serial Dial-in Trigger mode. It dictates the criterion for establishing a connection. The
options provided are on reception of <char/ dtr/ dtr-char/ none>.
Refer to the command line configuration section for details about this command.
# set serial s0 auto-dialin trig-mode <char/dtr/dtr-char/none>
• Enable/Disable the RAW mode globally for all Auto-Dial-in sessions.
# set ip telnet raw-mode <enable/disable>
• Enable/Disable the RAW mode for Auto-Dial-in session on serial port s0.
# set serial s0 raw-dial-in <enable/disable>
UDP Auto-Dial-in Optional Configuration Settings
The following details are optional configurations:
• Enable/Disable Switching-between-Dial-in and the Command Prompt feature.
# set serial escape-monitor <enable/disable>
• Set the Escape-Monitor-String to switch between Dial-in and Command Prompt sessions.
# set serial escape-string "+++inet"
• Set the Serial Dial-in Trigger mode to dictate the criterion for establishing a connection. The options
provided are on reception of <char/ dtr/ dtr-char/ none>. Refer the command line configuration
section for a detail know how of this command.
# set serial s0 auto-dialin trig-mode <char/dtr/dtr-char/none>
• Enable/Disable the Terminating Dialin Session using Inactivity Timeout
# set ip udp udp-inactivity <enable/disable>
• Set the Inactivity Timeout to Terminate the Dialin Session.
# set ip udp udp-inactivity-timeout 300
Commands for Auto-Dialin
• Enable auto-dialin-chat.
# set serial s0 auto-dialin-chat to enable.
• Set expect and sent string for execution.
# set serial s0 auto-dialin-chat-script <line-num> <expect-string> <send-string>
Notes:
1. To configure a string with more than one word, it has to be given in double quotation marks.
2. Special characters should be preceded with a backslash.
3. Null strings should be given as \ " \ " or as \ ' \ '
• Set the delimiter.
# set serial s0 auto-dialin-delimiter <character>
• Set the prefix string.
# set serial s0 auto-dialin-prefix <prefix_string>
Kommentare zu diesen Handbüchern