The text of a manual · part 19 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 177 to 186
Pages 177 to 186 of 454, from Cyclades-TS User Guide
The original document is the PDF (4.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cyclades TS2000 and Avocent TS2000
Page 177
Chapter 3 - Additional Features where: -Ci common arguments enterprise-oid agent
Optional. It sends INFORM-PDU. Required. They are: "-c <community name> <SNMP server IP address>" Required, but it can be empty (''). Required, but it can be empty (''). The agent name.
generic-trap
The generic trap number: 2 (link down), 3 (link up), 4 (authentication failure), ...
specific-trap
Required. The specific trap number.
uptime
Required.
[objectID type value]
Optional. objectID is the object oid. You want to inform its value to server.
If the network entity has an error processing the request packet, an error packet will be returned and a message will be shown, helping to pinpoint in what way the request was malformed. If there were other variables in the request, the request will be resent without the bad variable. For example, to send a Link Down trap to server at 10.0.0.1 with interfaces.iftable.ifentry.ifde-scr: snmptrap -v 1 10.0.0.1 public "" 2 0 "" .1.3.6.1.2.1.2.2.1.2.1 s "TS: serial port number 1 is down"
-Ci common arguments enterprise-oid
User Guide
Optional. It sends INFORM-PDU. Required. They are: SNMP server IP address and community. Required, but it can be empty ('').
177
Page 178
Help
Help Help Wizard Information Synopsis: wiz [--OPTIONS] [--port <port number>]
Note: To directly configure a feature for a specific serial port, use the ”- -port <port number>” option after “wiz - -[option].”
Note: Make sure there are two hyphens before any of the options listed on the following table.
Table 10: General Options for the Help Wizard Option
Description ac <cas or ts>
Configuration of access method parameters al
Configuration of alarm parameter all <cas or ts>
Configuration of all parameters auth
Configuration of authentication parameters db
Configuration of data buffering parameters help
Print this help message pm
178
Configuration of power management parameters.
Cyclades-TS
Page 179
Chapter 3 - Additional Features Table 10: General Options for the Help Wizard Option
Description sl
Configuration of syslog parameters snf
Configuration of sniffing parameters sset <cas or ts>
Configuration of serial setting parameters tl
Configuration of terminal login display parameters tso
Configuration of other parameters specific to the TS profile
Step 1: Bring up the wizard. At the command prompt, type the following to bring up the Help custom wizard (you can also type wiz -h): wiz --help
Help Command Line Interface Information Note: To enter into CLI mode, type config at the terminal prompt. You will then get a CLI prompt similar to config@hostname>>. Once in CLI mode, you eliminate the need to type config at the beginning of your CLI commands. To exit from this mode, type exit or quit.
Synopsis 1 - Configuration of Port Specific Parameters config configure line [serial port number] [options] or in CLI mode: configure line [serial port number] [options]
The following table shows Help CLI Options and the actual parameter modified for Synopsis 1.
User Guide
179
Page 180
Help
Table 11: Help CLI Options - Synopsis 1 Option
Actual Parameter Modified accthost1 <string> accthost1 accthost2 <string> accthost2 adminusers <string> admin_users alarm <number> alarm authhost1 <string> authhost1 authhost2 <string> authhost2 authtype <string> authtype auto_input <string> auto_answer_input auto_output <string> auto_answer_output break <string> break_sequence datasize <number> datasize databuffering <number> data_buffering dbmenu <number> dont_show_DBmenu dbmode <string>
DB_mode dbtimestamp <number>
DB_timestamp dcd <number> dcd dtr_reset <number>
DTR_reset escape <string> escape_char flow <string> flow host <string> host idletimeout <number> idletimeout
180
Cyclades-TS
Page 181
Chapter 3 - Additional Features Table 11: Help CLI Options - Synopsis 1 Option
Actual Parameter Modified ipno <string> ipno issue <string> issue lf <number> lf_suppress modbus <string> modbus_smode multiplesess <string> multiple_sessions parity <string> parity pmkey <string> pmkey pmnumofoutlets <number> pmNumOfOutlets pmoutlet <string> pmoutlet pmtype <string> pmtype pmusers <string> pmusers pollinterval <number> prompt <string> poll_interval prompt protocol protocol <string> retries <number> timeout secret <string> secret sniffmode <string> sniff_mode socket <number> socket_port speed <number> speed stopbits <number> stopbits sttycmd <string> sttyCmd syslogdb <number> syslog_buffering
User Guide
181
Page 182
Help Table 11: Help CLI Options - Synopsis 1 Option
Actual Parameter Modified syslogsess <number> syslog_sess telnetclientmode <number> telnet_client_mode term <string> term timeout <number> timeout tty tty <string> txinterval <number> tx_interval userauto <string> userauto users <string> users
(Refer to Appendix C for more info on the parameters.)
Synopsis 2 - Configuration of Network-related Parameters config configure ether [options] or in CLI mode: configure ether [options] Table 12: Help CLI Options - Synopsis 2
Option
Description
Actual Parameters Modified ip <string>
Configuration of the IP of the Ethernet interface.
conf.eth_ip mask <string>
Configuration of the mask for the Ethernet network.
conf.eth_mask mtu <number>
Configuration of the Maximum Transmission Unit size.
conf.eth_mtu
182
Cyclades-TS
Page 183
Chapter 3 - Additional Features (Refer to Appendix C for more info on the parameters.)
Synopsis 3 - Configuration of other Conf. Parameters config configure conf [options] or in CLI mode: configure conf [options]
Table 13: Help CLI Options - Synopsis 3 Option
Actual Parameter Modified dbfacility <number> conf.DB_facility facility <number> conf.facility group <string> conf.group locallogins <number> conf.locallogins nfsdb <string> conf.nfs_data_buffering
(Refer to Appendix C for more info on the parameters.)
User Guide
183
Page 184
Help
Note: To include spaces within the string you are configuring, encapsulate the string within single or double quotes. For instance, to configure s2.sttyCmd igncr -onlcr, type (do not put a space after a comma): config configure line 2 sttycmd "-igncr -onlcr"
Tip. You can specify the range or list of serial ports if you wish to configure the same parameters for several ports. For instance, to configure parameters for ports 2 through 4, you can type this command: config configure line 2-4 [options]. Or to configure parameters for just ports 4, 6, and 9, you can type: config configure line 4,6,9 [options] (Do not put a space after the commas when listing the serial ports.)
Requesting Help for the CLI There are two methods for requesting help for the CLI: •
To obtain general help on the format of CLI, type config help | more at the terminal prompt.
•
Help may be requested at any point in a command by entering a “?.” If nothing matches, the help list will be empty and you must backup until entering a “?” shows the available options.
For example: •
To find out possible commands that can come after config, type: config ?
•
To find out what parameters are configurable through CLI, type: config configure line <serial port number> ?
184
Cyclades-TS
Page 185
Chapter 3 - Additional Features Modbus MODBUS is an application layer messaging protocol for client/server communication which is widely used in the industrial automation. It is a confirmed service protocol and offers many services specified by function codes, like reading and writing registers on PLCs. A protocol converter for the MODBUS protocol over the TCP/IP communication stack (Modbus/TCP) is implemented in the Cyclades-TS and converts Modbus/TCP ADUs from the Ethernet interface to plain MODBUS message frames over a serial RS-232 or RS-485 interface, and vice versa, supporting both serial modes (ASCII and RTU).
PLC
PLC
PLC
Figure 29: Modbus application
User Guide
185
Page 186
Modbus In this example, the Automation Application running in the Workstation (local or remote) controls the PLCs connected to the serial port (RS-485) of the Cyclades-TS110/100 using MODBUS/TCP protocol. The connection is opened using the Cyclades-TS110/100 Ethernet IP address and TCP port = 502. The Cyclades-TS110/100 accepts the incoming connection and converts MODBUS/ TCP ADUs (packets) to plain MODBUS frames and sends them over the serial port. On the other hand, the MODBUS frames received from the serial port are converted to MODBUS/ TCP ADUs and sent through the TCP connection to the Automation Application. The configuration described earlier for Console Access Servers (see Figure 1: Console Access Server diagram) should be followed with the following exceptions for this example:
Table 14: Modbus parameters
186
Value for this Example
Parameter
Description all.protocol
For the console server profile, the possible protocols are socket_server (when telnet is used), socket_ssh (when ssh version one or two is used), raw_data (to exchange data in transparent mode – similar to socket_server mode, but without telnet negotiation, breaks to serial ports, etc.), or modbus (an application layer messaging protocol for client/server communication widely used for industrial automation).
modbus all.modbus_ smode
Communication mode through the serial ports. This parameter is meaningful only when modbus protocol is configured. The valid options are ascii (normal TX/ RX mode) and rtu (some time constraints are observed between characters while transmitting a frame). If not configured, ASCII mode will be assumed.
ascii
Cyclades-TS