# Configuring CG boards

When you install and boot the CG board with the configuration files provided with NaturalAccess, it is ready for general purpose use. To configure the board to work with Fusion demonstration programs, reboot the board with oamsys using the fusion_oamsys.cfg sample system configuration file, and a Fusion sample board keyword file.

Sample board keyword files are located in \nms\cg\cfg\ (Windows) or /opt/nms/cg/cfg (Unix/Linux). The following table is a partial listing of available board keyword files:

Board keyword file | Description
cg6060fusion.cfg | Fusion configuration file for 120 ports on CG 6060 and CG 6060C boards that use E1 interfaces and the on-board IPv4 stack. Also contains commented out configuration for T1 and IPV6.
cg6565fusion.cfg | Fusion configuration file for 240 ports on CG 6565, CG 6565C, and CG 6565E boards that use E1 interfaces and the on-board IPv4 stack. Also contains commented out configuration for T1 and IPV6.

The sample configuration files specify the following CG board settings:

- PSTN (T1/E1) interface

- Ethernet interface

- Board switching mode (for example, standalone or other)

- On-board resource management

Edit the appropriate file so the following PSTN and Ethernet interface configuration information is appropriate for the system. The modified configuration file should include the following system-specific entries:

Configuration | Example
Line interfaces (T1/E1) | The following keywords configure the CG board T1/E1 trunks in the cg6kfusion-t.cfg. In this example, the interfaces are configured as T1 trunks: 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 DSPStream.VoiceIdleCode[0..3] = 0x7f DSPStream.SignalIdleCode[0..3] = 0x00
IPv4 Ethernet interfaces | The following keyword entries define IPv4 Ethernet interfaces for the CG board: IPC.AddRoute[0].DestinationAddress = 10.102.1.12 IPC.AddRoute[0].Mask = 255.255.0.0 IPC.AddRoute[0].Interface = 1 The following keyword entries define the default route table entry: IPC.AddRoute[1].DestinationAddress = 0.0.0.0 IPC.AddRoute[1].Mask = 0.0.0.0 IPC.AddRoute[1].GatewayAddress = 10.102.1.10 You can also set Ethernet interface configuration information with the cgroute utility. For information about cgroute and board keywords used to configure IPv4 Ethernet interfaces, refer to the CG board documentation. For more information about board keywords used to configure IPv6 Ethernet interfaces, refer to Configuring CG board Ethernet interfaces or to the CG board manual.
IPv6 Ethernet interfaces | The following keyword entries define IPv6 Ethernet interfaces for the CG board: 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 For more information about board keywords used to configure IPv6 Ethernet interfaces, refer to Configuring CG board Ethernet interfaces or to the CG board manual.
Board clocking | The following example keywords set the board in standalone mode and to reference its internal clocking from a digital trunk interface (in this case, trunk 1): Clocking.HBus.ClockMode = STANDALONE Clocking.HBus.ClockSource = NETWORK Clocking.HBus.ClockSourceNetwork = 1 In multiple board systems, you can configure each board to reference its clocking from a primary clock master, and optionally, a secondary clock master.