📄 draft-ietf-sigtran-m2pa-00.txt
字号:
Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 20001.6.1 Support for MTP Level 2 / MTP Level 3 interface boundaryThis interface is the same as the MTP2/MTP3 interface described in[2], with the addition of support for larger sequence numbers in[7]. Because SCTP uses larger sequence numbers than MTP, the MTP3Changeover procedure must use the Extended Changeover Order andExtended Changeover Acknowledgment messages described in [7]. Thiswill allow for use of the SCTP stream sequence numbers in thechangeover messages.1.6.2 Support for peer-to-peer communicationIn SS7, MTP Level 2 sends three types of messages, known as signalunits: Message Signal Units (MSUs), Link Status Signal Units (LSSUs),and Fill-In Signal Units (FISUs).MSUs originate at a higher level than MTP2, and are destined for apeer at another node. Likewise, M2PA passes these messages from MTP3to SCTP as data for transport across a link. These are called UserData messages in M2PA.LSSUs allow peer MTP2 layers to exchange status information. Analogousmessages are needed for M2PA. The Link Status message serves thispurpose.FISUs are sent when no other signal units are waiting to be sent. Thispurpose is served by the heartbeat messages in SCTP. FISUs also carryacknowledgment of messages. This function is performed bySCTP. Therefore, it is unnecessary for M2PA to provide a protocol unitlike the FISU.1.7 Functions Provided by M2PA1.7.1 MappingFor each IP link, the M2PA layer must maintain a map of the SS7 linkto its SCTP association and its corresponding IP destination. 1.7.2 SCTP Stream ManagementSCTP allows a user-specified number of streams to be opened during theinitialization. It is the responsibility of the M2PA layer to ensureproper management of the streams allowed within each association.1.7.3 Retention of MTP3 in the SS7 Network M2PA allows MTP3 to perform all of its Message Handling and NetworkManagement functions with IPSPs as with other SS7 nodes.George, et al [Page 8]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 20001.8 Definition of the M2PA Boundaries1.8.1 Definition of the M2PA / MTP Level 3 boundaryThe upper layer primitives provided by M2PA are the same as thoseprovided by MTP2 to MTP3 [2].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".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 3. 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 3: 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 protocolGeorge, et al [Page 9]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 20002.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. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ... | 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 fields of the MSU ([2] Q.703, section 2.2Signal Unit Format). The format for the User Data message is asfollows:George, et al [Page 10]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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ... | User Data | ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+No padding is added to the MTP3 message.Note that the User 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.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. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Link Status | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+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. Procedures3.1 Procedures to Support MTP2 Features3.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 beGeorge, et al [Page 11]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000provided by M2PA.3.1.2 Link AlignmentLink alignment begins when MTP3 sends the Start command to M2PA.To begin alignment in M2PA, M2PA sends the ASSOCIATE primitive to SCTPif the SCTP association is not already established. 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 4 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 12]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000 Client Server IPA IPB +-------------+ +-------------+ | | SCTP | | | SLC = a | association 1 | SLC = a | | port = P1 +---------------+ port = PW | | | | | | | | | | | | | | | SCTP | | | SLC = b | association 2 | SLC = b | | port = P2 +---------------+ port = PW | | | | | | | | | +-------------+ +-------------+ IPA = IP address of Client IPB = IP address of Server P1, P2 = Pre-selected port numbers for Client PW = Well-known port number for M2PA Figure 4: Associations and SLCs +-------------+---------------------------------------+-----+ | Association | Client | Server | SLC | | +------------+------+------------+------+ | | | IP address | Port | IP address | Port | | +=============+============+======+============+======+=====+ | 1 | IPA | P1 | IPB | PW | a | +-------------+------------+------+------------+------+-----+ | 2 | IPA | P2 | IPB | PW | b | +-------------+------------+------+------------+------+-----+ Table 1: Associations and SLCsThe association shall contain two streams in each direction. Stream 0is designated for Link Status messages. Stream 1 is designated forUser Data messages.If SCTP fails to establish the association, and M2PA had received aStart command from its MTP3, then M2PA shall report to MTP3 that thelink is out of service. If M2PA has an SCTP association ID for thatassociation, it should ABORT the association. The association ID is anumber provided by the SCTP used to identify an association.Once the association is established, M2PA invokes the GETSRTTREPORTprimitive to determine the Smooth Round Trip Time (SRTT) from SCTP. Ifthe SRTT exceeds its maximum allowed value (which is implementationdependent), M2PA should use the ABORT primitive to end theGeorge, et al [Page 13]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000association. If M2PA had received a Start command from its MTP3, thenM2PA shall report to MTP3 that the link is out of service.Once M2PA has received a Start from MTP3, the association isestablished, the SRTT is determined to be satisfactory, and if MTP3has not deactivated the link, then: (a) If there is no local processor outage condition, M2PA sends a Link Status of In Service to its peer. (b) If there is a local processor outage condition, M2PA sends Link Status Processor Outage to its peer. When MTP3 sends Local Processor Recovered, then M2PA sends Link Status Processor Outage Ended to its peer, followed by Link Status In Service.If M2PA has not received a Link Status In Service from its peer at thetime it sends the Link Status In Service, M2PA starts timer T1. TimerT1 is stopped when M2PA receives Link Status In Service from itspeer. If M2PA does not receive Link Status In Service from its peerbefore T1 expires, then M2PA reports to MTP3 that the link is out ofservice. Then M2PA uses the ABORT primitive to end the association.Recommended value of T1 is 5-150 seconds.When the association is established, M2PA has sent Link Status InService to its peer, and has received Link Status In Service from itspeer, and there is no local processor outage condition, then M2PAsends Link In Service to its MTP3. If M2PA receives a Link Status of Processor Outage during alignment,and M2PA had received a Start command from its MTP3, M2PA shall reportRemote Processor Outage to MTP3. M2PA shall ignore the Emergency and Emergency Ceases commands fromMTP3.3.1.3 Processor OutageA processor outage occurs when M2PA cannot transfer messages becauseof a condition at a higher layer than M2PA.When M2PA detects a local processor outage, it sends a Link Statusmessage to its peer with status Processor Outage. M2PA shall discardany User Data messages received. M2PA shall also cease sending UserData messages to SCTP for transmission.The peer M2PA, upon receiving the Link Status Processor Outagemessage, shall report Remote Processor Outage to its MTP3. M2PA ceasessending User Data messages.When the processor outage ceases, MTP3 sends a Local ProcessorRecovered indication to M2PA. The local M2PA notifies its peer byGeorge, et al [Page 14]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer Nov 2000
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -