Creating the SCCP configuration

SS7 provides sample SCCP files for ANSI standalone and redundant configurations and ITU standalone and redundant configurations that you can modify for your specifications. To learn the location of the sample configuration files, refer to Sample SS7 TDM configurations.

The sccpcfg configuration utility runs as part of the initial board configuration with ss7load. sccpcfg reads the text configuration file and downloads the specified configuration to the SCCP task on the TX board. The utility can also be run after initial configuration to dynamically update some configuration parameters. For more information on running sccpcfg after initial download, refer to the Dialogic® NaturalAccess™ SCCP Layer Developer's Reference Manual.

Sample SCCP configuration file

The following example is the configuration file for board 1 in the two-board ANSI sample configuration:

Note: All SCCP timer values are in seconds; a timer value of zero disables that timer.

 

#
# Sample SCCP configuration file for the following configuration
#
#       General:
#       4 user APPs max
#       1 MTP3 network SAP
#       all others general defaults
#       User SAPs:
#       ANSI-92, 1.1.2 is concerned PC
#       Network Saps:
#       ANSI, point code = 1.1.1
#       Routes:
#       1 to 1.1.2, SSNs 3 & 4, 1.1.2 is concerned PC
#       Address translations:
#       8477069701 = far point code, SSN 3, 8477069700
#       847xxxxxxx = far point code, SSN 4
#
# General Configuration Section
MAX_USERS         4         # Max SCCP user applications
MAX_NSAPS         2         # Number of MTP3 interface (max 1
                            # per switch type)
MAX_SCLI          1         # Max simultaneous sequenced 
                            # connectionless data xfers (Class 1 only)
MAX_ADDRS         2         # Max Address translation entries
MAX_ROUTES        10        # Max far point codes SCCP knows
DEF_ROUNTING      FALSE     # Set Default Routing (FALSE=OFF, TRUE=ON)
SAVE_CONNS        FALSE     # Drop connections on lost link
                            # (FALSE) or don't drop (TRUE).
ALARM_LEVEL       1         # Set alarm level reporting (0=off,
                            # 1=default, 2=debug, 3=detail)
TRACE_DATA        FALSE     # Set data tracing (FALSE=OFF, TRUE=ON)
MAX_ADJDPC        2         # Max far point codes directly adjacent to us
MAX_MSGDRN        5         # Max msgs to send in a batch when MTP comes 
                            # up. (prevents flooding when link(s)come up)
MAX_XUDT          1         # Number of control blocks to allocate for 
                            # reassembling segmented extended
                            # UnitDaTa (ITU-92 only)
MAX_XUDTXREF      2         # Max number of local references
                            # used to segment eXtended UnitDaTa
MAX_CONN          512       # Max number of simultaneous connections
CONN_THRESH       1         # Minimum number of SCCP buffers
                            # that must be available for new
                            # connection to be accepted
QUEUE_THRESH      8         # Max number of buffers that can
                            # be queued for connection waiting
                            # for conn window to open
SOG_THRESH        3         # Minimum number of SCCP buffers
                            # that must be available for SOR
                            # request from replicated (backup)
                            # subsystem to be accepted

# Note all timer values are in seconds (0 disables timer)
XREFFRZ_TIMER     2         # wait before reusing local reference
#ASMB_TIMER       0         # wait for all segments of
                            # segmented XUDT (ITU-92 only)
FREEZE_TIMER      2         # wait before reusing connection reference
CONN_TIMER        180       # wait for response to connection request
TXINACT_TIMER     600       # wait with no outgoing packets on
                            # a connection before issuing
                            # Inactivity test (IT) message
RXINACT_TIMER     900       # wait with no incoming packets on
                            # a connection before releasing
                            # connection (should be > TXINACT_TIMER)
REL_TIMER         10        # wait for response to release request
#REPREL_TIMER     0         # wait for response to 2nd release
                            # request (ITU only)
#INTERVAL_TIMER   0         # wait before reporting abnormal
                            # release (ITU only)
GUARD_TIMER       2         # wait after MTP3 traffic restart
                            # before application traffic
RESET_TIMER       30        # wait for response to Reset Request
#SCLI_TIMER       0         # max time sequenced
                            # connectionless transmission can
                            # take(class 1)
SST_TIMER         30        # time between subsystem status tests
SRT_TIMER         30        # time between subsystem routing tests

NSAP_TIMER        1         # time between bursts of messages
                            # to MTP3 when draining built-up
                            # queue (prevents congestion when
                            # link comes back up
IGNORE_TIMER      30        # delay after receiving SOG before
                            # actually going out of service
COORD_TIMER       30        # wait for grant to go out of
                            # service (SOG) after issuing SOR request
END
#
# User SAP configuration for 1st application
#
USER_SAP          0          # Sap number start at 0
SWITCH_TYPE       ANSI92     # one of ITU92, ITU88, ITU96, ANSI92, ANSI88, ANSI96
#BACKUP_PC        1.2.3      # this application not replicated for now

#Concerned point codes (Nodes to be notified of App's availability) up to 8
CONC_PC           1.1.2 
ADDR_MASK         FFF0000000 # requires match on only 1st 3
                             # digits of global title 
MAX_HOPS          10         # maximum network hops
END                          # User application 0
#
# User SAP configuration for 2nd application
#
USER_SAP          1          # Application 1
SWITCH_TYPE       ANSI92     # one of ITU92, ITU88, ITU96, ANSI92, ANSI88, ANSI96
#BACKUP_PC        1.2.3      # this application not replicated for now

#Concerned point codes (Nodes to be notified of App's availability) up to 8
CONC_PC           1.1.2 
ADDR_MASK         FFF0000000 # requires match on only 1st 3
                             # digits of global title 
MAX_HOPS          10         # maximum network hops
END                          # User application 1
#
# User SAP configuration for 3rd application
#
USER_SAP          2          # Application 2
SWITCH_TYPE       ANSI92     # one of ITU92, ITU88, ITU96, ANSI92, ANSI88, ANSI96
#BACKUP_PC        1.2.3      # this application not replicated for now

# Concerned point codes (Nodes to be notified of Apps availability) up to 8
CONC_PC           1.1.2 
ADDR_MASK         FFF0000000 # requires match on only 1st 3
                             # digits of global title 
MAX_HOPS          10         # maximum network hops
END                          # User application 1
#
# User SAP configuration for 4th application
#
USER_SAP          3          # Application 3
SWITCH_TYPE       ANSI92     # one of ITU92, ITU88, ITU96, ANSI92, ANSI88, ANSI96
#BACKUP_PC        1.2.3      # this application not replicated for now
# Concerned point codes (Nodes to be notified of App's availability) up to 8
CONC_PC           1.1.2 
ADDR_MASK         FFF0000000 # requires match on only 1st 3
                             # digits of global title 
MAX_HOPS          0          # maximum network hops
END                          # User application 1
#
# Network (MTP3) Saps - one per switch type
#
NSAP              1          # SCCP must be NSAP 1 if isup present too
SWITCH_TYPE       ANSI       # one of ITU, ANSI
DPC               1.1.1      # REQUIRED - this node's point code
DPC_LEN           4          # normally wouldn't specify this -
                             # let it default based on switch type
MSG_LEN           256        # MTU length on this network
TXQ_THRESH        20         # max packets queued to this MTP3
ADDR_MASK         FFFFFFFFFF # match 10 digits for global title
                             # translation of incoming packets
MAX_HOPS          10         # maximum network hops 
END                          # of ANSI MTP3 NSAP
#
# Address Translations: 8477069701

ADDRESS           8477069701 # global title - incoming
REPLACE_GLT       TRUE       # remove translated global title 
                             # from message
SWITCH_TYPE       ANSI       # one of ITU, ANSI
NI_IND            NATIONAL   # one of NATIONAL [NAT],INTERNATIONAL [INTL]
ROUTING_IND       C_SSN      # set outgoing routing flag(PC_SSN or GLT)
DPC               1.1.2      # translated destination point code
SSN               3          # translated subsystem number
GT_FORMAT         1          # outgoing global title includes
                             # translation type, numbering
                             # plan, and encoding scheme
TRANS_TYPE        2          # translation type
NUM_PLAN          1          # ISDN numbering plan
GL_TITLE          8477069700 # outgoing global title
END                          # of address translation for 8477069701
#
# Address Translations: 847xxxxxxx
#
ADDRESS           847        # global title - incoming
REPLACE_GLT       FALSE      # include translated global title
                             # in message
SWITCH_TYPE       ANSI       # one of ITU, ANSI
NI_IND            NATIONAL   # one of NATIONAL [NAT].INTERNATIONAL [INTL]
ROUTING_IND       GLT        # set outgoing routing flag(PC_SSN or GLT)
DPC               1.1.2      # translated destination point code
SSN               4          # translated subsystem number
END                          # of address translation for 847xxxxxxx

#
# Routes: 1 for each node known to the SCCP layer
#
ROUTE            1.1.2       # destination point code
SWITCH_TYPE      ANSI        # one of ITU, ANSI
ADJACENT        TRUE         # this dest directly adjacent
TRANSLATOR      FALSE        # not a translator node
#BACKUP_PC      x.y.z        # this node not currently replicated

       #define all subsystems of interest at 1.1.1 (up to 8)
SSN             3            # first subsystem at 1.1.2
SSN_SNR         TRUE         # normal routed
SSN_ACC         TRUE         # initially accessable
#SSN_BPC        x.y.z        # this subsystem not currently replicated
       # concerned point codes - other nodes to be notified when
       # status of this SSN at this node changes - must have a
       # route for any point code listed here
#CONC_PC        q.r.s        # 1st concerned point code
#CONC_PC        q.r.t        # 2nd concerned point code
END                          # of route 1.1.2, SSN 3

SSN             4            # another subsystem at 1.1.2
SSN_SNR         TRUE         # normal routed
SSN_ACC         TRUE         # initially accessable
#SSN_BPC        x.y.z        # this subsystem not currently replicated
       #concerned point codes - other nodes to be notified when
       # status of this SSN at this node changes - must have a
       # route for any point code listed here
#CONC_PC        q.r.s        # 1st concerned point code
#CONC_PC        q.r.t        # 2nd concerned point code
END                          # of route 1.1.2, SSN 4

END                          # of route 1.1.2