Digi CM 32 User Manual
Hide thumbs Also See for CM 32:
Table of Contents

Advertisement

Digi CM

Users Guide

90000301_B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CM 32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Digi CM 32

  • Page 1: Users Guide

    Digi CM Users Guide 90000301_B...
  • Page 3 Information in this document is subject to change without notice and does not represent a commitment on the part of Digi International. Digi provides this document “as is,” without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of fitness or merchantability for a particular purpose.
  • Page 5 Chapter 1 Introduction User Groups ..................... 9 Username and Password ................10 Ways to Configure the Digi CM ..............10 Web Interface ................... 10 Configuration Menu ..................11 The Command Line Interface ..............11 Ways of Accessing the Digi CM ..............11 Web Interface Access Menu ..............11...
  • Page 6 Enabling System Logging Services..............33 Enable Syslog Server ................33 Enable NFS Server ..................33 Enable A Compact-flash Card ..............34 Enable Digi CM Memory ................34 Configuring System Logging Services ............34 Viewing System Logs ................35 Port Logging ....................36 Viewing Port Logs ..................
  • Page 7 Port Access Menu ..................58 Chapter 9 Configuring Remote Dial-In Access Introduction.....................59 Configuring For Dial-In Modem Access............59 Adding a PC Modem ..................60 Configuring For Dial-In Terminal Server Access ..........61 Using the Configuration Menu................ 62 Chapter 10 Port Clustering Introduction.....................63 Configuring Port Clustering ................
  • Page 8 DB-9 Female Console Adapter ..............83 DB-25 Female Console Adapter .............. 84 DB-25 Female to RJ-45 Pin Assignments ..........84 DB-25 Male Modem Adapter (Digi P/N 76000670) ........85 DB-25 Male Modem to RJ-45 Pin Assignment ........85 Chapter 14 Certifications Safety ......................
  • Page 9: User Groups

    HTTP and HTTPS protocols. User Groups The Digi CM comes with built-in user groups. The four groups are defined by their access levels. The table below displays the various user groups, their access rights, and the default built-in user names if applicable.
  • Page 10: Username And Password

    To access the web interface, enter the IP address or Hostname for the Digi CM in the URL of a browser page. The following page is displayed after you have logged into the Digi CM. The menu on the left side of the page cascades as you select the main heading.
  • Page 11: Configuration Menu

    The command line interface is accessed by the root user from a Telnet session or by direct access to the console port of the Digi CM using the username root and the default password dbps. A command prompt for the Linux console is displayed.
  • Page 12: Direct Port Access

    A Java applet opens with a login prompt. Direct Port Access The Digi CM allows you to connect directly to a single port through a Telnet or SSH session. Before you access a port using this method you need to make sure the port you are connecting to has been configured properly.
  • Page 13: Custom Menus

    Using an SSH client, establish a connection to the IP address of the Digi CM using the login name and port number of the port you wish to connect. For example, to connect to port 3 of the Digi CM using login name admin, simply enter the following command:...
  • Page 14 Saving and Applying Changes Chapter 1...
  • Page 15: Assigning Ip Settings

    The default IP address for the Digi CM is 192.168.161.5. Assigning IP Settings The initial setup of the Digi CM, including attaching it to the network, is described in the Quick Start Guide included with the product packaging. A The default IP copy of the Quick Start Guide is also available online at http://cm.digi.com.
  • Page 16: Configuring Http And Https

    The values are saved and applied immediately. There is no need to reboot. Configuring HTTP and HTTPS By default HTTP and HTTPS are enabled on the Digi CM device. To modify these settings, do the following: 1. Enter the IP address for the Digi CM in a web browser’s URL.
  • Page 17: Adding, Editing, And Removing Users

    To access a port that has been configured for SSH, locate your preferred SSH client and initiate a session to the IP address and port as shown: ssh username@IPaddress 70XX An example for port 3 on a Digi CM would be: ssh root@192.168.100.25 7003 Adding, Editing, and Removing Users The system administrator can add, remove, or edit users from the web interface.
  • Page 18: Shell Options

    Using the Configuration Menu The configuration menu presents the same functionality in configuring the Digi CM as does the web interface excluding the creation of custom menus. The configuration menu is navigated by using the number representing the menu item and the ESC key to return to earlier menus.
  • Page 19 Getting Started Adding, Editing, and Removing Users 1. Access the configuration menu. Choose Exit and apply changes 2. Choose System administration > User administration > Choose Add, when you have made all your Remove, or Edit. changes. Each choice will present different menu options. 3.
  • Page 20 Using the Configuration Menu Chapter 2...
  • Page 21: Compatible Pc Cards

    Digi CM, visit the Digi support site at http:// cm.digi.com Adding a Compact-flash Card A PC card slot is located on the front panel of the Digi CM. The arrow in the following graphic indicates the PC card slot. PC card slot To install and configure the compact-flash card on the Digi CM, do the following.
  • Page 22: Configuring The Compact-Flash Card

    Adding a Compact-flash Card Always select the Stop card service button before removing a PC card. Configuring the Compact-flash Card • Total data size to be used: Enter the amount of memory you want to assign to the compact-flash card for configuration files. •...
  • Page 23: Automatic Configuration File Backup

    Restore currently saved configuration: The choice is to Restore. 6. Save to flash and choose Apply changes. Adding a Network Card To install and configure a network card on the Digi CM, do the following. 1. Insert the card into the PC slot. 2. Access the web interface.
  • Page 24: Adding A Wireless Lan Card

    Adding a Wireless LAN Card Adding a Wireless LAN Card To install and configure a wireless LAN card on the Digi CM, do the following. 1. Insert the card into the PC slot. 2. Access the web interface. 3. Under the PC card heading choose Configuration.
  • Page 25: Adding A Serial Modem

    2. From the menu choose Configuration under the PC card heading. 3. Choose Discover a new card. The Digi CM searches for a PC card and displays a configuration menu. 4. Modify or accept the default in Init string. 5. Save to flash and choose Apply changes.
  • Page 26: Using The Configuration Menu

    Adding and Configuring a PC Card To add a modem card, compact-flash card, wireless LAN card, or a network card to the Digi CM using the configuration menu, do the following: 1. Access the configuration menu. 2. Choose PC Card configuration then Discover a new card.
  • Page 27: Host Mode Configuration

    Console Server Mode Configuring a serial port as a console server creates a TCP socket on the Digi CM that listens for a Telnet or SSH client connection. Users who connect to the TCP socket have access to the device attached to the serial port as though the device were connected directly to the network.
  • Page 28: Terminal Server Mode

    In terminal server mode, the Digi CM serial port is configured to wait for data from the device connected to the port. If data is detected, the Digi CM starts a TCP session as a Telnet or SSH client to a pre-defined server. The server must be defined by the user before the port can be configured for a Telnet or SSH client.
  • Page 29: Dial-In Terminal Server

    When users dial-in using terminal applications, the Digi CM accepts the connection as a Telnet or SSH client to a pre-defined server. This mode is most frequently used when users want to use modems to access servers on a network.
  • Page 30: Supported Protocols

    Port Parameters In attaching a serial device to a Digi CM serial port, the port parameters must match. The serial ports by default are enabled meaning users have full access to the port. To configure the port parameters for the Digi CM, do the following: 1.
  • Page 31: Dtr Settings

    This setting is only available when the host mode protocol is set for RawTCP. The parameter sets the time value for the Digi CM to transfer data stored in the buffer. The Digi CM transfers data when the buffer is full using the TCP/IP protocol.
  • Page 32: Using The Configuration Menu

    Using the Configuration Menu Using the Configuration Menu Host Mode Configuration 1. Access the configuration menu. 2. Choose Serial port configuration > choose an individual port number or 0 (zero) for all ports > Host mode configuration. 3. Enter the desired parameters for each menu item. 4.
  • Page 33: Enabling System Logging Services

    Enabling System Logging Services Enable Syslog Server To enable the Digi CM for system or port logging on a syslog server, do the following: 1. Access the web interface. 2. Under the Network Configuration heading choose Syslog server configura- tion.
  • Page 34: Enable A Compact-Flash Card

    See "Adding a Compact-flash Card" on page 21. Enable Digi CM Memory The Digi CM memory is already enabled for port logging and only needs to be configured for system or port logging. See "Configuring System Logging Services" on page 34.
  • Page 35: Viewing System Logs

    The following table lists the file locations of the system logs. System Logfile Log Storage File Location Digi memory /tmp/logs Compact-flash card /mnt/flash/logs must be viewed on the Syslog server...
  • Page 36: Port Logging

    Port logging allows the user to save serial data to the memory of the Digi CM, a compact-flash card, a syslog server, or to an NFS server. If the memory is used for port logging, all data will be cleared when the system’s power is turned off.
  • Page 37: Using The Configuration Menu

    Secondly, system logging must be configured for the system under System status and log. System logs can be saved to the Digi CM system memory (there is no need to configure the memory), a compact-flash card, an NFS server, or a Syslog server.
  • Page 38 Using the Configuration Menu Chapter 5...
  • Page 39: Configuring Smtp Alerts

    Protocol) is a protocol used to manage a network and monitor devices on a network. The Digi CM supports both versions 1 and 2 of the SNMP protocol. The main function of SNMP on the Digi CM is to allow a system administrator to query remote devices for information.
  • Page 40: Snmp Information

    4. Choose Save to flash and Apply changes. SNMP Information Applications such as NMS (Network Management System) or an SNMP browser can exchange information with the Digi CM and control actions to the The Digi CM unit. The protocol functions defined for SNMP includes GET, SET, GET-Next,...
  • Page 41 Engineering Lab. • sysService (Read only): A series of values, separated by commas, indi- cating the set of services the system provides. By default the Digi CM only supports Application (7) service level. • EnableAuthenTraps: Indicates whether the SNMP agent process is per- mitted to generate authentication failure traps.
  • Page 42: Managing The Snmp Protocol

    Managing the SNMP Protocol Managing the SNMP Protocol The Digi CM SNMP protocol can be managed using an NMS or SNMP browser. However, before the NMS or SNMP browser can access the data, the Access control settings must list the IP address of the host from which the browser is executed.
  • Page 43 Alerts and Notifications Configuring SMTP To configure SMTP from the configuration menu, do the following: 1. Access the configuration menu. 2. Choose Network configuration > SMTP configuration. 3. Enter the desired parameters for the menu items. 4. Use the ESC key when all parameters are entered to return to the main menu.
  • Page 44 Using the Configuration Menu Chapter 6...
  • Page 45: Configuring Network Ip Filtering

    Chapter 7 Introduction The Digi CM provides several ways to control access to the network and the devices on the network. One method for controlling access is through IP filtering which allows or prevents users from specific IP addresses from accessing devices or serial ports on the network.
  • Page 46: Console And Web Ip Filtering

    Configuring Network IP Filtering Console and Web IP Filtering IP filtering is a way of controlling access to the Digi CM from remote hosts. If the administrator wants to allow specific remote hosts access to the Digi CM, the administrator must provide the host’s IP address and subnet mask. To configure the Digi CM for IP filtering, do the following: 1.
  • Page 47: Using Ip Tables

    Configuring User Access Control MIKE Another method to control access to the serial ports on the Digi CM is through the User Access Control configuration. This configuration can be done on a per port basis or globally by selecting the All Ports option. There are three options for user access control: None, Restricted user list, and Permitted user list.
  • Page 48: Sniff Session

    Users who are registered for a Sniff session can access a specific serial port even if another user is using the port. The Digi CM supports up to four concurrent sniff sessions, three concurrent sniffers on one port, and a total of ten authorized sniff users.
  • Page 49: Viewing A Sniff Session

    Viewing A Sniff Session A sniff user enters a sniff session by starting a Telnet session on a specified port. In the following example, a sniff user Telnets to port 7 of a Digi CM. From the command prompt enter the following command: telnet 192.168.100.42 7007...
  • Page 50: Configuring Authentication Methods

    RADIUS or an authentication method where a Local authentication service is used in addition to the RADIUS, LDAP, or TACACS+ server. These options are listed when you configure the Digi CM for authentication. To configure a Digi CM for authentication, do the following: 1.
  • Page 51: Using The Configuration Menu

    Configuring Security and Authentication Using the Configuration Menu Network IP Filtering To configure the Digi CM for Network IP filtering, do the following: 1. Access the configuration menu. 2. Choose Network configuration > IP filtering. 3. Choose a menu item and enter the desired parameters for the menu items.
  • Page 52 Using the Configuration Menu Sniff Sessions To configure a port or all ports for sniff users, do the following: 1. Access the configuration menu. 2. Choose Serial port configuration. 3. Choose an individual port number or 0 (zero) for all ports > User access control.
  • Page 53: Making Custom Menus

    C u s t o m a n d D e f a u l t M e n u s Chapter 8 Introduction The Digi CM has several default menus built into the system for easy configuration and access by different users. Depending on access privileges, the menus available are the Web Interface, Configuration Menu, and a Port Access menu.
  • Page 54: Creating Menu Names

    Making Custom Menus Creating Menu Names To make a custom menu, do the following: 1. Access the web interface. 2. Choose Configuration under the Custom Menus heading. 3. Enter the Menu Name you want to assign and choose the Add Menu button.
  • Page 55 Custom and Default Menus 3. Fill in the desired parameters. The parameters are: • Key: Any letter or number except a value already used by another menu item • Label: Label or name for the menu item • Create new submenu: Assign a name for a new submenu that this menu item will be assigned or linked to •...
  • Page 56: Assigning Users To A Menu

    Making Custom Menus Assigning Users To A Menu Once a menu has been created users can be assigned. To assign users to a menu, do the following: 1. Access the web interface. 2. Choose Configuration under the Custom Menus heading > Menu Users. A list of available users is displayed.
  • Page 57: Using The Configuration Menu

    The configuration menu is available through a Telnet or SSH session both to the root user and system administrator. The configuration menu enables the authorized users to configure the Digi CM with the same functionality as the web interface. The only functionality missing from the configuration menu is the ability to create custom menus.
  • Page 58: Port Access Menu

    Users access this menu through a Telnet or SSH session using the IP address of the Digi CM followed by the port number 7000. An example is: telnet 192.168.100.200 7000 By default root is connected to the command line interface and the preceding option allows the root user access to the port access menu.
  • Page 59: Configuring For Dial-In Modem Access

    Digi CM accepts the connection and displays a menu of available serials ports. In a dial-in terminal server mode, the Digi CM makes a TCP connection with either a Telnet or SSH client to a pre-defined server. RawTCP is also an option for dial-in users.
  • Page 60: Adding A Pc Modem

    6. Choose Save to flash and Apply changes. Adding a PC Modem A PC card slot is provided on the front panel of the Digi CM. The graphic below has an arrow indicating the PC card slot. PC card slot To install and configure the PC modem on the Digi CM, do the following.
  • Page 61: Configuring For Dial-In Terminal Server Access

    Configuring Remote Dial-In Access Configuring For Dial-In Terminal Server Access To configure a serial port for a dial-in terminal server access, enter the values for these fields: Host mode, Destination IP, Base Port, Protocol, Inactivity timeout, and Modem init string. To access the Host mode configuration screen, do the following: 1.
  • Page 62: Using The Configuration Menu

    To use dial-in terminal server access, an external modem is first attached to a serial port on the Digi CM and then the serial port is configured for dial-in terminal server mode. In the illustration below, port 7 is configured for dial-in terminal server mode.
  • Page 63 IP address. For instance, the Digi CM can manage up to 16 slave devices or a maximum 544 serial ports with one Master device. Ports can be configured either collectively or individually depending on user preference.
  • Page 64: Configuring Port Clustering

    Configuring Port Clustering Assigning Master Clustering Mode To assign a Digi CM as the Master cluster device, do the following: 1. Access the Digi CM through the web interface. This Digi CM needs to be the unit you want as the Master.
  • Page 65: Clustering Parameters

    5. Enter the IP address of the Slave unit in the IP address field. 6. Select the Auto Config button and the Master Digi CM automatically imports the configuration of the Slave serial ports to the Master Digi CM. The following screenshot displays serial port configuration imported from a Slave unit.
  • Page 66 Configuring Port Clustering • Base destination port: This is the physical port number on a remote slave unit. By default the base destination port on the first slave unit is 7001. However, you can change the base destination port number to another number and the rest of the ports on the unit will be sequentially numbered from the base destination port.
  • Page 67: Using The Configuration Menu

    Before you start this configuration procedure, the slave units should already be configured unless you want them set to the default values. To set up the Digi CM for clustering, do the following: 1. Access the configuration menu.
  • Page 68 Using the Configuration Menu Chapter 10...
  • Page 69: Linux Commands

    The purpose of this section is to list the various Linux commands available on the Digi CM. This is simply a listing of commands and does not detail what the commands do or give their particular parameters. If you need more information on a command, consult the man pages on a Linux system.
  • Page 70: Important File Locations

    Default Script The default script file is executed whenever the Digi CM is booted. The file is /usr/rc.user and can be modified with the vi editor. The modified script becomes effective when the system is rebooted.
  • Page 71: Upgrading The Firmware

    You will need to download the latest firmware version to a system on the same subnet mask as the Digi CM. The latest firmware can be downloaded from the Digi support site at: http://cm.digi.com. Do the following to upgrade the firmware: 1.
  • Page 72: Setting Date And Time

    1. Access the web interface. 2. Under the System administration heading choose Factory default settings. 3. Choose Reset. The Digi CM will automatically reboot. The following are the default values when the Digi CM is reset to the factory defaults. •...
  • Page 73: Configuring A Device Name

    System Administration Configuring A Device Name The system administrator can assign a device name to the Digi CM. This is often helpful for administration purposes in locating the specific Digi CM on the network. To assign the Digi CM a device name, do the following: 1.
  • Page 74: Using The Configuration Menu

    3. Choose Firmware upgrade. Enter y for Yes when asked if you want to upgrade the firmware. 4. If the firmware upgrade is successful, the Digi CM will reboot automatically. If a Firmware upgrade failed! warning appears, do not reboot the unit but repeat the upgrade process.
  • Page 75: Accessing The Boot Loader Program

    The unit will automatically reboot. Setting Date and Time Date and time on the Digi CM can either be kept internally or by an NFS server. To set the parameters for date and time on the Digi CM, do the following: 1.
  • Page 76: Hardware Test Menu

    However, if the Digi CM fails to boot in spite of being reset to the factory default settings, the firmware can be restored by using the Boot Loader program.
  • Page 77 7. Enter the information for the first first menu items. • Protocol: The choices are BOOTP or TFTP • IP address assigned: Enter the IP address of the Digi CM • Server’s IP address: The IP address of the BOOTP or TFTP server •...
  • Page 78 Accessing the Boot Loader Program Chapter 12...
  • Page 79: Hardware Specifications

    Ethernet and serial cables, pinouts for the cable adapters, the meaning of LED indicator lights, and hardware specifications. The Digi CM uses an embedded Hard Hat Linux operating system with 64 megabytes of SDRAM and 8 megabytes of flash memory. Hardware Specifications...
  • Page 80: Serial Port Pinouts

    Hardware Specifications Serial Port Pinouts The Digi CM uses an RJ45 connector for serial ports. The pin assignment of the RJ45 connector for serial ports is summarized below. Each pin has a function according to the serial communication type configuration.
  • Page 81: Led Indicators

    Hardware Information LED Indicators Use the LED indicators to confirm your attachment to the network and that the Digi CM is able to send and receive data. Function System Power On when power is supplied Ready On when system is ready to run...
  • Page 82: Cable Adapters

    Cable Adapters Cable Adapters The Digi CM unit is packaged with four cable adapters. The following illustrations depict the pinouts for the cable adapters. Additional adapters can be purchased from Digi in quantities of 8. DB-25 Male Console Adapter (Digi P/N 76000672)
  • Page 83: Db-9 Female Console Adapter

    Hardware Information DB-9 Female Console Adapter (Digi P/N 76000671) Pin #1 Pin #5 Pin #1 Pin #6 Pin #8 DB-9 Female to RJ-45 Pin Assignments RJ-45 Signal DB-9F Signal connected to connected to connected to connected to connected tot connected to...
  • Page 84: Db-25 Female Console Adapter

    Cable Adapters DB-25 Female Console Adapter (Digi P/N 76000673) Pin #1 Pin#13 Pin#25 DB-25 Female to RJ-45 Pin Assignments RJ-45 Signal DB-25M Signal connected to connected to connected to connected to connected to connected to connected to Chapter 13...
  • Page 85: Db-25 Male Modem Adapter (Digi P/N 76000670)

    Hardware Information DB-25 Male Modem Adapter (Digi P/N 76000670) Pin #13 Pin #1 Pin #25 DB-25 Male Modem to RJ-45 Pin Assignment RJ-45 Signal DB-25M Signal connected to connected to connected to connected to connected to connected to connected to...
  • Page 86 Cable Adapters Chapter 13...
  • Page 87: Working Inside The Digi Cm

    • To help protect the Digi CM from transients in electrical power, use a surge sup- pressor, line conditioner, or uninterruptible power supply. • Be sure that nothing rests on the Digi CMs cables and that the cables are not located where they can be stepped on or tripped over.
  • Page 88: Emissions

    Emissions Keep your Digi CM away from heat sources. Also, do not block cooling vents. Emissions US: FCC part 15, Class A Canada: ICES 003 Class A Europe: EN55022, EN61000-3-2, EN61000-3-3 Japan: VCCI Australia: AS3548 Immunity Europe: EN55024 Chapter 14...
  • Page 89 I n d e x 3DES 16 configuring access (configuration menu) 62 direct port access 12 disaster recovery 76 accessing a port DTR settings 31 web interface 12 applyconf 69 assigning IP settings 15 enabling system logging 33 authentication 49 encryption configuration menu 52 SSH 16...
  • Page 90 Linux Hard Hat 69 SMTP alerts 39 Linux network utilities 70 sniff session 48 Linux shell utilities 69 configuration menu 52 Linux system utilities 70 viewing 49 SNMP 40 configuring 40 menus configuring (configuration menu) 42 adding menu items 54 managing the SNMP protocol 42 assigning users 56 SSH 12...
  • Page 92 Product Description PN:(1P) 90000301 PN:(1P) part num...

Table of Contents