# Creating a system configuration file for oamsys

OAM system configuration files reference all of the boards in your system. System configuration files are typically named oamsys.cfg and are located in the \nms\oam\cfg directory (/opt/nms/oam/cfg for UNIX). When you start oamsys, it looks for a system configuration file named oamsys.cfg.

The following table describes the board-specific information included in system configuration files:

Keyword | Description
--- | ---
[NAME] | Name of the board to be used to refer to the board in the software. The board name must be unique.
Product | Name of the board product. For CG 6565C boards, CG_6565C is for zero trunk boards, CG_6565C_8 is for 8 trunk boards, and CG_6565C_16 is for 16 trunk boards.
Number | Board number you use in the Natural Access application to refer to the board.
Bus | PCI bus number. The bus:slot location for each board must be unique. Obtain with pciscan.
Slot | PCI slot number. The bus:slot location for each board must be unique. Obtain with pciscan.
File | Name of the board keyword file containing settings for the board. Several board keyword files are installed with the CG software.

Refer to the Dialogic® NaturalAccess™ OAM System Developer’s Manual for specific information about the syntax and structure of the system configuration file.

Note: You can use the oamgen utility (included with the OAM API software) to create a sample system configuration file for your system. The system configuration file created by oamgen may not be appropriate for your configuration. You may need to make further modifications to the file before running oamsys to configure your boards based on the file. For information about oamgen, refer to the Dialogic® NaturalAccess™ OAM System Developer’s Manual.

### Sample system configuration file

The following system configuration file provides configuration information for several CG 6565C boards on a particular chassis. Each board has a separate section delimited by a unique user-defined board name (in square brackets).

Modify the Bus and Slot values appropriately for each board to match your chassis configuration. If necessary, add new entries for additional boards.

[Board_CG_6565C]
Product = CG_6565C_8
Number = 0
Bus = 1
Slot = 7
File = c6565nocc.cfg
#------------------------------------------------------
# Uncomment the following section to boot another board
#-------------------------------------------------------
#[BoardName1]
# Product = CG_6565C_8
# Number = 1
# Bus = 2
# Slot = 14
# File = c6565nocc.cfg