efault
device type setting for all ports is Terminal.
3.
Make
sure that the serial port and the device connected to the serial port are using
the same flow control scheme and port parameters.
NOTE: The default settings are: software flow control, 9600
bps, 8 bits, None for parity and 1 stop bit.
Configuring Ports for Reverse Telnet/Console Managment: Command Line
This procedure assumes the following:
A. That you are logged in as root
B. That you know the attributes, such as baud rate, parity, etc. required for
use with the terminal that will be connected to this
port.
1.
Supply a set port command that specifies the following from the
command prompt:
#> set ports range=range dev=prn auto=off
NOTE: where range is a port or range of ports.
This is the optimal setting for a reverse telnet as it puts the port into a
"passive" mode, which
will allow a session of data to go in "reverse."
2.
Supply a set line command that specifies the following from the
command prompt:
#> set line range=range baud=bps csize=characters
parity=parity stopb=numbits
NOTE: The set line configuration must match the
settings of the attached terminal where:
a. range is a port or range of ports.
b. bps is the line speed.
c. characters is the character size.
d. parity is the parity scheme to use on this line.
e. num-bits is the number of stop bits to use.
3.
If your serial device is configured for hardware flow control, supply
a set flow command that specifies the following from the
command prompt:
#> set flow range=range ixoff=off ixon=off cts=on rts=on
NOTE: software flow control is the default, so a set
flow command is not required in that case.
NOTE: You may need to use additional set flow command fields,
depending on the flow control scheme required by your
serial device connected to the port. See the set flow
command in the Digi Device/Terminal Server Command Reference for more
information.
Accessing Attached Devices by Using Telnet Direct to a Port (Reverse Telnet):
Where Telnet is a direct connection to a device, reverse telnet
is a direct connection to a device’s serial port from the network. In
the example below, a user connects directly to serial port 8 on a Digi
Device. Reverse telnet uses a socket numbering scheme starting with 2000
plus the port number.
An example is: telnet
192.1.2.3 2008
Testing a Reverse Telnet Connection:
Digi ships a loopback plug with its products. This plug will look like
a telephone jack, without any cable coming out of it. Insert the loopback
plug into the port you want to test.
Connect to the ports using one of the following standards:
2001 - 2099 Telnet Connect socket numbers. An
example is: telnet 192.1.2.3 2008 (for port 8 using ASCII data)
2101 - 2199 Raw Connect socket numbers. An
example is: telnet 192.1.2.3 2108 (for port 8 using RAW data)
When you get connected, you probably won’t see anything, although it's
possible you would see a "Digi International PortServer" header along
with the word "Connected."
With the loopback plug in the port, when you type some characters on your
keyboard they should see them display on your screen. This is an
indication that everything is working correctly. You should not be able to
connect your device and reverse telnet/console manage it. If you are not,
you would want to verify the cabling from the Digi Device's serial port to the
console port of your connecting device. Make sure that the cable you are using
is a crossover cable. Refer to the link below for appropriate cabling
pin-outs.
http://supportold.digi.com/support/techsupport/hardware/portserver/common/cables/
Connect your cable, and make sure your devices "console" port is
enabled for login. When you connect to the port again and press Enter, you
should get a login prompt from the attached device, whether it be a Sun Sparc
server, a Cisco router, or any other serial device.