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.
 

  1. 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:
    

 

Login: root
Default password: dbps

 

                c. Follow prompts to change the root password.
                d. Login as root using the new password.
  1. 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.
 
  1. 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.
  1. Add New User
  1. 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
 
  1. 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
 
  1. 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 root@192.168.0.203:/usr2
                
      a. Uncompress, change the permssions and execute the Port Description script from the ConnectPort LTS unit:
  
#> bash
# cd /usr2
# tar xvf install_portdesc.tgz
# chmod a+x portdesc.sh
# ./portdesc.sh
 
      b. Follow the prompts to set the description for the individual ports.
  1. 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: Jun 23, 2019

Filed Under

Network

Recently Viewed

No recently viewed articles

Did you find this article helpful?