N-Tron 102PC-SE user manual Scenario 1 Manual Serial Dial-in

Page 32

Scenario 1 – Manual Serial Dial-in

Login in to the Command prompt from the serial side.

Invoke # telnet <ip-address> <port> at the command prompt. 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 restore session command.

You can switch from Dial-in session to Command Prompt using <escape-monitor-string>.

Manual Dial-in Feature Through the Command Shell

Commands to Setup Manual Dial-In with the 102PC-SE

#set ip eth0 dhcp-client disable

#set ip eth0 ip-address 192.168.2.1

#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

#save

Once the above configuration is saved on the 102PC-SE, login to the 102PC-SE through the serial port. At the command shell invoke:

# telnet 192.168.2.10 23

The telnet client on board in the 102PC-SE establishes a virtual serial tunnel between the serial device and the Telnet Server.

Notes:

1.You can not open more than one dial-in session.

2.The dial-in session is closed when the telnet session is closed.

3.When escape-monitoris enabled, care should be taken during file transfer that the escapemonitor- ring is not part of the data.

4.The manual dial-in is supported for Telnet ONLY and not for UDP.

12/1/2006

32

Image 32
Contents 12/1/2006 Table of Contents 12/1/2006 Safety Warnings Contact InformationEnvironmental Safety Electrical Safety Unpacking Package ContentsCleaning Servicing DIN Rail MountingFront Panel Color DescriptionApplying Power Top View Grounding Techniques Connecting the Unit RS-232 Serial InterfaceSerial Cable Troubleshooting Support FCC StatementCLI 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 Software Configuration Web Management12/1/2006 General Configuration User ConfigurationPort Configuration Web Management Tree of MenusModem Configuration Bridge ConfigurationPPP Configuration ChatscriptTelnet Configuration Successfully. These cannot be modifiedUDP Configuration Autodial ConfigurationHttp Configuration Snmp ConfigurationSmtp Address Configuration POP3 ConfigurationSntp Daylight Saving Configuration CommandsRestore Defaults Sntp GeneralMandatory Configuration Settings Ethernet to Serial ConnectivityCommands to Setup Manual Dial-out with the 102PC-SE Scenario 1 Manual DialoutScenario 2 Auto Dialout Using Telnet PrerequisitesScenario 3 Auto Dialout Using UDP Auto Dialout Feature using UDP Mode# set ppp ppp0 raw-mode enable Scenario 4 Remote Bridging with Modem ConnectionSerial to Ethernet Connectivity Commands to Setup Manual Dial-In with the 102PC-SE Scenario 1 Manual Serial Dial-inScenario 2 Serial Auto Dial-in Using Telnet Scenario 3 Serial Auto Dial-in Using UDP Functionality# 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 KEY Specifications Switch PropertiesEmissions and Safety Approvals PhysicalTron Limited Warranty