Configuring ports

The txcfg.txt port command defines a full-duplex connection between the TX board communication controller and a remote SS7 connection over either the H.100/H.110 bus or over one of the boards T1/E1 trunks. Port numbers are specified in the MTP configuration file as Tn where n is the port number.

The port command abstracts the TX boards internal local stream mapping scheme. Define dedicated TDM connections with this command. The connect command is an alternative to the port command to define a pair of half-duplex connections. However, because the connect command does not abstract the TX boards local stream mapping, use the port command for all SS7 TDM connection definitions.

This topic presents:

Local stream mapping scheme

Each TX board provides a number of SS7 resources (communication controllers) used to terminate SS7 links. For the TX boards, these SS7 resources are addressed on local streams 72 and 73.

Use the txcfg.txt port command to define TDM connections to SS7 resources. A port command for a standard speed link creates two half-duplex TDM connections between the communication controller and either a T1/E1 channel or an H.100/H.110 channel. The timeslot used to connect to the communication controller is always port number - 1. The timeslot used when defining a T1 port is in the range of 0 through 23. The timeslot used when defining an E1 port is in the range of 1 through 31.

The following table presents the local stream mapping scheme:

Trunk connections (T1 or J1 trunks)

Trunk 1: Streams 0 and 1,

Trunk 2: Streams 4 and 5,

Trunk 3: Streams 8 and 9,

Trunk 4: Streams 12 and 13,

Trunk 5: Streams 16 and 17,

Trunk 6: Streams 20 and 21,

Trunk 7: Streams 24 and 25,

Trunk 8: Streams 28 and 29,

timeslots 0 through 23

timeslots 0 through 23

timeslots 0 through 23

timeslots 0 through 23

timeslots 0 through 23 (CompactPCI TX boards only)

timeslots 0 through 23 (CompactPCI TX boards only)

timeslots 0 through 23 (CompactPCI TX boards only)

timeslots 0 through 23 (CompactPCI TX boards only)

Trunk connections (E1 trunks)

Trunk 1: Streams 0 and 1,

Trunk 2: Streams 4 and 5,

Trunk 3: Streams 8 and 9,

Trunk 4: Streams 12 and 13,

Trunk 5: Streams 16 and 17,

Trunk 6: Streams 20 and 21,

Trunk 7: Streams 24 and 25,

Trunk 8: Streams 28 and 29,

timeslots 1 through 31

timeslots 1 through 31

timeslots 1 through 31

timeslots 1 through 31

timeslots 1 through 31 (CompactPCI TX boards only)

timeslots 1 through 31 (CompactPCI TX boards only)

timeslots 1 through 31 (CompactPCI TX boards only)

timeslots 1 through 31 (CompactPCI TX boards only)

SS7 communication controller

Streams 72 and 73, timeslots 0 through 31


Port command

The port statement syntax is:

port portnum bus outstream slot speed

where portnum is the port number to define (1 through the maximum number links supported [TX board type specific] or * for HSL) and bus is one of the following values:

Value

Description

h100

Defines a connection across the H.100/H.110 bus.

local

Defines a connection across one of the TX boards local streams. This value is similar to the connect command since the TX boards local stream mapping scheme must be known to use this bus type.

e1

Defines a connection across a timeslot of an E1 trunk.

t1

Defines a connection across a timeslot of a T1 trunk.

j1

Defines a connection across a timeslot of a J1 trunk.


where outstream is interpreted based on the value of bus:

If bus is...

Then outstream (and implied instream) is...

h100

Outbound H.100/H.110 stream number. The range is 0 through 31.

If outstream is even, instream = outstream + 1.

If outstream is odd, instream = outstream - 1.

local

Outbound local stream number. The range is based on the specific TX board type. Refer to Local stream mapping scheme.

instream = outstream.

e1/t1/j1

One-based trunk number. The range is 1 through 4 for PCI and PCI Express TX boards and 1 through 8 for CompactPCI TX boards.

instream = outstream.


where slot is interpreted based on the value of bus:

If bus is...

Then slot is...

h100

Inbound and outbound H.100/H.110 timeslot number. The range is 0 through 127.

local

Inbound and outbound local timeslot number. The range is 0 through 31.

e1

Timeslot on the E1 trunk. The range is 1 through 31 or * for HSL. You cannot configure an SS7 port on E1 timeslot 0.

t1/j1

Zero-based timeslot number on the T1 (or J1) trunk. The range is 0 through 23 or * for HSL.


where speed is one of the following values (not used for HSL):

Value

Description

64

64 Kb connection (default speed of all port connections).

56

56 Kb connection.

48

48 Kb connection.


Connect command

Use the txcfg.txt connect command to define a half-duplex connection between any two TDM endpoints so that TDM timeslots not in use by SS7 links can be switched to other devices. To properly use the connect command, it is important to understand the TX board's local stream mapping scheme.

Note: For connections that terminate SS7 links, use the port command since it abstracts all knowledge of the TX board's internal switching model.

The connect statement syntax is:

connect inbus instream inslot outbus outstream outslot

where inbus specifies the input source and is one of the following values:

Value

Description

h100

Input source is the stream and timeslot from the H.100/H.110 bus.

local

Input source is the stream and timeslot from one of the TX boards local streams (either a T1/E1 interface or an SS7 communication controller).


where instream is the inbound stream number: 0 through 31 (Hbus); 0 through n (local).

where inslot is the inbound timeslot: 0 through 127 (Hbus); 0 through 31 (local).

where outbus is one of the following values:

Value

Description

h100

Output endpoint is the stream and timeslot to the H.100/H.110 bus.

local

Output endpoint is the stream and timeslot to one of the TX boards local streams (either a T1/E1 interface or an SS7communication controller).


where outstream is the outbound stream number: 0 through 31 (Hbus); 0 through n (local).

where outslot is the outbound timeslot: 0 through 127 (Hbus); 0 through 31 (local).

Examples

This section presents the following port configuration examples:

T1 example

This command:

port 5 t1 2 7

creates the following TDM connections:

This command creates a full-duplex connection used by the MTP link defined as T5.

Local stream 72 connects to and from the SS7 communication controller with timeslot 4 (port number 5 - 1).

Local stream 4 connects to T1 trunk 2 with timeslot 7 mapping to T1 channel 7.

The same stream numbers are used for input and output connections when the stream is a local stream.

H.100/H.110 example

This command:

port 9 h100 2 7

creates the following TDM connections:

This command creates a full-duplex connection used by the MTP link defined as T9.

Local stream 72 connects to and from the SS7 communication controller with timeslot 8 (port number 9 - 1).

H.100 stream 2 is specified as the output stream. This is an even stream number, so the corresponding input stream number is 2 + 1 = 3.

The same stream numbers are used for input and output connections for the local stream (connecting to the communication controller), while different streams are used to connect over the H.100 bus.

Example mapping of all non-signaling T1 channels (trunk 1) to H.100/H.110

This example shows the port and connect commands required to fully access the channels on T1 trunk 1.

The example creates a single SS7 port on T1 channel 0 (trunk 1) and maps all other channels of trunk 1 to the H.100/H.110 bus (transmitting to stream 30 and receiving from stream 31).

Command

Description

port 1 t1 1 0

Port 1 maps to T1 trunk 1 channel 0.

connect local 0 1 h100 30 1

Local stream 0 (trunk 1) channel 1 maps to H.100/H.110 stream 30 timeslot 1.

connect h100 31 1 local 0 1

H.100/H.110 stream 31 timeslot 1 maps to local stream 0 (trunk 1) channel 1.

connect local 0 2 h100 30 2

Local stream 0 (trunk 1) channel 2 maps to H.100/H.110 stream 30 timeslot 2.

connect h100 31 2 local 0 2

H.100/H.110 stream 31 timeslot 2 maps to local stream 0 (trunk 1) channel 2.

Pair of connect commands for channels 3 through 22

connect local 0 23 h100 30 23

Local stream 0 (trunk 1) channel 23 maps to H.100/H.110 stream 30 timeslot 23.

connect h100 31 23 local 0 23

H.100/H.110 stream 31 timeslot 23 maps to local stream 0 (trunk 1) channel 23.


Example mapping of all non-signaling T1 channels (trunk 2) to trunk 3

This example shows the port and connect commands required to fully access the channels on T1 trunk 2.

The example creates a single SS7 port on T1 channel 23 (trunk 2) and maps all other channels of trunk 2 to trunk 3.

Command

Description

port 1 t1 2 23

Port 1 maps to T1 trunk 2 channel 23.

connect local 4 0 local 8 0

Local stream 4 (trunk 2) channel 0 maps to local stream 8 (trunk 3) channel 0.

connect local 8 0 local 4 0

Local stream 8 (trunk 3) channel 0 maps to local stream 4 (trunk 2) channel 0.

connect local 4 1 local 8 1

Local stream 4 (trunk 2) channel 1 maps to local stream 8 (trunk 3) channel 1.

connect local 8 1 local 4 1

Local stream 8 (trunk 3) channel 1 maps to local stream 4 (trunk 2) channel 1.

Pair of connect commands for channels 2 through 21

connect local 4 22 local 8 22

Local stream 4 (trunk 2) channel 22 maps to local stream 8 (trunk 3) channel 22.

connect local 8 22 local 4 22

Local stream 8 (trunk 3) channel 22 maps to local stream 4 (trunk 2) channel 22.


Example mapping of all non-signaling E1 channels (trunk 1) to H.100/H.110

This example shows the port and connect commands required to fully access the channels on E1 trunk 1.

The example creates a single SS7 port on E1 channel 1 (trunk 1) and maps all other channels of trunk 1 to the H.100/H.110 bus (transmitting to stream 30 and receiving from stream 31).

Command

Description

port 1 e1 1 1

Port 1 maps to E1 trunk 1 channel 1.

connect local 0 2 h100 30 2

Local stream 0 (trunk 1) channel 2 maps to H.100/H.110 stream 30 timeslot 2.

connect h100 31 2 local 0 2

H.100/H.110 stream 31 timeslot 2 maps to local stream 0 (trunk 1) channel 2.

connect local 0 3 h100 30 3

Local stream 0 (trunk 1) channel 3 maps to H.100/H.110 stream 30 timeslot 3.

connect h100 31 3 local 0 3

H.100/H.110 stream 31 timeslot 3 maps to local stream 0 (trunk 1) channel 3.

Pair of connect commands for channels 4 through 30

connect local 0 31 100 30 31

Local stream 0 (trunk 1) channel 31 maps to H.100/H.110 stream 30 timeslot 31.

connect h100 31 31 local 0 31

H.100/H.110 stream 31 timeslot 31 maps to local stream 0 (trunk 1) channel 31.


Example mapping of all non-signaling E1 channels (trunk 2) to trunk 3

This example shows the port and connect commands required to fully access the channels on E1 trunk 2.

The example creates a single SS7 port on E1 channel 31 (trunk 2) and maps all other channels of trunk 2 to trunk 3.

Command

Description

port 1 e1 2 31

Port 1 maps to E1 trunk 2 channel 31.

connect local 4 1 local 8 1

Local stream 4 (trunk 2) channel 1 maps to local stream 8 (trunk 3) channel 1.

connect local 8 1 local 4 1

Local stream 8 (trunk 3) channel 1 maps to local stream 4 (trunk 2) channel 1.

connect local 4 2 local 8 2

Local stream 4 (trunk 2) channel 2 maps to local stream 8 (trunk 3) channel 2.

connect local 8 2 local 4 2

Local stream 8 (trunk 3) channel 2 maps to local stream 4 (trunk 2) channel 2.

Pair of connect commands for channels 3 through 29

connect local 4 30 local 8 30

Local stream 4 (trunk 2) channel 30 maps to local stream 8 (trunk 3) channel 30.

connect local 8 30 local 4 30

Local stream 8 (trunk 3) channel 30 maps to local stream 4 (trunk 2) channel 30.