Creating the SCTP configuration

NaturalAccess Signaling Software provides the following sample files for SCTP configurations that you can modify for your specifications:

Files

Description

SCTPcp1.cfg

SCTP file for board 1.

SCTPcp2.cfg

SCTP file for board 2.


Refer to Sample SS7 IP configurations for more information.

The SCTP configuration utility runs as part of the initial board download with ss7load. The utility reads the text configuration file and downloads the specified configuration to the SCTP control layer (part of the SIGTRAN task) on the TX board. You can also run the SCTP configuration utility after the initial configuration to dynamically update selected configuration parameters.

This topic presents:

Sample SCTP configuration file

The following example is the SCTP configuration file for board 1:

# SCTP Sample Configuration File
#
# All timer values are in milliseconds
#
#------------------------------------------------
# General SCTP Parameters
#------------------------------------------------
MAX_ASSOC         4       # Max SCTP associations
MAX_DEST_ADDRS    8       # Max active dest addresses in all assoc
MAX_TX_QUEUE      256     # Max datagrams that can be queued for Tx
MAX_RX_QUEUE      256     # Max datagrams that can be queued for Rx
MAX_INSTREAM      8       # Max incoming streams per assoc
MAX_OUTSTREAM     8       # Max outgoing streams per assoc
MTU_INITIAL       1400    # Initial max transmit size in bytes
MTU_MAX           1400    # Max value used in searching for optimal MTU
MTU_MIN           500     # Min value used in searching for optimal MTU
PERFORM_MTU       FALSE   # Whether or not to perform MTU discovery
HOSTNAME          myhost1 # Self-hostname
USE_HOSTNAME      FALSE   # Whether or not to send hostname in INIT/INIT-ACK
MAX_INIT_RETRY    0       # Max retries for INIT message. 0 = infinite.
MAX_ASSOC_RETRY   10      # Max datagram retries for existing association
MAX_DEST_RETRY    5       # Max datagram retries to a destination address.
ACCEPT_ALT        FALSE   # Whether or not to accept additional lifetime param
                          # from peer to extend cookie lifetime
TMR_MD5_KEY       60000   # Lifetime of an MD5 key.  New one generated every
                          # time it expires.
RTT_ALPHA         1       # Used for RTT calculations
RTT_BETA          1       # Used for RTT calculations
END

#------------------------------------------------
# SCT Upper SAP parameters
#------------------------------------------------
SCT_SAP_ID        0       # SAP ID used by upper layer (M3UA). Must be 0.
TMR_ACK_DELAY     200     # Max time before sending a SACK
NMB_ACK_DELAY     2       # Max number of received datagrams before sending a SACK
TMR_INIT_RTO      3000    # Initial value of the retransmission timeout
TMR_MIN_RTO       2000    # Minimum value of the retransmission timeout
TMR_MAX_RTO       10000   # Maximum value of the retransmission timeout

TMR_BUNDLE        200     # Bundle timer
TMR_COOKIE_LIFE   60000   # Base cookie life time
TMR_HB_INTERVAL   3000    # Default heartbeat interval timer
MAX_BURST         4       # Maximum burst value
MAX_HB_BURST      1       # Max heartbeats sent upon retransmission timeouts
ABORT_ON_STREAM   FALSE   # Abort assoc if Rx instream count less than Tx
                          # outstream count
ENABLE_HEARTBEAT  TRUE    # Enable / Disable heartbeat by default
FLOW_START_THR    192     # Number of messages in outgoing queues when
                          # flow control to layer 3 is invoked
FLOW_STOP_THR     64      # Number of messages in outgoing queues when 
                          # flow control to layer 3 is stopped
TMR_SD_GUARD      15000   # Shutdown guard timer for graceful shutdowns.
END

#------------------------------------------------
#SCT Lower SAP (TSAP) parameters
#------------------------------------------------
TSAP_ID           0       # SCTP reference for this SAP. Must be 0.
SAP_ID            0       # Transport reference for this SAP. Must be 0.
MAX_BIND_RETRY    3       # Maximum number of Bind Req retries
TMR_CFM           200     # Timeout waiting for bind or status confirm from lower Layer
END

SCTP configuration file structure

The following table describes the sections of the SCTP configuration file:

Section

Description

General SCTP

General configuration parameters for SCTP.

SCT Upper SAP

SCT SAP configuration parameters.

SCT Lower SAP (TSAP)

TSAP configuration parameters.


Refer to SCTP configuration reference for more information.