mtp2cfg
Scans the MTP 2 configuration text file and downloads the configuration to the MTP task on the TX board. mtp2cfg is run as part of mtp2load when the board is initially downloaded. You can run mtp2cfg after initial configuration to dynamically update some configuration parameters.
mtp2cfg options
Requires a single computer with a TX board installed and the following software:
Windows or UNIX
Natural Access
To run mtp2cfg, enter the following command from the command line prompt:
mtp2cfg options
where options include:
Option |
Description |
-b board |
Board number to which the MTP 2 configuration is downloaded. Default = 1. |
-f filename |
Name and location of the MTP 2 configuration file to be downloaded. |
mtp2cfg scans the information in the MTP 2 configuration file specified with the -f option and downloads the information to the task on the TX board.
The following table shows the default assignment of ports to SS7 links for TX board configurations. There can be up to 32 links. The following nomenclature is used:
S1, S2, ..., Sn refer to ports 1, 2, ..., n on the serial port adapter pod (V.35 or V.24/RS232).
T1, T2, ..., T16 refer to the Port1, Port2, ..., Port16 entries defined in the TDM configuration file for T1/E1/H.100/H.110 channel timeslots assigned as SS7 links.
Link (SAP |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
... |
14 |
15 |
Serial port adaptor |
S1 |
S2 |
S3 |
S4 |
T1 |
T2 |
T3 |
T4 |
T5 |
... |
T11 |
T12 |
No serial port adaptor |
T1 |
T2 |
T3 |
T4 |
T5 |
T6 |
T7 |
T8 |
T9 |
... |
T15 |
T16 |
The following table lists the MTP 2 link configuration parameters. All parameters are optional except LINK and the terminating END statement. If the default port assignments and link attributes are correct for your application, you do not need to run mtp2cfg at load time. If the default attributes are not correct for your application, create a text configuration file and run mtp2cfg to override these defaults.
All layer 2 times are specified in tenths of seconds (60 = 6 seconds).
Parameter |
Description |
LINK |
Starts link definition and assigns port to link. Valid values: S1 through S4 T1 through T32
Default is none. |
LINK_TYPE |
Protocol variant. Valid values: ANSI (default) ANSI88 CCITT |
ERR_TYPE |
Error correction method. Valid values: NORMAL = normal (default) PCR = preventive cyclic retransmission |
L2_T1 |
Timer aligned and ready. Valid range is 1 through 65535. Default is 130 (ANSI) and 400 (ITU-T). |
L2_T2 |
Timer not aligned. Valid range is 1 through 65535. Default is 115 (ANSI) and 100 (ITU-T). |
L2_T3 |
Timer aligned. Valid range is 1 through 65535. Default is 115 (ANSI) and 15 (ITU-T). |
L2_T4_N |
Normal proving period. Valid range is 1 through 65535. Default is 23 (ANSI) and 82 (ITU-T). |
L2_T4_E |
Emergency proving period. Valid range is 1 through 65535. Default is 6 (ANSI) and 5 (ITU-T). |
L2_T5 |
Timer sending SIB (busy indication). Valid range is 1 (default) through 65535. |
L2_T6 |
Timer remote congestion. Valid range is 1 through 65535. Default is 60. |
L2_T7 |
Timer excessive delay of acknowledgement. Valid range is 1 through 65535. Default is 20. |
L2_T10 |
Amount of time MTP 2 can be isolated from a remote MTP 3 before sending SIPO (processor outage). Valid range is 1 through 65535. Default is 30. |
L2_T11 |
Time to wait for a flow control acknowledgement from MTP 3 before sending another flow control indication. Valid range is 1 through 65535. Default is 20. |
L2_T12 |
Time to wait for a status confirmation from MTP 3 before sending another status indication. Valid range is 1 through 65535. Default is 20. |
L2_T13 |
Time to wait for a disconnect confirmation from MTP 3 before sending another disconnect indication. Valid range is 1 through 65535. Default is 20. |
LSSU_LEN |
LSSU length. Valid values: 1 2 (default) |
MAX_FRAME |
Maximum frame length for MSU. Valid range is 64 through 1024. Default is 272. |
SUERM_THRESH |
Signal unit error rate monitor threshold (bad frames). Valid range is 1 through 255. Default is 64. |
SUERM_D_RATE |
Signal unit error rate monitor decrement rate (frames). Valid range is 1 through 65535. Default is 256. |
AERM_THRESH_E |
Alignment error rate monitor error rate threshold (emergency alignment). Valid range is 1 (default) through 255. |
AERM_THRESH_N |
Alignment error rate monitor error rate threshold (normal alignment). Valid range is 1 through 255. Default is 4. |
MAX_RTB_MSGS |
Maximum number of MSUs for retransmission (only when using PCR error correction). Valid range is 1 through 255. Default is 127. |
MAX_RTB_OCTETS |
Maximum number of MSU octets for retransmission (only when using PCR error correction). Valid range is 1 through 65535. Default is 34544. |
MAX_PROV_ABORT |
Maximum number of proving failures. Valid range is 1 through 255. Default is 5. |
BAUD |
Baud rate for serial ports only (in bits per second). Valid values: 4800 9600 19200 28800 38400 48000 56000 (default) 64000 |
INT_TYPE |
Interface type for serial ports only. Valid values: DTE (default) DCE |
DATA_ENC |
Data encoding. Valid values: NRZ (default) NRZI |
SHARE_FLAGS |
Allow single flag to be shared between frames. Valid values: TRUE (default) FALSE |
USE_FLAGS |
Use flags (TRUE) or idles (FALSE) between frames. Default is TRUE. |
MIN_FLAGS |
Minimum number of additional flags between frames (in addition to shared flag). Valid range is 0 (default) through 15. |
ISO_THRESH |
Number of messages queued to MTP 3 while isolated that cause MTP 2 to begin SIPOs (processor outage). Valid range is 1 through 65535. Default is 1000. |
L2_TXQ_THRESH1 |
Transmission queue length at which the outbound flow control level is raised to one. Valid range is 1 through 65535. Default is 50. |
L2_TXQ_THRESH1_A |
Transmission queue length at which the outbound flow control level is lowered to zero. Valid range is 1 through 65535. Default is 20. |
L2_TXQ_THRESH2 |
Transmission queue length at which the outbound flow control level is raised to two. The subsequent indication causes MTP 3 to cease all transmission to MTP 2 until the flow control level returns to one or zero. Valid range is 1 through 65535. Default is 200. |
L2_TXQ_THRESH2_A |
Transmission queue length at which the outbound flow control level is lowered to one. Valid range is 1 through 65535. Default is 100. |
L2_SAP_THRESH |
Number of messages queued to MTP 3 while inbound flow control is in effect that cause MTP 2 to send SIBs (busy indications). Valid range is 1 through 65535. Default is 500. |
L2_SAP_THRESH_A |
Number of messages queued to MTP 3 while inbound flow control is in effect that cause MTP 2 to stop sending SIBs (busy indications). Valid range is 1 through 65535. Default is 100. |
IDLE_FREQ |
Frequency at which FISUs are sent by the software (in ms). 0 (default) indicates that hardware constantly retransmits duplicate FISUs. Non-zero frequencies can be used by switches that process all FISUs (including duplicate FISUs) in the software. Valid range is 1 through 65535. |
RT_FREQ |
Frequency at which other retransmitted SUs (LSSUs) are sent by the software (in ms). 0 (default) indicates that hardware constantly retransmits duplicate LSSUs. Non-zero frequencies can be used by switches that process all LSSUs (including duplicate LSSUs) in the software. Valid range is 1 through 65535. |
The following sample is an ANSI configuration file for a two-link configuration. The sample configuration file shows all relevant parameters, even those for which the default values are not changed. A more typical configuration file would list only those parameters with values that are being changed from the defaults.
#
#--- MTP 2 link parameters
#===========================
# Link 0 - serial (v.35)
#===========================
LINK S1 # V.35 Serial Port 1
LINK_TYPE ANSI
ERR_TYPE NORMAL
L2_T1 130
L2_T2 115
L2_T3 115
L2_T4_N 23
L2_T4_E 6
L2_T5 1
L2_T6 60
L2_T7 20
LSSU_LEN 2
MAX_FRAME 272
SUERM_D_RATE 256
SUERM_THRESH 64
AERM_THRESH_N 4
AERM_THRESH_E 1
MAX_PROV_ABORT 5
#--- MTP 1 link parameters
BAUD 64000
INT_TYPE DCE
DATA_ENC NRZ
USE_FLAGS TRUE
MIN_FLAGS 0
SHARE_FLAGS TRUE
END
#========================================
# Link 1 - TDM (from T1/E1 daughter card
#========================================
LINK T1 # Port1 from TDM cfg file
LINK_TYPE ANSI
ERR_TYPE NORMAL
L2_T1 130
L2_T2 115
L2_T3 115
L2_T4_N 23
L2_T4_E 6
L2_T5 1
L2_T6 60
L2_T7 20
LSSU_LEN 2
MAX_FRAME 272
SUERM_D_RATE 256
SUERM_THRESH 64
AERM_THRESH_N 4
AERM_THRESH_E 1
MAX_PROV_ABORT 5
#--- MTP1 link parameters
USE_FLAGS TRUE
MIN_FLAGS 0
SHARE_FLAGS TRUE
END