The text of a manual · part 5 of 18
Digi One and PortServer TS Family User's Guide: Configure Network and Serial Ports, pages 36 to 44
Pages 36 to 44 of 140, from Digi One and PortServer TS Family User's Guide
The original document is the PDF (2.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 Digi PortServer TS4
Page 36
Port Profiles Console Management Port Profile Console Management involves accessing a device's console port over a network connection. Most network devices such as routers, switches, and servers offer serial port(s) for management. Instead of connecting a terminal to the console port, cable the console port to the serial port of your Digi device. Then using Telnet features, network administrators can access these consoled serial ports from the LAN by addressing the appropriate TCP port.
36
Chapter 3 Configure Network and Serial Ports
Page 37
Port Profiles Enabling Port Sharing
Under Console Management you can also enable port sharing. Port sharing allows multiple users to access the port at the same time. If port sharing is disabled, then only one user may access the port at a time. You may change the number of users at any time. If you increase the number of users from 2, the change takes effect immediately. If you decrease the number of users, the change does not take effect until the users log off. For example, if port sharing is available for 9 with 9 users on, then changed to 2, the change will not take effect until at least 2 users log off. If port sharing is enabled for 2 and then disabled, the change will not take effect until everyone is off. The default value when port sharing is disabled is one. Device and Driver Support for the Port Sharing Feature
•
•
•
Chapter 3
The port sharing feature and the set sharing command are supported in the following products. • All PortServer TS Family products. • All Digi One products except Digi One IAP. The console menu feature and the Console Management port profile can be used to enable the port sharing feature. The console menu feature and Console Manager port profile are available on PortServer TS Family devices only. To configure port sharing for all other devices, use the set sharing command. When used with RealPort, the port sharing feature is formally tested with the Windows RealPort driver only, and not with Unix/Linux driver versions.
Configure Network and Serial Ports
37
Page 38
Port Profiles TCP Sockets Port Profile The Digi device supports TCP socket communication. TCP socket communication enables serial devices to communicate with each other over an Ethernet network as though they were connected by a serial cable. Configuring TCP socket communications involves configuring the Digi device for the following types of connections: • Inbound connections, that is, connections that are initiated by the device on the other side of the network. • Outbound connection, that is, connections that are initiated by the device connected to the serial port. TCP Sockets profile is also the profile to use for Autoconnection. See "Autoconnection" on page 69 for more information.
38
Chapter 3 Configure Network and Serial Ports
Page 39
Port Profiles UDP Sockets Port Profile The Digi device is capable of UDP multicast. UDP multicast is used to send serial data over an Ethernet cable to one or many hosts at the same time. UDP does not need a protocol because it sends data without any form of acknowledgment of error or error correction. The number of devices that can receive a UDP multicast varies by product. • PortServer TS 8/16 Family: up to 16 devices can receive a UDP multicast at one time. • All other products, including the Digi One Family and PortServer TS 1/2/4: up to 64 devices can receive a UDP multicast at one time. Both the transmitting and receiving devices must be configured properly for UDP multicast to work. Configuring UDP multicast communications involves configuring the Digi device for the following types of connections: • Inbound connections, that is, connections that are initiated by the device on the other side of the network. • Outbound connections, that is, connections that are initiated by the device connected to the serial port. The serial parameters for two connecting devices must match. That is, if one device is set for 9600 bps, the other device must be set for the same rate.
Chapter 3
Configure Network and Serial Ports
39
Page 40
Port Profiles
Serial Port Configuration - Port 2Return to Serial Ports + Previous Next > y Port Profile
Current Port Profile: UDP Sockets Change Profile... The UDP Sockets Profile allows a serial device to communicate using UDP.
Profile Settings
UDP Server The serial device receives data from one or multiple systems/devices on the network using the following UDP port (calculated from Base Socket).
UDP Port: 2102 UDP Client Serial data received is automatically returned to the last UDP client that sent data. You can override or lock-down the destination by entering 1 or more IP and port pairs below. All serial data is repeated as UDP unicast to all devices in this list.
Send data to:
Description UDP Port No destinations currently configured.
dest 0.0.0.0 0 Add
|| Send data when the following string is found
) CR (carriage return) CR/LF (carriage return/line feed) Custom string
Strip string before sending
(¥| Send data after the following number of idle milliseconds
100 ms
Force sending data after the following number of bytes (limits UDP packet size)
1024 bytes
> Basic Serial Settings
> Port Security Settings
> Advanced Serial Settings
>» Restore Factory Serial Port Settings
40
Chapter 3 Configure Network and Serial Ports
Page 41
Port Profiles Serial Bridging Port Profile The Digi device supports serial bridging (sometimes referred to as ‘tunneling’). A serial bridge is a network connection between two serial devices, each of which uses a device server. The serial devices “think” they are communicating with each other across a serial cable using serial communication techniques. There is no need to reconfigure the server or the serial device. Neither is aware of the intervening network. This profile configures each side of the bridge separately. Repeat the configuration for the second Digi device using the web interface. Enter the IP address in the URL bar of your browser and follow the same procedure of the bridge specifying the IP address of the first Digi device.
Chapter 3
Configure Network and Serial Ports
41
Page 42
Port Profiles Printer Port Profile The Printer port profile allows you to connect a printer to a serial port. Use this profile if you intend to print using the LPD protocol on your UNIX system. Refer to your UNIX User Guide for tips on configuring the print spooler on your UNIX system.
Using the LPD Protocol
Here are some tips for configuring the print spooler on your UNIX system when you intend to print using the LPD protocol to a printer attached to device server: • The number of copies option with lpr is not supported. • Banner pages are not supported. • The device server’s DNS name or IP address is the remote system’s name. • Queue names must conform to the following conventions: • Begin the queue name with one of the following character strings: (a) Use ASCII if you want device server to substitute carriage return and line feed characters for each line feed the system sends. (b) Use raw if no substitution should be performed. • After the queue name, insert an underscore character and the number of the device server port to which the printer is attached. • If you want to use either of the following options, specify an additional underscore and then the letter that identifies the option: (a) Use f to append a form feed character to the end of each file in a print job (b) Use d to add a Ctrl-d to the end of each file in a print job. (This is often required by PostScript printers.)
42
Chapter 3 Configure Network and Serial Ports
Page 43
Port Profiles Examples
String
Chapter 3
Result ascii_1
Prints to port 1 and translates CR to CR/LF.
ascii_8_f
Prints to port 8, translates CR to CR/LF and prints a form feed at the end of the job.
raw_1_d
Prints to port 1 with no translation and appends a Ctrl-d to the end of the print job.
Configure Network and Serial Ports
43
Page 44
Port Profiles Terminal Port Profile This profile allows you to connect a terminal to the serial port. It also allows you to automatically establish TCP connections, enabling the connection to a system or a device on the network when data arrives.
44
Chapter 3 Configure Network and Serial Ports