Page 1
CLI user manual NP30XT series serial device server CLI user manual Version 1.0.0, Mar. 2015...
Page 2
CLI user manual Statement Copyright Notice Information in this document is reserved by Shenzhen 3onedata Technology Co., Ltd. Reproduction and extract without permission is prohibited. Trademarks Notice is registered trademarks of Shenzhen 3onedata Technology Co.,Ltd. All other trademarks or regitered marks in this manual belong to their respective manufacturers.
CLI user manual Content CHAPTER 1 ACCESS TO SERIAL SERVER SERIAL DEVICE SERVER ......1 1.1 C ..................... 1 ONFIGURATION THROUGH ELNET 1.2 A ..........................2 GREEMENT 1.3 C ........................2 OMMAND LINE PORT 1.3.1 View of Command Lines ..................... 2 1.3.2 Command lines Online help ....................
CLI user manual CHAPTER 1 Access to Serial server serial device server The CLI user manual compliant with the products as follows: NP302-2D(RS-232), 2 port RS-232 to Ethernet; NP302-2D(RS-485), 2 port RS-485/422 to Ethernet; NP304-4D(RS-232), 4 port RS-232 to Ethernet; NP304-4DI(RS-485), 4 port RS-485/422 to Ethernet;...
CLI user manual 4)Use command to configure Serial server and check the running statues, if need help, please input“?” at any time. Specific configuration command, please reference“Serial server user manual”. 1.2 Agreement Command line format agreement table 1.2.1 as follow Table 1.2.1 Bold Key words of the command show by bold type.
CLI user manual (Figure 1.3.1) Table 1.3.1 system view command list View Function DOS Prompt Enter Quit Help or ? Switch# Quit System View return user login Switch (information)# Information Show or modify device Information information, like software version, IP address, etc. Show or modify serial Switch (Serial)# Serial...
CLI user manual Port --Enter port setting view Serial --Enter Serial setting menu Manage --Enter system manage view Information --Enter device information view 2)Type in a command and “?”, between there is a space, if key word is in this location, then type in all keywords and descriptions.
Example: Check device name and model number etc Switch (information)# show others Device type Serial server Device name Serial server Description Serial Server Serial number 201304160001 Contact way www.3onedata.com Example: Check the MAC address Switch(information)# show mac Device MAC address : 00.22.6F.BB.00.02 Page5...
CLI user manual 2.3 Configuration information Please reference user configuration device information as table 2.3.1: Table 2.3.1 Operating Command Description Type: configurable type, the length is between Configure Device Type config –t type 1~17 characters Name: configurable name, length Configure Device Name config -n name between1~17 characters Number: configurable number, the length is...
CLI user manual CHAPTER 3 Information configuration Serial server support 2/4/8/16 port serial, each serial port included 2 mode configuration: based mode configuration and advanced mode configuration. Based mode: Support 0~4 sessions(option), working mode: TCP Client, TCP Server, UDP and TcpAuto. Advanced mode: Support 0~4 sessions(option), working mode: TTCP Server, UDP.
CLI user manual Show config --Show COM config information Show link --Show COM link state information Show err --Show COM send err data Clear err --Clear COM send err counter --Enter serial com1 setting menu Config --Config serial Set Packs_bytes --COM set Set Packs_time --COM set...
Page 12
CLI user manual Session<3> ch err: 0 bytes Session<4> ch err: 0 bytes Example: Display COM1 configuration information, enter the bold type command as follows and enter return key: Serial(COM1)# show config 1 COM<1> Buadrate: 115200(bps) Data bit: 8(bits) Parity bit: NONE(bits) Stop bit: 1(bits)
CLI user manual 3.3 Clear serial incorrect information Please check table 3.3.1 Table 3.3.1 Operating Command Description <port_list>: Choice the port number of serial Clear serial incorrect clear err<port_list> information 1、2、3、 4、5、6、7、8 or all optional 3.4 Serial parameter configuration Please check table 3.4.1 Table 3.4.1 Operating Command...
CLI user manual 3.5 Working mode parameter configuration Please check table 3.5.1 Table 3.5.1 Operating Command Description Working mode <OneToMulti>: 0 --OneToOne Based mode Set OneToMulti <OneToMulti> configuration 1 --OneToMulti Advanced mode <session_list> : Session choice. 1,2,3,4 or all optional <enable>:Open session or not --disable --Enable...
Page 15
CLI user manual Operating Command Description : <session_list> Session choice. 1,2,3,4 or all optional : <enable> Open session or not --disable --Enable : <local_port> Local port, range{1-65535} : <dns> Open DNS or not Set TCP_A --disable <session_list><enable><local_po AUTO --Enable rt> mode :...
Page 16
CLI user manual Serial(COM2)# set UDP 1 1 55555 0 192.168.1.55 44444 0 [OK] Example: Configuration“ session: 1, local port: 3333, diable DNS, IP address: 192.168.17.11, destination port: 2222, connection mode: link now, heartbeat time: 0, Timeout: 20s, virtual COM port disable”, enter the bold type command as follows and enter return key: Serial(COM2)# set tCP_C 1 1 33333 0 192.168.17.11 22222 1 0 20 0 [OK]...
CLI user manual CHAPTER 4 System management 4.1 Enter into the view of System management configuration Please check the table 4.1.1 System management configuration included: 1. The configuration of system overtime 2. The configuration of Default gateway, IP address 3. The configuration of user name and password. 4.
CLI user manual 4.3 Overtime time configuration Please check the table 4.3.1 Overtime time is defined as: after enter into CLI configuration mode, overtime time with none operation, after over time, will go to user mode automatic, re-identify user name and password Table 4.3.1 Operating Command...
CLI user manual Restore Settings or not? (yes/no) yes Wait..4.7 Upload and Download Configurable files Please check the table 4.7.1 Table 4.7.1 Operating Command Description Upload Configurable files Upload Suffix of file is (.cfg) Download Configurable files Suffix of file is (.cfg) Download Example: Steps of downloading configurable files are as follows, enter the bold type command as follows and enter return key:...
Page 20
CLI user manual CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 2. Configure Hyper Terminal and select Upgrading files wanted with suffix of .bin. [Transfer] →[Send File] →[Browse] →[choose folder] →[configurable file user choose to upload] → [Open] → [Use Protocol] →[Xmodem]→[Send] 1. Telnet did not support this command Page17...