# Using board keyword files

A board keyword file contains keyword settings. When you create the system configuration file, you can reference one or more board keyword files to use for the components in your system. Refer to Creating a system configuration file for more information. When you run oamsys, the utility adds the settings for each component to the NMS OAM database.

Several sample keyword files are supplied with the hardware installation. Each of these files configures the board to use a different protocol (for example, wink start or off-premises station). You can reference these files in the system configuration file or modify them. For more information about the sample files supplied for your hardware, refer to the board documentation.

For detailed descriptions of the keywords supported for the board, refer to the board documentation.

If the system contains more than one board with the same configuration, you can use the same keyword file for each of these boards.

Note: All sample files set each board to stand-alone clocking mode. For boards to communicate with each other across the CT bus, modify the clocking information for each board. Refer to CT bus clocking overview for information.

## Keyword file syntax

A keyword file is an ASCII text file. Typically, the file has the extension .cfg.

Within the file, each statement appears on its own line. A line beginning with a number sign (#) denotes a comment and is ignored. If a line ends with a backslash (\), the next line is assumed to be a continuation of the line.

## Board keyword file example

The following board keyword file configures a CG 6000C board to run with NOCC. Board-specific information (such as board ID information) is not included in board keyword files.

#
# c6nocc.cfg
# CG 6000 configuration file
#
# This file configures the board to run Voice with NOCC.
#
Clocking.HBus.ClockMode = STANDALONE
Clocking.HBus.ClockSource = OSC
Clocking.HBus.ClockSourceNetwork = 1
TCPFiles = nocc
DSPStream.VoiceIdleCode[0..3] = 0x7F
DSPStream.SignalIdleCode[0..3] = 0x00
NetworkInterface.T1E1[0..3].Type = T1
NetworkInterface.T1E1[0..3].Impedance = DSX1
NetworkInterface.T1E1[0..3].LineCode = B8ZS
NetworkInterface.T1E1[0..3].FrameType = ESF
NetworkInterface.T1E1[0..3].SignalingType = CAS
DSP.C5x[0..31].Libs[0] = cg6klibu
DSP.C5x[0..31].XLaw = MU_LAW
DSP.C5x[1..31].Files = voice tone dtmf echo \
rvoice callp ptf wave \
oki ima gsm_ms g726 mf
DSP.C5x[0].Files = qtsignal tone dtmf echo \
callp NULL NULL
Resource[0].Name = RSC1
Resource[0].Size = 120
Resource[0].TCPs = nocc
################################################################
# Before modifying this resource definition string refer to the CG6000C
# Installation and Developers Manual.
#################################################################
Resource[0].Definitions = ( dtmf.det_all & echo.ln20_apt25 & \
ptf.det_2f & tone.gen & callp.gnc & ptf.det_4f & ( (rvoice.rec_mulaw & \
rvoice.play_mulaw) | (rvoice.rec_alaw & rvoice.play_alaw) | \
(rvoice.rec_lin & rvoice.play_lin) | (voice.rec_16 & (voice.play_16_100 | \
voice.play_16_150 | voice.play_16_200)) | (voice.rec_24 & \
(voice.play_24_100 | voice.play_24_150 | voice.play_24_200)) | \
(voice.rec_32 & (voice.play_32_100 | voice.play_32_150 | \
voice.play_32_200)) | (voice.rec_64 & (voice.play_64_100 | \
voice.play_64_150 | voice.play_64_200)) | (wave.rec_11_16b & \
wave.play_11_16b) | (wave.rec_11_8b & wave.play_11_8b) | (oki.rec_24 & \
(oki.play_24_100 | oki.play_24_150 | oki.play_24_200)) | (oki.rec_32 & \
(oki.play_32_100 | oki.play_32_150 | oki.play_32_200)) | (ima.rec_24 & \
ima.play_24) | (ima.rec_32 & ima.play_32) | (gsm_ms.frgsm_rec & \
gsm_ms.frgsm_play) | g726.rec_32 | g726.play_32) )
DLMFiles[0] = cg6krun
DebugMask = 0x0