HOW TO: ConnectPort LTS Console Management Configuration CLI
This document explains how to configure out-of-band console management configuration with an external serial modem connected to port one and the remaining ports dedicated to console management, assigning port description labels and assigning a user to the port access menu.
The following example shows the configuration steps used with a ConnectPort LTS 8 unit with a serial modem attached to port 1 and a Linux console port attached to port 8.
Connect to the console port
a. Connect crossover cable to console port of the ConnectPort LTS. Use a terminal emulator configured for 9600 baud, 8 character bits, 1 stop bit, no parity and software flow control.
b. Login as the root user:
Default password: dbps
c. Follow prompts to change the root password.
d. Login as root using the new password.
Configure Static IPV4 Network Settings
By default, the unit is configured to obtain a DHCP IP address from a DHCP server on the network.The Digi Device Discovery Utility can be used to search for Digi units on the local network. For Linux environments, the ADDP binary can be used to discover Digi devices on the network.
Issue the following command from the root prompt to configure static network settings:
#> set network mode_v4=static ip_v4=192.168.0.203 gateway_v4=192.168.0.1 dns1=192.168.0.1 submask_v4=255.255.255.0 manual_dns=on index=1
Note: Use IP address schemes appropriate for your network.
Add New User
Add a user that will have access to dial up and to connect to console ports:
#> set user newname=cm_user id=4 add
b. Assign a user password.
c. Configure the user to associate with the Port Access Menu:
#> set user name=cm_user defaultaccess=portaccessmenu
Configure the Port profiles
The following example shows port one set as a dial in modem set to 38400 baud and hardware flow control and the rest of the ports for console management (console ports configured at the defaults of 9600 baud, 8 character bits, 1 stop bit, software flow control, an no parity):
#> set profile port=1 profile_type=modem
#> set profile port=2-8 profile=console_management
#> set serial port=1 baudrate=38400 flowcontrol=hardware
Configure the Port Description
Copy the Port Description script to the ConnectPort LTS unit using scp. The following example is copying the script from a Linux host to the ConnectPort LTS unit placing it under the /usr2 directory. There are free scp clients for use with Windows and other operating systems, if needed.
# scp install_portdesc.tgz email@example.com:/usr2
a. Uncompress, change the permssions and execute the Port Description script from the ConnectPort LTS unit:
# cd /usr2
# tar xvf install_portdesc.tgz
# chmod a+x portdesc.sh
b. Follow the prompts to set the description for the individual ports.
Dial Into the Modem
Dial into the modem connected to port 1 of the unit, login as cm_user and select the desired port number for connecting to from the menu selection:
No. Description Profile No. Description Profile
1 None Modem 2 None ConsoleMgmt
3 None ConsoleMgmt 4 None ConsoleMgmt
5 None ConsoleMgmt 6 None ConsoleMgmt
7 None ConsoleMgmt 8 Debian Linux 7 ConsoleMgmt
Enter command (1-8 serial port, Q quit)
Escape : ^[
Once connected to the console, you may login to the connected host. Once logged off from the host, press <Ctrl> [ <Enter>
to return to the port access menu.
Last updated: Aug 08, 2017