Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 9

What is a port profile?

A port profile allows you to easily configure a serial port based on how you intend to use that port. Only the
configuration settings relevant to the current profile are displayed in the profile settings. The PortServer TS
2 supports the following port profiles:

Click on the profile title for a more detailed profile description

RealPort Use RealPort to map a COM or TTY port to this serial port.

Console Management Manage a serial device's console port over a network connection.

Auto-Connect to another host on the network or allow incoming connections on this serial
TCP Sockets
port (Reverse Telnet).

Allows the automatic distribution of serial data from one host to many devices at the same
UDP Sockets
time.

A serial bridge connects two serial devices over the network as if they were connected
Serial Bridging
with a serial cable.

Industrial Network-enable Industrial Automation (IA) devices or PLCs by connecting them to the
Automation serial port.

Allow multiple clients to simultaneously connect and manage a server connected to a


Chat Mode
serial port.

Printer Connect a printer to the serial port.

Terminal Connect a terminal to the serial port.

Modem Emulation Configure the serial port to act as a modem.

Modem Connect a modem to the serial port.

Power Management Control and manage a power controller to turn on and off outlets and devices.

Custom Advanced configuration of the serial port.

RealPort Profile

The RealPort Profile allows you to map a COM or TTY port to the serial port of your Digi device server. The
COM/TTY port appears and behaves as a local port to the PC or server. RealPort is also known as COM Port
Redirection. See How to Configure RealPort (COM Port Redirection) for more information. Refer to the RealPort
Setup Guide for instructions on installing and configuring the RealPort driver on your PC or server.

Console Management Profile

The Console Management Profile allows you to access 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 server.
Then using TCP/IP utilities like reverse telnet, network administrators can access these consoled serial ports from
the LAN. See How to Configure Console Management for more information.

TCP Sockets Profile

The TCP Sockets Profile allows serial devices to communicate over a TCP network. The TCP Server configuration
allows other network devices to initiate a TCP connection to the serial device attached to a serial port of the Digi
device server. This is also referred to as Reverse Telnet. See How to Configure TCP Server for more information.

In a TCP Client configuration, the Digi device server automatically establishes a TCP connection to an application
or network device. See How to Configure TCP Client (Automatic Connection) for more information.

UDP Sockets Profile

The UDP Sockets Profile allows serial devices to communicate using UDP. The UDP Server configuration allows the
serial port to receive data from one or more systems or devices on the network. See How to Configure UDP
Server for more information.

The UDP Client configuration allows the automatic distribution of serial data from one host to many devices at the
same time using UDP sockets. This is also referred to as UDP Multicast. See How to Configure UDP Client (Data
Distribution) for more information.

Serial Bridging Profile

The Serial Bridging Profile configures one side of a serial bridge. A bridge connects two serial devices over the
network as if they were connected with a serial cable. This is also referred to as serial tunneling. Each serial
device is connected to the serial port of a Digi device server. Each Digi device server is configured to
automatically connect to the other Digi device server. See How to Configure a Network Serial Bridge (Serial
Tunneling) for more information.

Industrial Automation Profile

The Industrial Automation (IA) Profile allows you to connect IA devices and PLCs to the serial port in order to
network-enable the devices. Use this profile if you need to communicate over the network with an IA device or
PLC that only uses serial protocols. This profile may also be used to add routing capabilities to IA devices or PLCs
that act as serial masters and send packets to various systems or devices on the network. Industrial Automation
enhances the IA device or PLC connected to the serial port. See How to Configure Industrial Automation for more
information.

Chat Mode

The Chat Mode Profile allows multiple clients to simultaneously connect and manage a server connected to a
serial device connected to a serial port. Use this profile if you multiple clients need to share a single server/slave
resource. This profile acts similar to a typical chat room where each client is able to send a message to the server
and all other clients are able to view the message as well as the server's response. This is useful when multiple
clients or systems need to cooperatively control a device or when an external system wants to monitor and log all
client data accessing the serial device. See How to Configure Chat Mode for more information.

Printer Profile

The Printer Profile allows you to connect a printer to the serial port. Use this profile if you intend to print using
the lpd protocol on your UNIX system. See How to Configure a Printer for more information.

Terminal Profile

The Terminal Profile allows you to connect a terminal to the serial port. See How to Configure a Terminal for
more information.

Modem Emulation Profile

The Modem Emulation Profile allows you to configure the serial port to act as a modem. The Digi device
server emulates modem responses to a serial device and seamlessly sends and receives data over an Ethernet
network instead of a PSTN (Public Switched Telephone Network). The advantage for a user is the ability to retain
legacy software applications without modification and use a less expensive Ethernet network in place of public
telephone lines. See How to Configure Modem Emulation for more information.

Modem Profile

The Modem Profile allows you to attach modem devices to the serial port in order to establish or receive
connections from other systems and modems.

Power Management Profile


The Power Management Profile allows you to attach a power controller to the serial port. This will allow you to
power a device on or off, as well as allow you to continuously monitor for current surges. See How to Configure
Power Management for more information.

Custom Profile

The Custom Profile is an advanced option to allow full configuration of the serial port. Use it only if your
application which doesn't fit into any of the predefined port profiles.

……………………………………………………………………………………………
configuracion

Configure Console Management Contents |

Overview

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 server. Then
using TCP/IP utilities like reverse telnet, network administrators can access these consoled serial ports from the LAN.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Console Management and click the Apply button.
4. To use port buffering, check Enable Port Logging and click Apply.
5. Record the TCP port numbers listed. The TCP port number is needed to configure the application or device
that accesses the serial port from the network.
6. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Notes

Configure the application or device that initiates communication to the serial port from the network with the
following information:

 the IP address of this Digi device server.


 the TCP port number for the serial port recorded above in Step 5.

To change the TCP port number, edit the Base Socket settings on the Network Configuration page.

Configure TCP Server Contents |

Overview

TCP Server configuration allows other network devices to initiate a TCP connection to the serial device attached to a
serial port of the Digi device server. This is also referred to as Reverse Telnet, Console Management or Device
Management.

RFC 2217 is a Telnet extension used to access serial devices over the network. It's configured the same as TCP
Server.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select TCP Sockets and click the Apply button.
4. Record the TCP port numbers listed under the TCP Server heading. The TCP port number is needed to
configure the application or device that accesses the serial port from the network.
5. Configure the Basic Serial Settings to match the settings of the attached serial device and clickApply to
save the configuration. (If using the RFC 2217 protocol, do not modify the port settings from the defaults.)

Notes

Configure the application or device that initiates communication to the serial port from the network with the
following information:

 the IP address of this Digi device server.


 the TCP port number for the serial port recorded above in Step 4.

To change the TCP port number, edit the Base Socket settings on the Network Configuration page.

Configure TCP Client (Automatic Connection) Contents |

Overview

In a TCP Client configuration, the Digi device server automatically establishes a TCP connection to an application or
network device.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select TCP Sockets and click the Apply button.
4. Under the TCP Client header, check the Automatically establish TCP connections box.
5. Select the Connect option that describes when the TCP connection will be initiated.
6. Enter the IP address or DNS name of the destination server in the Connect To box.
7. Select a Service to use for the connection: Raw, Rlogin or Telnet.
8. . The port number depends on the conventions
Specify the destination TCP Port Number
used on the remote server or device. The table below provides common TCP port
number conventions.
Connection Service Common TCP Port Number
Telnet 23
Rlogin 513
Reverse Telnet to the port of a Digi device server 2001
Raw connection to the port of a Digi device server 2101
9. Most users will not need to change the default settings for Flush Start Character and Send Keepalive
Packets.
10. Click Apply to save the configuration.

11. Configure the Basic Serial Settings to match the settings of the attached serial device and clickApply to
save the configuration.

Configure UDP Server Contents |

Overview

UDP Server configuration allows other network devices to initiate a UDP connection to the serial device attached to a
serial port of the Digi device server.
Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select UDP Server and click Apply.
4. Under the UDP Server header, record the UDP port number. The UDP port number is needed to configure
the application or device that accesses the serial port from the network.
5. Configure the Basic Serial Settings to match the settings of the attached serial device and clickApply to
save the configuration.

Notes

Configure the application or device that initiates communication to the serial port from the network with the
following information:

 the IP address of this Digi device server.


 the UDP port number for the serial port recorded above in Step 4.

To change the UDP port number, edit the Base Socket settings on the Network Configuration page.

Configure UDP Client (Data Distribution) Contents |

Overview

UDP client configuration allows the automatic distribution of serial data from one host to many devices at the same
time using UDP sockets. This is also referred to this as UDP Multicast.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select UDP Sockets and click the Apply button.
4. Under the UDP Client header, enter the following for each of the UDP destinations:
 a description of the destination
 the destination IP Address or DNS name
 the destination UDP Port

When finished, click Add.


5. Select the options that define when data is sent.
6. Click Apply to save the configuration.

7. Configure the Basic Serial Settings to match the settings of the attached serial device and clickApply to
save the configuration.

Configure a Network Serial Bridge (Serial Tunneling) Contents |

Overview

A bridge connects two serial devices over the network as if they were connected with a serial cable. This is also
referred to as serial tunneling. Each serial device is connected to the serial port of a Digi device server. Each Digi
device server is configured to automatically connect to the other Digi device server.
Configuring a Serial Bridge

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Serial Bridging and click the Apply button.
4. Select Peer-to-peer bridge.
5. In the Connect To box, type the IP address or DNS name of the other Digi device server.
6. In the TCP Port Number box, type the Raw TCP port number for the destination serial port. If the serial
port is the first or only port on the device server, the value is 2101.
7. Click Apply to save the configuration.
8. Configure the Basic Port Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Follow the same steps to configure the other Digi device server of the bridge, specifying the IP address of the first
Digi device server.

Configure Industrial Automation Contents |

Overview

Industrial Automation (IA) on the Digi device allows the ability to network-enable various IA devices and PLCs by
connecting the device or PLCs serial cable to the serial port on the Digi device. The Industrial Automation profile
supports two scenarios that most devices or PLCs use: Serial Slave and Serial Master. Serial slave is used when
other devices or systems connect and send requests to the IA device or PLC and process the received responses.
Serial master is used when the IA device or PLC sends requests to other devices or systems and processes the
received responses. This profile also allows you to virtually extend a serial cable between two devices or PLCs by
attaching a Digi device on each end and using network transparency to communicate between the two devices that
would still communicate using basic serial protocols. This allows extending the distance of your environment without
changing the required software to speak new protocols.

Configuring the Digi device server port

Configuring as a Serial Slave

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Industrial Automation and click the Apply button.
4. Under the Profile settings section, select Change Protocol....
5. Select Serial Slave.
6. Select the serial protocol that your IA device or PLC uses to communicate and click the Apply button.
7. Configure the serial protocol settings that you selected to match those of your environment and
click Apply.
8. Configure the network serial protocols if the serial protocol has associated network protocols such as
Modbus/TCP.
9. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Configuring as a Serial Master

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Industrial Automation and click the Apply button.
4. Under the Profile settings section, select Change Protocol....
5. Select Serial Master.
6. Select the serial protocol that your IA device or PLC uses to communicate and click the Apply button.
7. Configure the serial protocol settings that you selected to match those of your environment and
click Apply.
8. Select Slave Destinations to configure where packets received from the attached serial device are sent.
9. Select Add to create a new route for each device or system that needs to receive the packets.
10. Configure the necessary parameters to match those of the device or system the packets are sent to and
click Apply.
11. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Notes

Configure the application or device that initiates communication to the serial port from the network with the
following information:

 the IP address of this Digi device server.

Configure Chat Mode Contents |

Overview

Multiple clients often need to connect to and a share a single resource or device simultaneously. For example, this
may include devices such as routers, switches, and servers that offer serial port(s) for management and require
multiple technicians to administer the device cooperatively. Similar to an Internet chat room, the clients all connect
to the server and send messages. Every other client sees the message as well as the server response. Cable the
serial device to the serial port of your Digi device server and select whether clients connect to the serial device or
whether this serial device is a client (i.e. terminal) and connects to a server.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Chat Mode and click the Apply button.
4. Select the Chat Mode method used in determining whether this device is a client or server. Client devices
connect and send requests to server devices connected via serial ports or the network. Server devices
receive connections and process messages from one or more client devices issuing optional responses.
5. Select the End of Line Detection method used in determining how messages are interpreted and where
messages end.
6. Click the Apply button.
7. Select the Client Settings or Server Settings tab (depending on the Chat Mode) and configure any
remaining settings and click Apply.
8. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Notes

Configure the application or device that initiates communication to the serial port from the network with the
following information:

 the IP address of this Digi device server.


 the TCP port number for the serial port.

To change the TCP port number, edit the Base Socket settings on the Network Configuration page

Configure a Printer Contents |

Overview

Connect a printer to this serial port to print using the lpd protocol on your UNIX system.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Printer and click the Apply button.
4. Configure the Basic Serial Settings to match the settings of the attached serial device and clickApply to
save the configuration.

Notes

Refer to your User Guide for tips on configuring the print spooler on your UNIX system.

Configure a Printer Contents |

Overview

Connect a printer to this serial port to print using the lpd protocol on your UNIX system.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Printer and click the Apply button.
4. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Notes

Refer to your User Guide for tips on configuring the print spooler on your UNIX system.

Configure a Terminal Contents |

Overview

Connect a terminal to this serial port.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Terminal and click the Apply button.
4. Enter the terminal type that is passed to the server in telnet negotiations. The vt100 terminal type is most
common.

5. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Configure Modem Emulation Contents |

Overview

Modem emulation enables a system administrator to configure the serial port to act as a modem. The Digi device
server emulates modem responses to a serial device and seamlessly sends and receives data over an Ethernet
network instead of a PSTN (Public Switched Telephone Network). The advantage for a user is the ability to retain
legacy software applications without modification and use a less expensive Ethernet network in place of public
telephone lines.

Configuring the Digi device server port

1. Under the Configuration heading, select Serial Ports, then select the port to be configured.
2. Select Change Profile....
3. On the Select Port Profile page, select Modem Emulation and click the Apply button.
4. Configure the Basic Serial Settings to match the settings of the attached serial device and click Apply to
save the configuration.

Configure Power Management Contents |

Overview

Power Management allows you to attach a power controller to the serial port. This will allow you to power a device
on or off or reboot the device, as well as allow you to continuously monitor for power surges.

Configuring the Power Controller

1. Connect the power controller's console port to the serial port of the Digi device server. This will allow auto-
detection of the number of power outlets and current sensors.
2. Under the Configuration heading, select Serial Ports, then select the port with the power controller
attached.
3. Select Change Profile....
4. On the Select Port Profile page, select Power Management and click the Apply button.
5. Select Automatically Detect Power Controller and click Apply. It will take up to a minute for the auto-
detection.
6. Verify that the Manufacturer and number of outlets settings are correct. Current or temperature thresholds
can be configured here as well.
7. Click on the Controller Outlets tab, a table if each outlet's settings will be displayed. Click on each row to
configure each outlet.
8. Outlet configuration options include:

Configuring Users:
Individual users can be given authorization to manage one or more outlets. Users must already be
configured before they can be assigned to the power outlets. (Click on Users under the Configuration
heading to add Users). To assign a user to manage a power outlet, in the table under Power
Management Access, select a user from the list and click Add. Refer to the Command Reference for
power management commands for users.

Configuring Device Names:


Outlets assigned a common name such as "router" can be managed as a single entity. For example,
multiple servers that have been assigned the same Device Name can be shut down or rebooted.

Configuring Serial Ports:


A server with redundant power supplies may be powered from two different power sources. Each source
would feed a power controller. The device's console serial port would be connected to the Digi device
server. The outlet on each power controller should be configured with theSerial Port - then the server can
be rebooted with a single request.

Notes

To manage the devices connected to your power controller, click on Power under the Management heading.
Alternatively, see the Command Reference for power management commands available from the command line.

You might also like