# Specifying switch connections

Specify switch connections in the PPX configuration file beginning with a Connect statement and ending with an End Connect statement. The switch connections are of the form:

switch_number:bus:stream:timeslot TO switch_number:bus:stream:timeslot [NAILED] mode

switch_number is the number assigned to the board with the Switch n statement in the PPX configuration file. bus can be CTBUS or LOCAL. stream and timeslot specify which stream and timeslot to connect.

NAILED specifies that the connections cannot be broken with PPX commands. mode can be SIMPLEX, DUPLEX, or QUAD.

For example, to connect the AG 2000 line interfaces to the on-board DSP resources:

[PPX]
Fabric
Bus_2MBPS
CTBUS:0..15:0..31
End Bus
Switch 0 # AG 2000 assigned as switch 0
DeviceName = "agsw" # AG board device driver - agsw
DeviceNumber = 1 # the logical board number assigned through OAM
SwitchType = HMIC # the switch on the AG 2000 is an HMIC
Bus Bus_2MBPS # connected to the CT bus clocked at 2 mbps
Inputs
LOCAL:0..2(2):0..7 # trunk voice and signaling
LOCAL:4..6(2):0..7 # DSP voice and signaling
End Inputs
Outputs
LOCAL:1..3(2):0..7 # trunk voice and signaling
LOCAL:5..7(2):0..7 # DSP voice and signaling
End Outputs
End Switch
Connect
0:LOCAL:0:0..7 TO 0:LOCAL:5:0..7 NAILED QUAD
End Connect
End Fabric

Switch connections must appear as the last statements in the switch fabric definition. Connections are made when the PPX server is started. These initial switch connections can be disconnected by any application using ppxDisconnect unless specified with the NAILED keyword.