Assigning CP numbers to TX boards: txcpcfg

Use txcpcfg to view all detected TX boards in a system and to assign a CP (communications processor) number to a board.

Viewing all detected boards

To view all detected TX boards, run txcpcfg with no parameters:

txcpcfg

The following example shows a system with three TX boards where only two boards have assigned CP numbers:

txcpcfg

Bus    Slot    CP Number    CP Model
---    ----    ---------    --------
1      10      1            TX 4000
1      11      2            TX 4000
2      5       UNDEFINED    TX 5500E

Note: TX 4000 also refers to a TX 4000C board.

Assigning a CP number

To assign a CP number to a TX board at a given PCI bus and slot, enter the following command:

txcpcfg bus slot boardnum

where:

Argument

Description

bus

Bus number of the board that you are configuring.

slot

Slot number of the board that you are configuring.

boardnum

CP number to assign to the board. Valid CP numbers start at 1 and must be unique. They do not have to be consecutive.


In a Windows system, any changes to the configuration information are automatically saved. In a UNIX system, you must save the configuration changes by editing the cpcfg file, located in /opt/dialogic/tx/bin.

Obtaining bus and slot information during software installation (UNIX only)

pcigetcfg is used under UNIX to display information for all TX boards detected on the PCI bus. pcigetcfg assigns a unique number to each detected TX board, starting from 0, and displays the following information for each device:

Field

Description

NUMCNTLS

Number of TX boards detected.

HWTYPEn

Type of TX board (for board n).

SERIALn

Serial number of the TX board (for board n).

CPIDn

CP number assigned to the TX board (for board n).

BUSn

Bus number of the board (for board n).

SLOTn

Slot number of the board (for board n).


When the NaturalAccess Signaling Software is installed, an installation script uses the bus and slot information provided by pcigetcfg to determine the entries to place in the cpcfg script executed at board boot time.

Note: The output of pcigetcfg is designed to assist the installation script rather than to provide well-formatted screen output. Use txcpcfg instead of pcigetcfg to view the PCI bus and slot information for all detected TX boards.