### Configuring the Digi One RealPort or PortServer for RealPort

Use this topic to configure the Digi One RealPort or PortServer for RealPort.

#### Procedure

1. Connect a terminal (or PC with terminal emulation software) to port 1 on the Digi One RealPort or PortServer. Ensure that both the Digi One RealPort or PortServer and peripheral devices power switches are OFF.

   Note: If the cable that you receive with the Digi One RealPort or PortServer does NOT say crossover on it, you need to add a null modem cable to connect from your terminal (or PC with terminal emulation software) to the Digi One RealPort or PortServer product. Follow the instructions in the Digi One RealPort or PortServer Cable Guide on connecting cables to these devices.

2. Ensure that the terminal parameters are set to VT-100 emulation, 9600 baud, 8 data, 1 stop, and no parity.
3. When AC appears, press Enter. You should get a login prompt.
4. Login as root. When prompted for a password, enter `dbps`.
5. Configure the Digi One RealPort or PortServer network attributes with a set config command that specifies the following:
   1. An IP address for the Digi One RealPort or PortServer (on the ip field)
   2. An optional DNS name for the Digi One RealPort or PortServer (on the myname field)
   3. A required TCP port number for RealPort (realport=771)

      Example

      `set config ip=192.123.98.69 myname=p-server1 realport=771`

6. Verify network settings by reissuing the set config command (without parameters) and then ensuring that the settings are appropriate.

   set config

7. Configure the Digi One RealPort or PortServer ports by supplying a set ports command that specifies the following:
   1. The range of ports to configure for RealPort (on the range field)
   2. dev=prn

      Example

      set ports ra=2-16 dev=prn

8. Verify the port settings by reissuing the set ports command (without parameters) and then ensuring that the settings are appropriate.

   set ports *

9. Configure the Digi One RealPort or PortServer ports by supplying a set line command that specifies either baud=57600 (for PortServer) or baud=115200 (for PortServer II) and the range of ports to use this baud rate, which should include all ports configured for RealPort.

   Example

   set line baud=115200 range=2-16

10. Verify baud rate by reissuing the set line command (without parameters) and then ensuring that the settings are appropriate.

    Command

    set line *

11. If you want to reserve certain ports for a specific RealPort host, supply a set auth command that specifies the following:
    1. The IP address of the host on the ip field
    2. The range of ports to be reserved on the realport field

       Example

       set auth ip=199.250.225.10 realport=2-16 mask=0.0.0.0

12. Verify set auth settings by reissuing the set auth command (without parameters) and then ensuring that the settings are appropriate.

    Command

    set auth

    Note: The ports reserved for RealPort should have zeros (0) in them.

#### Example

In this example, Digi One RealPort or PortServer ports 2-16 are configured for RealPort.

`set config ip=192.123.98.69 myname=pubs3 realport=771`
`set ports range=2-16 dev=prn`
`set line baud=115200 range=2-16`
`set auth ip=192.123.98.10 mask=0.0.0.0`