N-Tron Scenario 1 Manual Dialout, Commands to Setup Manual Dial-out with the 102PC-SE

Page 27

Scenario 1 – Manual Dialout

Connect to the 102PC-SE using a telnet Client on port 23 (or configuration port).

At the command prompt, invoke # dialout serial s0. Once the session is opened successfully, there can be two-way traffic between the telnet client and the serial device.

o You can switch from Command Prompt to Dialout session using "restore session" command.

o You can switch from Dialout session to Command Prompt using "<escape-monitor-string>" respectively.

Manual Dialout Feature through Command Shell

Commands to Setup Manual Dial-out 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 in the 102PC-SE, use a telnet client and connect to 192.168.1.202 on port 23.

On successful login, at the 102PC-SE command prompt, invoke

# dialout serial s0

The serial port now opens for use.

Notes:

1.Only one dial-out session can be open at a time.

2.The Dial-out session is closed when the Telnet session is closed, thereby releasing the serial port.

3.When Dial-out session authentication is enabled as specified in Optional commands, the session prompts for user-name and password before opening the session successfully. (Enabled by default).

4.The serial port is opened with the current serial configuration.

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

6.Manual dial-out is supported for the Telnet protocol ONLY and not for the UDP protocol.

12/1/2006

27

Image 27
Contents 12/1/2006 Table of Contents 12/1/2006 Contact Information Safety WarningsEnvironmental Safety Electrical Safety Package Contents CleaningUnpacking DIN Rail Mounting ServicingColor Description Front PanelApplying Power Top View Grounding Techniques Connecting the Unit Serial Interface Serial CableRS-232 Support FCC Statement TroubleshootingCLI Tree of Menus Set Set configurable fields Recv-mail Configure incoming mail options Send-mail Configure outgoing mail optionsSerial Configure the serial settings for the serial port s0 Show Show general and detailed information Socket Actions to take over a UDP socket Web Management Software Configuration12/1/2006 Web Management Tree of Menus General ConfigurationUser Configuration Port ConfigurationChatscript Modem ConfigurationBridge Configuration PPP ConfigurationSuccessfully. These cannot be modified Telnet ConfigurationAutodial Configuration UDP ConfigurationPOP3 Configuration Http ConfigurationSnmp Configuration Smtp Address ConfigurationSntp General Sntp Daylight Saving ConfigurationCommands Restore DefaultsEthernet 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 UDPScenario 4 Serial Tunneling Mode # set ip telnet raw-mode enable# set serial s0 raw-dialout enable Using E-Mail Features Sending Text E-mails from the Command Prompt Receiving E-mails from the Command Prompt Physical KEY SpecificationsSwitch Properties Emissions and Safety ApprovalsTron Limited Warranty