5 protocol configuration, 1 protocol configuration using the s7_mgt utility, Protocol configuration 4.5.1 – Dialogic DSI SS7MD User Manual
Page 32: Protocol configuration using the s7_mgt utility, Protocol configuration
32
4 Dialogic® DSI SS7MD Board Configuration and Operation
4.5
Protocol Configuration
The Development Package contains the s7_mgt protocol configuration utility that performs initialization of all
the software modules running on the signaling board. It reads the protocol configuration data from a text
file, called config.txt, and provides a quick and flexible method of configuring the protocol modules without the
need to write any software for that purpose. Refer to
Section 4.5.1, “Protocol Configuration Using the
Alternatively, the protocol stack may be configured by sending the individual configuration messages
documented in the per-module Programmer’s Manuals for each protocol module. This approach is of
particular use when the application needs to reset the board and run a new configuration without stopping
the application program. Refer to
Appendix A, “Protocol Configuration Using Discrete Messages”
for more
information.
4.5.1
Protocol Configuration Using the s7_mgt Utility
The s7_mgt protocol configuration utility uses the config.txt protocol configuration file by default. However, the
-k option allows the user to specify an alternative filename if required. For example:
s7_mgt -kmyconfig.txt
The format of each configuration command is described in
Chapter 7, “Configuration Command Reference”
The s7_mgt protocol configuration utility can optionally be configured to send a message to a nominated
module on completion of the configuration sequence. This option is activated using the -i option to specify the
receiving module_id. For example:
s7_mgt –i0xef
To assist problem diagnosis, the s7_mgt utility can be run using the -d option that generates additional
diagnostic output. For example:
s7_mgt –i0xef -d
The following is an example config.txt protocol configuration file:
********************************************************************************
*Example Protocol Configuration File (config.txt) for use with
* Dialogic(R) DSI SS7MD Network Interface Boards.
********************************************************************************
* Configure individual boards:
* For SS7MD boards:
* SS7_BOARD
SS7_BOARD 0 SS7MD 0x0002 ss7.dc6 LSL
*
* Configure individual E1/T1 interfaces:
*LIU_CONFIG
* [
LIU_CONFIG 0 0 5 1 1 1 0
*
* MTP parameters:
* MTP_CONFIG
MTP_CONFIG 0 0 0x00040000
*
* Define linksets:
* MTP_LINKSET
MTP_LINKSET 0 1 1 0x0000 2 0x08
*
* Define signaling links:
* MTP_LINK