Signaling System No. 7 (SS7/C7) - Protocol, Architecture and Services (Full Book) |
||
|
|
< Top Index > |
|
MTP Level 3 UA (M3UA)M3UA [137] provides for the transport of MTP Level 3-user part signaling (such as ISUP and SCCP) over IP using SCTP. RFC 3332 defines and supplements it with an Implementers Guide [138]. M3UA provides for seamless operation between the user part peers by fully supporting the MTP Level 3 upper-layer primitives. M3UA can be used between an SG and an MGC or IP-resident database, or between two IPSP. The most common use for M3UA is between a SG and a MGC or IP-resident databases (such as SCPs). The SG receives SS7 signaling over standard SS7 links. It terminates MTP Levels 1 to 3 and provides message distribution, or routing, of the user part messages that is destined for MGCs or IP-resident databases. The MGCs can send to other MGCs via the SG. Figure 14-11 shows the protocol stacks at each network element for using M3UA between a SG and a MGC. The SEP, or SEP, is a node in the SS7 network. The NIF, or Nodal Interworking Function, provides for the interworking of SS7 and IP. RFC 3332 does not define the functionality of the NIF because it was considered out of scope. Figure 14-11. Use of M3UA Between a SG and a MGC
The M3UA on the MGC or IP-resident database supports the MTP Level upper-layer primitives so the user parts are unaware that MTP is terminated on the SG. The MTP service primitives [49] consist of the following:
The MTP Transfer primitive is used to pass user data. MTP Pause indicates that an Affected Point Code is Unavailable, and MTP Resume indicates that an Affected Point Code is Available. MTP Status provides congestion and User Part Availability information on an Affected Point Code. Later, in the Messages and Formats description of M3UA messages, it will be clear how these primitives are supported. The M3UA layer on the SGP must maintain the state of all the configured ASPs and ASes. M3UA at the ASP must maintain the state of all configured SGPs and SGs. The M3UA layer on the SG supports message distribution of incoming messages from the SS7 and IP-based sources. The distribution is based on matching the incoming message against the Routing Keys. When a Routing Key is selected, the Application Server state is checked to see if it is active. An Active Application Server has at least one ASP that is ready to receive data messages. If the Application Server is active, the message is forwarded to the appropriate ASP(s) that support the AS. To determine the appropriate ASP, the SG must take into account the AS's traffic mode. There are three possible traffic modes: Override, Load Share, and Broadcast. Override traffic mode is basically an Active-Standby arrangement in which one ASP is active for receiving data messages and one or more ASPs are Standby. In this case, the SGP sends to the active ASP. In Load Share mode, one or more ASPs can be active. The SGP load shares across the active ASPs using an implementation-specific algorithm. Finally, in Broadcast mode, one or more ASPs can be active, and the SGP sends the data message to each active ASP. The M3UA layer on the ASP must also make decisions about the distribution of outgoing messages. To do so, the M3UA layer maintains the availability and congestion state of the routes to remote SS7 destinations. An M3UA route refers to a path through an SG to an SS7 destination. If an SS7 destination is available through more than one route (more than one SG), the M3UA layer must perform some additional functions. In addition to keeping the state of each route, M3UA must also derive the overall state from the individual route states. The derived state is provided to the upper layer. Also, if each individual route is available, the M3UA should load balance across the available routes. Further, if the SG consists of more than one SGP, M3UA should load share across the available SGPs. The M3UA layer at the SGP and ASP must maintain the state of each SCTP association. M3UA uses a client-server model with the ASP defaulting to the client and SG as the server. However, both SG and ASP should be able to be provisioned as the client or server. The client side of the relationship is responsible for establishing the association. During the establishment of the association, several inbound and outbound streams are negotiated between the SCTP peers. The M3UA layer at both the SGP and ASP can assign data traffic to individual streams based on some parameter that ensures proper sequencing of messages, such as SLS. M3UA has an Internet Assigned Numbers Authority (IANA) registered port number of 2905. It also has an IANA registered SCTP payload protocol identifier value of 3. Messages and FormatsAll of the UA layers use the same common header format. The common header includes the version, message type, message class, and message length. Figure 14-12 shows the format of the common message header. Figure 14-12. UA Common Message Header
The RFC provides the list of currently defined message classes and types. Several values are reserved for future extensions. IANA provides a registry of these extensions at the following Web site: http://www.iana.org/assignments/sigtran-adapt Table 14-1 lists the M3UA message classes and types.
In addition, all UA Layers use the Tag, Length, Value (TLV) format for all parameters in a message. Figure 14-13 shows the TLV format. Figure 14-13. TLV Format
Transfer MessagesThere is only one transfer message: the Payload Data message type. The Payload message type maps directly to the MTP Transfer primitive. It contains the OPC, DPC, Service Indicator Octet (SIO), SLS, and ISUP information. In addition, it can contain a Routing Context, Network Appearance, and/or Correlation Identifier. The Routing Context associates the message with a configured Routing Key, or Application Server. It must be present if the SCTP association supports more than one Application Server. The Network Appearance provides the SS7 network context for the point codes in the message. It is useful in the situation in which a SG is connected to more than one SS7 network and the traffic associated with these different networks is sent to the ASP over a single SCTP association. An example is the case of an SG in multiple national networks. The same Signaling Point Code value can be reused within these different national networks, and Network Appearance is needed to provide uniqueness. The Network Appearance might be necessary to indicate the format of the OPC and DPC. The Correlation Identifier provides a unique identifier for the message that the sending M3UA assigns. SS7 Signaling Network Management (SSNM) MessagesThe SSNM messages map to the other MTP primitives: MTP Pause, MTP Resume, and MTP Status. In addition, there is support for the ASP to audit the state of an SS7 destination. The Routing Context and Network Appearance parameters are optional in these messages just as they are in the Protocol Data message. The same rules apply. The following are SSNM messages:
ASPSM and ASPTM MessagesTogether, the ASPSM and ASPTM messages provide a means of controlling the state of the ASP. Further, the state of the ASP feeds into the state machine of each AS it serves. Therefore, these messages also provide a means of controlling the state of the AS. As the RFC suggested, an ASP can have one of three states: ASP-Down, ASP-Inactive, or ASP-Active. ASP-Down indicates that the ASP is unavailable. ASP-Inactive indicates that the ASP is available but is not yet ready to send or receive data traffic. Finally, ASP-Active indicates that the ASP is available and desires to send and receive data traffic. The RFC also suggests the following AS states: AS-Down, AS-Inactive, AS-Pending, and AS-Active. The AS-Down state indicates that all ASPs in the AS are in the ASP down state. The AS-Inactive state indicates that at least one ASP in the AS is in the ASP-Inactive state, and that no ASPs in the AS are in the ASP active state. The AS-Active state indicates that at least one ASP in the AS is in the ASP-Active state. The AS-Pending state is a transitory state; it is entered when the last active ASP transitions to ASP inactive or ASP-Down. It provides a means for the AS to recover without losing any messages if another ASP quickly becomes active. Further, to provide an additional reliability measure, an optional heartbeat mechanism ensures that the M3UA peers are still available. Either side can initiate a heartbeat message, and the other side must respond with a heartbeat acknowledgement. Following are ASPSM messages:
The following are ASPTM messages:
Management (MGMT) MessagesThere are two MGMT messages: Notify and Error. The Error message provides a means of notifying the peer of an error event associated with a received message. There are a few errors worth noting because they can indicate a configuration error between the peers: "Invalid Routing Context," "Invalid Network Appearance" and "No Configured AS for ASP" errors. The Notify message is used to notify appropriate ASPs in the ASP inactive state of Application Server state changes. It can also indicate a lack of resources for load share or that an alternate ASP has become active for an Application Server(s). Finally, it can be used to indicate an ASP failure. Routing Key Management (RKM) MessagesAs noted, Routing Keys can be statically or dynamically provisioned. The means for static provisioning is outside the scope of M3UA, but it could include a Command Line Interface (CLI) or network management system. The RKM messages provide a means for dynamic provisioning of Routing Keys from an ASP to an SGP or between two IPSPs. These messages and procedures are optional so they do not have to be implemented by a SG or MGC:
SS7/C7 Variant SpecificsMostly, M3UA is independent of the SS7/C7 variant that it is transporting. However, there are parameters that depend on the variant.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
< Top Index > |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Book Hosted by www.SS7.net - the SS7/Sigtran Training Company |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © Cisco, Inc. Published By Cisco Press. No part of this book maybe reproduced or transmitted in any form or by any means, electronic or mechanical, including photcopying or recording, or by any information storage and retrieval system, without written permission from the publisher, except for the inclusion of brief quotations in a review.
Written permission was obtained by Lee Dryburgh to place the book at the domain SS7-Training.net