N-Tron 102PC-SE user manual Scenario 3 Auto Dialout Using UDP, Auto Dialout Feature using UDP Mode

Page 29

Scenario 3 – Auto Dialout Using UDP

In this scenario, the Auto Dial-out session in UDP mode is initiated by an external UDP Client.

Auto Dialout Feature using UDP Mode

Commands to Setup UDP Dial-out in the 102PC-SE

#set ip eth0 dhcp-client disable

#set ip eth0 ip-address 192.168.2.1

#set ip auto-dialout enable

#set serial s0 auto-dialout enable

#set serial s0 auto-dialout-port 5000

#set serial s0 auto-dialout-protocol udp/all

#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 s0 dialout-monitor dtr

#set ip udp inactivity enable/disable

#set ip udp inactivity-timeout t

#set ip udp terminate-monitor enable/disable

#set ip udp terminate-string <string>

#save

Functionality

When any UDP client connects to the 102PC-SE on the configured port, the 102PC-SE locks the serial port for that UDP-Client and latches to the UDP client address connected. The UDP-Client is now ready to send or receive data to or from the serial device.

How to Terminate the UDP-Dialout Session

1.If the “ inactivity” is enabled and the timeout value is configured, t he active UDP session will be terminated on the expiry of inactive timeout.

2.If the “ terminate-monitor”is enabled, the UDP-Client can terminate the session by sending the terminate-string configured in the 102PC-SE.

3.If both “ inactivity” and “ terminate-monitor are enabled, the UDP dialout session is terminate d on any of the above two events that occurs first.

4.When the “ dialout-monitor”is set to dtr, toggling the DTR signal state terminates The UDP-dialout session.

Notes

Authentication is NOT supported for the UDP Dialout feature.

At any given point of time, only one “UDP Client” c an send or receive data from the serial-device through the 102PC-SE.

# set serial s0 raw-mode <enable/disable> is NOT applicable for the UDP Auto-dialout feature.

12/1/2006

29

Image 29
Contents 12/1/2006 Table of Contents 12/1/2006 Contact Information Safety WarningsEnvironmental Safety Electrical Safety Unpacking Package ContentsCleaning DIN Rail Mounting ServicingColor Description Front PanelApplying Power Top View Grounding Techniques Connecting the Unit RS-232 Serial InterfaceSerial Cable Support FCC Statement TroubleshootingCLI Tree of Menus Set Set configurable fields Serial Configure the serial settings for the serial port s0 Recv-mail Configure incoming mail optionsSend-mail Configure outgoing mail options Show Show general and detailed information Socket Actions to take over a UDP socket Web Management Software Configuration12/1/2006 User Configuration General ConfigurationPort Configuration Web Management Tree of MenusBridge Configuration Modem ConfigurationPPP Configuration ChatscriptSuccessfully. These cannot be modified Telnet ConfigurationAutodial Configuration UDP ConfigurationSnmp Configuration Http ConfigurationSmtp Address Configuration POP3 ConfigurationCommands Sntp Daylight Saving ConfigurationRestore Defaults Sntp GeneralEthernet to Serial Connectivity Mandatory Configuration SettingsScenario 1 Manual Dialout Commands to Setup Manual Dial-out with the 102PC-SEPrerequisites Scenario 2 Auto Dialout Using TelnetAuto Dialout Feature using UDP Mode Scenario 3 Auto Dialout Using UDPScenario 4 Remote Bridging with Modem Connection # set ppp ppp0 raw-mode enableSerial to Ethernet Connectivity Scenario 1 Manual Serial Dial-in Commands to Setup Manual Dial-In with the 102PC-SEScenario 2 Serial Auto Dial-in Using Telnet Functionality Scenario 3 Serial Auto Dial-in Using UDP# set serial s0 raw-dialout enable Scenario 4 Serial Tunneling Mode# set ip telnet raw-mode enable Using E-Mail Features Sending Text E-mails from the Command Prompt Receiving E-mails from the Command Prompt Switch Properties KEY SpecificationsEmissions and Safety Approvals PhysicalTron Limited Warranty