Configuring the board

This topic provides sample files that configure CG boards for a 3G-324M gateway application.

Note: When configuring a CG board for a video application, you must configure MUX DSP pools.

Refer to the CG board installation and developer's manual for general information about configuring the board.

Sample configuration file for the CG 6565 board

In this example, twelve DSPs are reserved in the MUX_DEMUX pool for the 3G-324M Interface, providing a total of 120 3G-324M MUX/DEMUX ports. Each DSP can support 10 MUX/DEMUX ports, available on timeslots 0 through 119 (specified in ctaOpenServices).

The video-specific settings are shown in bold.

#################################################################
# CG6565 IP Address, subnet mask, and gateway IP address.
# Note: the IP configuration below is for a Ethernet Failover
# THIS CONFIGURATION FILE WILL FAIL UNLESS THE VARIABLE STRINGS
# BELOW ARE REPLACE WITH REAL IP ADDRESSES.
IPC.AddRoute[0].DestinationAddress = 10.118.7.133
IPC.AddRoute[0].Mask = 255.255.0.0
IPC.AddRoute[0].Interface = 1
#IPC.AddRoute[1].DestinationAddress = 0.0.0.0
#IPC.AddRoute[1].Mask = 0.0.0.0
#IPC.AddRoute[1].GatewayAddress = 10.1.0.1
################################################################
IPv6.Link[0].Enable = YES
IPv6.Link[0].IPSec  = NO
IPv6.Link[0].MTU    = 1500
IPv6.Link[0].HopLimit = 64
IPv6.Link[0].EnablePing = YES
IPv6.Link[0].ICMPRateLimit = 100
IPv6.Link[0].NDAttempts = 3
IPv6.Link[0].NDRetranTimer = 1000
IPv6.Link[0].NDReachabilityTImer = 30000
IPv6.Link[1].Enable = YES
IPv6.Link[1].IPSec  = NO
IPv6.Link[1].MTU    = 1500
IPv6.Link[1].HopLimit = 128
IPv6.Link[1].EnablePing = YES
IPv6.Link[1].ICMPRateLimit = 100
IPv6.Link[1].NDAttempts = 3
IPv6.Link[1].NDRetranTimer = 1000
IPv6.Link[1].NDReachabilityTImer = 30000

################################################################
# E1 SPECIFICS
TCPFiles                                   = nocc isd0
NetworkInterface.T1E1[0..15].Type          = E1
NetworkInterface.T1E1[0..15].Impedance     = G703_120_OHM
NetworkInterface.T1E1[0..15].LineCode      = HDB3
NetworkInterface.T1E1[0..15].FrameType     = CEPT
NetworkInterface.T1E1[0..15].SignalingType = PRI
NetworkInterface.T1E1[0..15].D_Channel     = ISDN
DSPStream.VoiceIdleCode[0..15]             = 0xD5
DSPStream.SignalIdleCode[0..15]            = 0x09
Hdlc[0..3].Boot                            = YES
Hdlc[0..3].Hardware.TxTimeSlot             = 16
Hdlc[0..3].Hardware.RxTimeSlot             = 16
################################################################
# CLOCK SETTINGS
Clocking.HBus.ClockMode                    = STANDALONE
Clocking.HBus.ClockSource                  = NETWORK
Clocking.HBus.ClockSourceNetwork           = 1
################################################################
# DSP RELATED SETTINGS
################################################################
DSP.C5x[0..95].Os                          = dspos6u
# DSP Libraries - E1
DSP.C5x[0..95].Libs                        = cg6kliba f_shared
# ---------------------------------------------------------
# Set up the voice processing DSP's in A_LAW (for E1)
# Set up the MUX DSP's in NO_LAW so they won't compand

# ---------------------------------------------------------
DSP.C5x[0..95].XLaw                        = A_LAW
DSP.C5x[0..11].XLaw                        = NO_LAW
# ----------------------------------------------------------------
# Very important for MUX DSP's in 3G-324M Interface configuration!
# ----------------------------------------------------------------
DSP.C5x[0..11].DataInQSize                 = 0x800
DSP.C5x[0..11].DspOutQStart                = 0x2900
DSP.C5x[0..11].DspOutQSize                 = 0x900

################################################################
# RESOURCE MANAGEMENT
################################################################
################################################################
# Resource Pool 1 - MUX
################################################################
Resource[0].Name              = MUX_DEMUX
Resource[0].TCPs              = nocc
Resource[0].DSPs              = 0 1 2 3 4 5 6 7 8 9 10 11
Resource[0].Size              = 120
Resource[0].StartTimeSlot     = 0
Resource[0].Definitions       = (mux.mux & mux.demux)

##############################################################################
# DOWNLOADABLE RUNTIME MODULES6krun
DLMFiles[0]                  = cg6565fusion
DLMFiles[1]                  = c6565igen
##########################################################
# DEBUG STUFF
DebugMask                   = 0x0
################################################################

Sample configuration file for the CG 6060 board

In this example, six DSPs are reserved in the MUX_DEMUX pool for the 3G-324M Interface, providing a total of 60 3G-324M MUX/DEMUX ports. Each DSP can support ten MUX/DEMUX ports, available on timeslots 0 through 59 (specified in ctaOpenServices).

The video-specific settings are shown in bold.

################################################################
# CG6060 IP Address, subnet mask, and gateway IP address. 
# Note: the IP configuration below is for a Ethernet Failover
# THIS CONFIGURATION FILE WILL FAIL UNLESS THE VARIABLE STRINGS
# BELOW ARE REPLACE WITH REAL IP ADDRESSES.
IPC.AddRoute[0].DestinationAddress = 10.118.7.121
IPC.AddRoute[0].Mask = 255.255.0.0
IPC.AddRoute[0].Interface = 1
#IPC.AddRoute[1].DestinationAddress = 0.0.0.0
#IPC.AddRoute[1].Mask = 0.0.0.0
#IPC.AddRoute[1].GatewayAddress = 10.1.0.1
################################################################
IPv6.Link[0].Enable = YES
IPv6.Link[0].IPSec  = NO
IPv6.Link[0].MTU    = 1500
IPv6.Link[0].HopLimit = 64
IPv6.Link[0].EnablePing = YES
IPv6.Link[0].ICMPRateLimit = 100
IPv6.Link[0].NDAttempts = 3
IPv6.Link[0].NDRetranTimer = 1000
IPv6.Link[0].NDReachabilityTImer = 30000

IPv6.Link[1].Enable = YES
IPv6.Link[1].IPSec  = NO
IPv6.Link[1].MTU    = 1500
IPv6.Link[1].HopLimit = 128
IPv6.Link[1].EnablePing = YES
IPv6.Link[1].ICMPRateLimit = 100
IPv6.Link[1].NDAttempts = 3
IPv6.Link[1].NDRetranTimer = 1000
IPv6.Link[1].NDReachabilityTImer = 30000

################################################################
# E1 SPECIFICS
TCPFiles                                  = nocc isd0
NetworkInterface.T1E1[0..15].Type         = E1
NetworkInterface.T1E1[0..15].Impedance    = G703_120_OHM
NetworkInterface.T1E1[0..15].LineCode     = HDB3
NetworkInterface.T1E1[0..15].FrameType    = CEPT
NetworkInterface.T1E1[0..15].SignalingType  = PRI
NetworkInterface.T1E1[0..15].D_Channel      = ISDN
DSPStream.VoiceIdleCode[0..15]   = 0xD5
DSPStream.SignalIdleCode[0..15]  = 0xB
Hdlc[0..3].Boot              = YES
Hdlc[0..3].Comet.TxTimeSlot  = 16
Hdlc[0..3].Comet.RxTimeSlot  = 16
################################################################
MaxChannels = 150
################################################################
# CLOCK SETTINGS
Clocking.HBus.ClockMode                       = STANDALONE
Clocking.HBus.ClockSource                     = NETWORK
Clocking.HBus.ClockSourceNetwork              = 1
################################################################
################################################################
# DSP RELATED SETTINGS
################################################################
DSP.C5x[0..47].Os                          = dspos6u
# DSP Libraries - E1
DSP.C5x[0..47].Libs                        = cg6kliba f_shared
# ---------------------------------------------------------
# Set up the voice processing DSP's in A_LAW (for E1)
# Set up the MUX DSP's in NO_LAW so they won't compand

# ---------------------------------------------------------
DSP.C5x[0..47].XLaw                        = A_LAW
DSP.C5x[0..5].XLaw                         = NO_LAW
# ----------------------------------------------------------------
# Very important for MUX DSP's in 3G-324M Interface configuration!
# ----------------------------------------------------------------
DSP.C5x[0..5].DataInQSize                 = 0x800
DSP.C5x[0..5].DspOutQStart                = 0x2900
DSP.C5x[0..5].DspOutQSize                 = 0x900

################################################################
################################################################
# RESOURCE MANAGEMENT
################################################################
################################################################
# Resource Pool 1 - MUX
################################################################
Resource[0].Name              = MUX_DEMUX
Resource[0].TCPs              = nocc
Resource[0].DSPs              = 0 1 2 3 4 5
Resource[0].Size              = 60
Resource[0].StartTimeSlot     = 0
Resource[0].Definitions       = (mux.mux & mux.demux)

################################################################
# DOWNLOADABLE RUNTIME MODULES
DLMFiles[0]        = cg6060fusion
DLMFiles[1]        = c6060igen 
################################################################
# DEBUG STUFF
DebugMask                   = 0x00
##############################################################

Sample configuration file for the CG 6000 board

In this example, twelve DSPs are reserved in the MUX_DEMUX pool for the 3G-324M Interface, providing a total of 48 3G-324M MUX/DEMUX ports. Each DSP can support four MUX/DEMUX ports, available on timeslots 0 through 47 (specified in ctaOpenServices).

The video-specific settings are shown in bold.

################################################################
# CG6000 IP Address, subnet mask, and gateway IP address.
# Note: the IP configuration below is for a Ethernet Failover
# THIS CONFIGURATION FILE WILL FAIL UNLESS THE VARIABLE STRINGS
# BELOW ARE REPLACE WITH REAL IP ADDRESSES.
IPC.AddRoute[0].DestinationAddress = 10.118.7.121
IPC.AddRoute[0].Mask = 255.255.0.0
IPC.AddRoute[0].Interface = 1
#IPC.AddRoute[1].DestinationAddress = 0.0.0.0
#IPC.AddRoute[1].Mask = 0.0.0.0
#IPC.AddRoute[1].GatewayAddress = 10.1.0.1
################################################################
IPv6.Link[0].Enable = YES
IPv6.Link[0].IPSec  = NO
IPv6.Link[0].MTU    = 1500
IPv6.Link[0].HopLimit = 64
IPv6.Link[0].EnablePing = YES
IPv6.Link[0].ICMPRateLimit = 100
IPv6.Link[0].NDAttempts = 3
IPv6.Link[0].NDRetranTimer = 1000
IPv6.Link[0].NDReachabilityTImer = 30000

IPv6.Link[1].Enable = YES
IPv6.Link[1].IPSec  = NO
IPv6.Link[1].MTU    = 1500
IPv6.Link[1].HopLimit = 128
IPv6.Link[1].EnablePing = YES
IPv6.Link[1].ICMPRateLimit = 100
IPv6.Link[1].NDAttempts = 3
IPv6.Link[1].NDRetranTimer = 1000
IPv6.Link[1].NDReachabilityTImer = 30000


################################################################
# E1 SPECIFICS
TCPFiles                                 = nocc isd0
NetworkInterface.T1E1[0..3].Type         = E1
NetworkInterface.T1E1[0..3].Impedance    = G703_120_OHM
NetworkInterface.T1E1[0..3].LineCode     = HDB3
NetworkInterface.T1E1[0..3].FrameType    = CEPT
NetworkInterface.T1E1[0..3].SignalingType  = PRI
NetworkInterface.T1E1[0..3].D_Channel      = ISDN
DSPStream.VoiceIdleCode[0..3]   = 0xD5
DSPStream.SignalIdleCode[0..3]  = 0xB
Hdlc[0,3,6,9].Boot              = YES
Hdlc[0,3,6,9].Comet.TxTimeSlot  = 16
Hdlc[0,3,6,9].Comet.RxTimeSlot  = 16
################################################################
MaxChannels = 150
################################################################
# CLOCK SETTINGS
Clocking.HBus.ClockMode                       = STANDALONE
Clocking.HBus.ClockSource                     = NETWORK
Clocking.HBus.ClockSourceNetwork              = 1
################################################################
################################################################
# DSP RELATED SETTINGS
################################################################
DSP.C5x[0].Files            = qtsignal callp tone ptf dtmf echo mf
DSP.C5x[1..31].DataReqTimeOffset = 7  
# DSP Libraries - E1
DSP.C5x[0..31].Libs         = cg6kliba f_shared
# ---------------------------------------------------------
# Set up the voice processing DSP's in A_LAW (for E1)
# Set up the MUX DSP's in NO_LAW so they won't compand

# ---------------------------------------------------------
DSP.C5x[0..31].XLaw         = A_LAW
DSP.C5x[1..12].XLaw         = NO_LAW

# ----------------------------------------------------------------
# Very important for MUX DSP's in 3G-324M Interface configuration!
# ----------------------------------------------------------------
DSP.C5x[1..12].DataInQSize  = 0x2D0
DSP.C5x[1..12].DspOutQStart = 0xFB50
DSP.C5x[1..12].DspOutQSize  = 0x3A0

################################################################
################################################################
# RESOURCE MANAGEMENT
#
################################################################
################################################################
# Resource Pool 1 - MUX
################################################################
Resource[0].Name              = MUX_DEMUX
Resource[0].TCPs              = nocc
Resource[0].DSPs              = 1 2 3 4 5 6 7 8 9 10 11 12
Resource[0].Size              = 48
Resource[0].StartTimeSlot     = 0
Resource[0].Definitions       = (mux.mux & mux.demux)

################################################################
# DOWNLOADABLE RUNTIME MODULES
DLMFiles[0]                 = cg6krun
DLMFiles[1]                 = cg6kfusion
DLMFiles[2]                 = isdngen
################################################################
################################################################
# DEBUG STUFF
DebugMask                   = 0x00
##############################################################