📄 draft-ietf-sigtran-m2pa-01.txt
字号:
Data Request - Used to send a Data Message for transmission.Start Request - Used to establish a link.Stop Request - Used to release a link.Retrieve BSNT Request - Request the BSNT for the changeover procedure.Retrieval Request and FSNC - Request retrieval of unacknowledged andunsent messages. This request includes the FSNC received from theremote end.Flush Buffers Request - Requests that all transmit and receivebuffers be emptied.Continue Request - Requests that processing resume after a processoroutage.Emergency Request - This is ignored by M2PA.Emergency Ceases Request - This is ignored by M2PA.Primitives sent from M2PA to MTP3:Data Indication - Used to deliver received Data Message to MTP3.George, et al [Page 9]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000Congestion Indication - Indicates change in congestion level. Theindication includes the congestion level, if the protocol is using theoptional congestion levels.In Service Indication - Indicates that the link is in service.Out of Service Indication - Indicates that the link is out of service.Retrieved Messages Indication - Indicates delivery of unacknowledgedand unsent messages.Retrieval Complete Indication - Indicates that delivery ofunacknowledged and unsent messages is complete.BSNT Confirm - Replies to the BSNT Request. The confirmation includesthe BSNT.BSNT Not Retrievable Confirm - Replies to the BSNT Request when theBSNT cannot be determined.Remote Processor Outage Indication - Indicates processor outage atremote end.Remote Processor Recovered Indication - Indicates recovery fromprocessor outage at remote end.1.8.2 Definition of the Lower Layer Boundary between M2PA and SCTPThe upper layer primitives provided by SCTP are described in Reference[5] Section 10 "Interface with Upper Layer".1.9 Differences Between M2PA and M2UAThe MTP2 User Adaptation Layer (M2UA) [6] also adapts the MTP3 layerto the SCTP/IP stack. It does so through a backhauling architecture[4]. This section intends to clarify some of the differences betweenthe M2PA and M2UA approaches.A possible M2PA architecture is shown in Figure 3. Here the IPSP'sMTP3 uses its underlying M2PA as a replacement forMTP2. Commmunication between the two layers MTP3/M2PA is defined bythe same primitives as in SS7 MTP3/MTP2. M2PA performs functionssimilar to MTP2.A comparable architecture for M2UA is shown in Figure 4. In M2UA, theMGC's MTP3 uses the SG's MTP2 as its lower SS7 layer. In SS7,commmunication between the MTP3 and MTP2 layers is defined byprimitives. In M2UA, the MTP3/MTP2 communication is defined as M2UAmessages and sent over the IP connection.George, et al [Page 10]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000 ******** SS7 *************** IP ******** * SEP *--------* SG *--------* IPSP * ******** *************** ******** +------+ +-------------+ +------+ | SCCP | | SCCP | | SCCP | +------+ +-------------+ +------+ | MTP3 | | MTP3 | | MTP3 | +------+ +------+------+ +------+ | MTP2 | | MTP2 | M2PA | | M2PA | +------+ +------+------+ +------+ | MTP1 | | MTP1 | SCTP | | SCTP | | | | +------+ +------+ | | | | IP | | IP | +------+ +------+------+ +------+ Figure 3: M2PA in IP Signaling Gateway ******** SS7 *************** IP ******** * SEP *--------* SG *--------* MGC * ******** *************** ******** +------+ +------+ | SCCP | | SCCP | +------+ +------+ | MTP3 | (NIF) | MTP3 | +------+ +------+------+ +------+ | MTP2 | | MTP2 | M2UA | | M2UA | +------+ +------+------+ +------+ | MTP1 | | MTP1 | SCTP | | SCTP | | | | +------+ +------+ | | | | IP | | IP | +------+ +------+------+ +------+ NIF - Nodal Interworking Function Figure 4: M2UA in IP Signaling GatewayGeorge, et al [Page 11]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000M2PA and M2UA are similar in that: a. Both transport MTP3 data messages. b. Both present an MTP2 upper interface to MTP3.Differences between M2PA and M2UA include: a. M2PA: IPSP processes MTP3-to-MTP2 primitives. M2UA: MGC transports MTP3-to-MTP2 primitives to SG's MTP2 (via the NIF) for processing. b. M2PA: SG-IPSP connection is an SS7 link. M2UA: SG-MGC connection is not an SS7 link. c. M2PA: SG is an SS7 node with a point code. M2UA: SG is not an SS7 node and has no point code. d. M2PA: SG can have upper SS7 layers, e.g., SCCP. M2UA: SG does not have upper SS7 layers since it has no MTP3.Potential users of M2PA and M2UA should be aware of these differenceswhen deciding how to use them for SS7 signaling transport over IPnetworks.2. Protocol ElementsThis section describes the format of various messages used in this protocol.All fields in an M2PA message must be transmitted in the network byteorder, i.e., most significant byte first, unless otherwise stated.2.1 Common Message HeaderThe protocol messages for M2PA require a message header structurewhich contains a version, message type and message length. Thismessage header is common among all SCN adaptation layers. The header structure is shown in Figure 5.George, et al [Page 12]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version | Spare | Message Type | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Message Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | Figure 5: Common Message Header2.1.1 VersionThe version field (vers) contains the version of the M2PA adapationlayer. The supported versions are: 01 Release 1.0 of M2PA protocol2.1.2 Message TypeThe valid message types are defined below and the message contents aredescribed in Section 2.2. Each message can contain parameters.The following list contains the message types for the defined messages. MTP2 User Adaptatation Messages Type Value (Hex) User Data 0601 Link Status 0602 2.1.3 Message LengthThe Message length defines the length of the message in octets, not including the header.2.2 M2PA MessagesThe following section defines the messages and parameter contents. AnM2PA message consists of a Common Message Header followed by the dataappropriate to the message.George, et al [Page 13]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ... | Common Message Header | ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ... | Message Data | ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+2.2.1 User Data The User Data is the data sent from the MTP3 in the form of thecontiguous LI, SIO, and SIF octets of the MSU ([2] Q.703, section 2.2Signal Unit Format). The LI octet includes the two undefined bitsbetween the SIO and LI fields.The format for the User Data message is as follows: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ... | Data | ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+No padding is added to the MTP3 message.Note that the Data field contains only the LI, SIF, and SIOoctets. The other components of the message transmitted by MTP2 (theFlag, BSN, BIB, FSN, FIB, CK) are not included in M2PA.Note: The two spare bits in the LI octet are used in a nationalversion of SS7 by MTP3 as a Priority field. See [9], section 14"Common Characteristics of message signal unit formats", section 14.2(A) Priority Indicator (PRI).2.2.2 Link StatusThe MTP2 Link Status message can be sent between M2PA peers toindicate link status. This message performs a function similar to thethe Link Status Signal Unit in MTP2.George, et al [Page 14]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | State | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+The valid values for State are shown in the following table. Value Description 1 In Service 2 Processor Outage 3 Processor Outage Ended 4 Busy 5 Busy Ended3. M2PA Link StatesThe M2PA link moves from one state to another in response to variousevents. The events that may result in a change of state include: - MTP3 primitive requests - SCTP notifications - Receipt of Status messages from the peer M2PA - Expiration of certain timersFigure 6 illustrates state changes together with the causing events.Note that some of the error conditions are not shown in the statediagram.Following is a list of the M2PA Link States and a description of each.IDLE - State of link during power-up initialization.OOS - Out Of Service. Power-up initialization is complete. AIP - Alignment In Progress. M2PA is attempting to establish SCTPassociation.INS-LOCAL - In Service Local. Association is established. M2PA iswaiting for peer to verify that it is In Service.INS - In Service. Link is ready for traffic.RETRIEVAL - Link no longer carries traffic. M2PA is waiting forrequest for message retrieval from MTP3.George, et al [Page 15]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000 +-----------+ | IDLE | +-----------+ | | Power On | V +-----------+ +------->| OOS |---------+ | +-----------+ | | | | | | Client AND | Server AND | | MTP3 Start | MTP3 Start | | | | V | | +-----------+ | | | AIP |<--------+ | +-----------+ | | | | SCTP | | Communication Up | | | V | +-----------+ | | INS-LOCAL | | +-----------+ | | | | Link Status | | In Service received | | | V | +-----------+ | | INS | | +-----------+ | | Retrieval | | MTP3 Stop Complete | | OR SCTP Communication Error | | OR SCTP Communication Lost | | OR T6 Expiration | | | V | +-----------+ +--------| RETRIEVAL | +-----------+ Figure 6: M2PA Link State Transition Diagram.George, et al [Page 16]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 20004. Procedures4.1 Procedures to Support MTP2 Features4.1.1 Signal Unit Format, Delimitation, AcceptanceMessages for transmission across the network must follow the formatdescribed in section 2.SCTP provides reliable, in-sequence delivery. Therefore the relatedfunctionality of MTP2 is not needed. SCTP does not provide functionsrelated to Link State Control in MTP2. These functions must beprovided by M2PA.4.1.2 Link AlignmentLink alignment includes the establishment of an SCTP association and ahandshaking procedure between the M2PA peers to verify that theassociation is ready to be used as a link.To prevent duplicate associations from being established, it must bedecided in advance which endpoint initiates the establishment of theassociation. In a pair of endpoints, the endpoint that initiates theestablishment of the association is called the client. The otherendpoint is the server. An endpoint may be a client in itsrelationship with one endpoint, and a server in its relationship withanother endpoint. The designations of client and server are neededonly to decide which endpoint initiates the establishment of theassociation. After that, the endpoints function as peers.The client initiates the association using the server's IP address andthe M2PA well-known port number as the destination endpoint. In orderto allow for multiple links between the two endpoints, the client usesa different local port number for each link. It must be decided inadvance which local ports are used by the client. Each of these clientports must be known to the server. Each combination of client IPaddress/port and server IP address/port must be mapped to the sameSignaling Link Code (SLC) in the client and server, so that eachendpoint knows which link is being created at the time the SCTPassociation is established. However, M2PA does not do any processingbased on the SLC.An example of the relationships between the associations and the SLCsis shown in Figure 7 and Table 1. Note that a link is an SCTPassociation identified by two endpoints, in this case a client andserver. Each endpoint is identified by an IP address and portnumber. Each association is mapped to an SLC. Table 1 is onlyconceptual. The actual method for mapping the SCTP associations to theSLCs is implementation dependent.George, et al [Page 17]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -