background image

                                                                                   

CLI user manual 

 

 
 

NP30XT series serial device server 

CLI user manual

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Version 1.0.0, Mar. 2015 

Summary of Contents for NP30XT series

Page 1: ...CLI user manual NP30XT series serial device server CLI user manual Version 1 0 0 Mar 2015 ...

Page 2: ...ent As the product version upgrades or other reasons this document is subject to change without notice Unless other agreement this document only as a guide to use All statement information and suggestion in this document without warranty of any kind either expressed or implied Revision History Version No Date Reason V1 0 0 2013 07 First time to publish V1 0 1 2013 09 Modify Documents V1 0 2 2013 1...

Page 3: ...ORMATION 5 2 3 CONFIGURATION INFORMATION 6 2 4DELETE DEVICE INFORMATION 6 CHAPTER 3 INFORMATION CONFIGURATION 7 3 1 ENTER INTO SERIAL CONFIGURATION VIEW 7 3 2 DISPLAY SERIAL INFORMATION 8 3 3 CLEAR SERIAL INCORRECT INFORMATION 10 3 4 SERIAL PARAMETER CONFIGURATION 10 3 5 WORKING MODE PARAMETER CONFIGURATION 11 CHAPTER 4 SYSTEM MANAGEMENT 14 4 1 ENTER INTO THE VIEW OF SYSTEM MANAGEMENT CONFIGURATIO...

Page 4: ...l server can get it by search or modify Use IP command under the system management view 2 If PC and serial device server in the same local area network the IP address must in a same network segment otherwise PC and serial device server must cross router If satisfied these two requirements can use telnet access to serial device server and then configure the serial device server 1 Establish configur...

Page 5: ...parated by Like file create folder means create a folder under the menu of file 1 3 Command line port Serial server provides command lines port and its configuration for user s easy configuration and management Command lines port includes the following features 1 Local configuration through Console port 2 Supports history command saving which means it can save 10 pieces History commands can be sel...

Page 6: ...odify serial information like as baud rate data bit mode configuration Switch Serial Serial Manage Show or modify configuration information like IP address subnet mask default gateway and password etc Switch manage Manage 1 3 2 Command lines Online help Command lines port provides the following online help Total help Partial help 1 Total help 1 Type in to get all commands and their description Exa...

Page 7: ...mand Lines All commands typed by users if it is certificated by grammar it can run correctly or users will be sent incorrect information Frequent incorrect information is in table 1 4 3 as below Table 1 4 3 Frequent incorrect information English incorrect information Reason Invalid Command Command cannot be found Key word cannot be found The type of parameter is wrong The parameter is beyond the b...

Page 8: ...e Type Name etc show others Carry out under the view of device information Configure device model name etc config Carry out under the view of device information Delete device model name etc clean Carry out under the view of device information Example Enter into device information view enter the bold type command as follows and enter return key Switch information Switch information List List comman...

Page 9: ...23 OK Example Configure device serial number as 201304111 enter the bold type command as follows and enter return key Switch information config m 201304111 OK 2 4 Delete device information Please reference table 2 4 1 Table 2 4 1 Operating Command Description Delete Device Type Clean t Carry our under the view of device information Delete Device Name Clean n Carry our under the view of device info...

Page 10: ...ter return key Switch serial Serial COM1 Obtain serial configuration command List List commands of current menu Help Help commands of current menu Quit Quit from CLI Exit Exit from current menu Reboot Reboot switch 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 Com Enter serial com1 setting menu...

Page 11: ... link port_list port_list Choice the port number of serial 1 2 3 4 5 6 7 8 or all optional Statistics incorrect information of the serial Show err port_list port_list Choice the port number of serial 1 2 3 4 5 6 7 8 or all optional Display serial configuration information Show config port_list port_list Choice the port number of serial 1 2 3 4 5 6 7 8 or all optional Example Display COM2 connectio...

Page 12: ... mode RS422 Session Option OneToOne Session 1 State Enable Session mode TCP server local port 30000 heartbeat interval 0 S TCP link TimeOut 300 S RealCom Disable Session 2 State Enable Session mode TCP server local port 30001 heartbeat interval 0 S TCP link TimeOut 300 S RealCom Disable Session 3 State Enable Session mode TCP server local port 30002 heartbeat interval 0 S TCP link TimeOut 300 S Re...

Page 13: ...s Packs_bytes data frames range1 1460 byte Configuration serial character time space Set packs_time Packs_time Packs_time Character time space 1 500ms Configuration serial working mode Set Com_mode Com_mode Com_mode working mode 0 RS 232 1 RS 422 2 RS 485 Example Configuration COM2 parameter baud rate 300bps parity ODD data bits 6 bits stop bits 2bits enter the bold type command as follows and ent...

Page 14: ...mation Set TCP_C session_list enable local_port dns dest_addr dest_port link_mode heartbeat TCP_timeout realCom session_list Session choice 1 2 3 4 or all optional enable Open session or not 0 disable 1 Enable local_port Local port range 1 65535 dns Open DNS or not 0 disable 1 Enable dest_addr IP configuration ip or domain dest_port Destination port range 1 65535 link_mode connection mode 0 data a...

Page 15: ...ort Local port range 1 65535 heartbeat heartbeat time 0 65535 S TCP_timeout Timeout 0 65535 S RealCom Virtual COM port or not 0 disable 1 Enable Advanced UDP working mode Set UDP_multi session_list local_port dns dest_addr dest_addr_end dest_port RealCom session_list Session choice 1 2 3 4 or all optional local_port Local port range 1 65535 dns Open DNS or not 0 disable 1 Enable dest_addr IP confi...

Page 16: ...g mode TCP server session 4 enter the bold type command as follows and enter return key Serial COM2 SET session_multi 1 4 OK Example COM2 in advanced mode configuration destination port 2000 heart time 0s timeout 30s Virtual COM port disable enter the bold type command as follows and enter return key Serial COM2 set TCP_S_multi 2000 0 30 0 OK Example COM2 in advanced mode session 1 destination 100...

Page 17: ...ter the bold type command as follows and enter return key Switch manage Switch Manage List List commands of current menu Help Help commands of current menu Quit Quit from CLI Exit Exit from current menu Reboot Reboot switch Ip Set ip address and subnet mask Set Set Console Overtime Show net_address Show Internet address Restore Reset to default config Hostname Set hostname Password Set password Ga...

Page 18: ...ration of IP address Ip ip_address mask ip_address ip address mask subnet mask Default gateway Gateway gateway gateway gateway address Example Configure IP address 192 168 1 254 subnet mask 255 255 255 0 default gateway 192 168 1 1 enter the bold type command as follows and enter return key Switch Manage ip 192 168 1 254 255 255 255 0 OK Switch Manage gateway 192 168 1 1 OK 4 5 User name password ...

Page 19: ...K Example Steps of uploading configurable files are as follows enter the bold type command as follows and enter return key 1 Input command System_manage upload Please send configuration file or press Esc to quit CCCCCCCCCCC From input upload command and the first C appearing if no operating within 2 minutes system will quit by itself 2 Configure Hyper Terminal and select configurable files wanted ...

Page 20: ...CCCCCCCCCCCCCCCCCCCCCC 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 ...

Reviews: