📄 draft-ietf-sigtran-m2pa-03.txt
字号:
George, et al [Page 26]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 20014.1.3 Link AlignmentThe purposes of the alignment procedure are:1. To provide a handshaking procedure so that both endpoints are prepared to send SS7 traffic, and to prevent traffic from being sent before the other end is ready.2. Verify that the SCTP association is suitable for use as an SS7 link.3. Optionally, to overcome the SCTP slow start period.Link alignment takes place after the association is established. IfSCTP fails to establish the association, and M2PA has received a StartRequest from its MTP3, then M2PA shall report to MTP3 that the link isout of service. Once the association is established and M2PA has received a StartRequest from MTP3, M2PA sends the Link Status Alignment message to itspeer. If M2PA has not already received the Link Status Alignmentmessage from its peer, then M2PA starts timer T1.(Note that if the remote M2PA has not received a Start Request from itsMTP3, it will not send the Link Status Alignment message to thelocal M2PA. Eventually timer T1 in the local M2PA will expire.)M2PA stops timer T1 when it has received the Link Status Alignmentmessage from its peer.If timer T1 expires, then M2PA reports to MTP3 that the link is out ofservice. M2PA should leave the association established. M2PA waits forMTP3 to initiate the alignment procedure again.When M2PA has both sent and received the Link Status Alignmentmessage, it has completed alignment and moves to the proving state.M2PA starts the proving period timer T2. During the proving period,M2PA sends Link Status Proving messages to its peer at an intervaldefined by the protocol parameter Status_Interval. M2PA sends eitherthe Proving Normal or Proving Emergency message, according to theEmergency and Emergency Ceases commands from MTP3. M2PA uses the valueof T2 corresponding to the Normal or Emergency state. However, if M2PAreceives a Link Status Proving Emergency message from its peer, thenM2PA shall use the Emergency value for T2.Also while T2 is running, M2PA shall send Proving Data messages on theUser Data stream. These messages are sent at a rate equal to theprotocol parameter Proving_Data_Rate.When the proving period timer T2 expires, M2PA shall determine theassociation's performance as described in section 4.1.6 ErrorGeorge, et al [Page 27]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001Monitoring. If the association's performance is inadequate, M2PA shallreport to MTP3 that the link is out of service. M2PA should leave theassociation established. M2PA waits for MTP3 to initiate the alignmentprocedure again.If the association's performance is satisfactory, M2PA shall start thetimer T3 and send Link Status Ready messages to its peer at intervalStatus_Interval. These messages are used to verify that both ends havecompleted proving.M2PA shall stop timer T3 when it receives a Link Status ProvingComplete or User Data message from its peer. If timer T3 expires, thenM2PA reports to MTP3 that the link is out of service. M2PA shouldleave the association established. M2PA waits for MTP3 to initiate thealignment procedure again.Note that if M2PA has already received a Link Status Ready messagefrom its peer when it finishes checking the association's performance,there is no need to start timer T3. M2PA can just send Link StatusReady to the peer and continue along.When all of the following are true: (a) M2PA has received a Start Request from MTP3. (b) M2PA's proving period T2 has expired. (c) M2PA has sent a Link Status Ready to its peer. (d) M2PA has received a Link Status Ready OR User Data message from its peer.then M2PA shall send Link In Service to its MTP3. If there is a local processor outage condition, M2PA sends Link StatusProcessor Outage to its peer. When the local processor outagecondition ends, then M2PA shall send Link Status Processor OutageEnded to its peer. M2PA shall attempt to complete the alignmentprocedure during the local processor outage condition.If M2PA receives a Link Status Processor Outage during alignment, andM2PA had received a Start Request from its MTP3, M2PA shall reportRemote Processor Outage to MTP3.Recommended values:T1 Alignment - Range: 1-60 seconds Default: 10 secondsT2 Proving - Normal - Range: 1-60 seconds Default: 10 seconds Emergency - Range: 400-600 milliseconds Default: 500 millisecondsGeorge, et al [Page 28]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001T3 Ready - Range: 1-60 seconds Default: 10 secondsStatus_Interval - implementation dependent.Proving_Data_Rate - implementation dependent.4.1.4 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 alsocease sending User Data messages to SCTP for transmission.M2PA should periodically send a Link Status Processor Outage messageas long as there is a local processor outage.The peer M2PA, upon receiving the Link Status Processor Outagemessage, shall report Remote Processor Outage to its MTP3. The peerM2PA ceases sending User Data messages. M2PA stops the RemoteCongestion timer T6 if it is running.MTP3 sends a Flush Buffers or Continue command to M2PA. When theprocessor outage ceases, MTP3 sends a Local Processor Recoveredindication to M2PA. The local M2PA notifies its peer by sending a LinkStatus message with status Processor Outage Ended. The peer uses theRemote Processor Recovered Indication to notify its MTP3 that theremote processor outage condition has ceased.4.1.5 Level 2 Flow ControlNotification of receive congestion from SCTP to M2PA is implementationdependent. This section assumes that M2PA has some means ofdetermining when SCTP is in receive congestion, such as a receivecongestion notification from SCTP to M2PA. Since SCTP has its owncongestion control, the purpose of the M2PA level 2 flow control is tomonitor the association and decide if it should be aborted.If M2PA determines that SCTP is in receive congestion for anassociation, M2PA shall send a Link Status Busy message to its peer onthat association.M2PA should periodically send a Link Status Busy message as long asits SCTP is in receive congestion.When the peer M2PA receives the Link Status Busy message, it shallstart the Remote Congestion timer T6. If timer T6 expires, M2PA shalluse the ABORT primitive to end the association and take the link outof service.The peer M2PA shall continue transmitting messages to SCTP while itsGeorge, et al [Page 29]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001T6 timer is running, i.e., while the other end is Busy. If M2PA determines that SCTP is no longer in receive congestion forthe association, M2PA shall send a Link Status Busy Ended message toits peer on that association.When the peer M2PA receives the Link Status Busy Ended message, itshall stop timer T6.Recommended value of T6 is 1-6 seconds. 4.1.6 Error MonitoringIf M2PA loses the SCTP association for a link, M2PA shall report toMTP3 that the link is out of service.As long as the SCTP association is up, M2PA shall regularly monitorthe association performance. It is recommended that M2PA use thefollowing data to determine the performance of the association: - Smooth Round Trip Time (SRTT). This can be obtained from SCTP by invoking the SCTP GETSRTTREPORT primitive. - Frequency of SCTP retransmissions. - Frequency of SCTP Gap Acknowledgements received. If these values are not acceptable, the link is considered failed andtaken out of service. The acceptable values of these data are implementation dependent. The interval between successive checks of the performance data shouldbe a configurable parameter. Its value is implementation dependent.4.1.7 Transmission and Reception PrioritiesIn MTP, Link Status messages have priority over User Data messages([2] Q.703, section 11.2). To achieve this in M2PA, M2PA shall sendLink Status and User Data messages on separate streams in its SCTPassociation. All messages are sent using the ordered delivery option.M2PA SHOULD give higher priority to reading the Link Status streamover the User Data stream.M2PA SHOULD give higher priority to receiving notifications from SCTPover reading either the Link Status stream or the User Data stream.Implementation Note: If the SCTP implementation allows streams to havedifferent priorities for sending messages, then M2PA SHOULD set theLink Status stream to a higher priority than the User Data stream. See[13] for a possible extension to SCTP to allow for stream priorities.George, et al [Page 30]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 20014.1.8 M2PA Version ControlA node upgraded to a newer version of M2PA SHOULD support the olderversions used on other nodes with which it is communicating. If thatis the case, then alignment can proceed normally.In particular, it is recommended that for future modifications to thisprotocol:- Any newer version should be able to process the messages from a lower version.- A newer version of M2PA should refrain from sending messages to an older version of M2PA messages that the older version cannot process.- If an older version of M2PA receives a message that it cannot process, it should discard the message.- In cases where different processing is done in two versions for the same format of a message, then the newer version should contain procedures to recognize this and handle it appropriately.In case a newer version of M2PA is incompatible with an older version,the newer version should recognize this and prevent the alignment ofthe link. If a Link Status Alignment message with an unsupportedversion is received by the newer version, the receiving end's M2PAshall not complete the alignment procedure.4.2 Procedures to Support the MTP3/MTP2 Interface4.2.1 Sending/receiving messagesWhen MTP3 sends a message for transmission to M2PA, M2PA passes thecorresponding M2PA message to SCTP using the SEND primitive.M2PA Link Status messages are passed to SCTP using the SEND primitive.Link Status and User Data messages shall be sent via SCTP on separatestreams.When M2PA receives a User Data message from SCTP, M2PA passes themessage to MTP3.If M2PA receives a message from SCTP with an invalid Message Class orunsupported Message Type in the Common Message Header, M2PA shalldiscard the message.4.2.2 Link activation and restorationWhen MTP3 requests that M2PA activate or restore a link by a StartGeorge, et al [Page 31]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001Request, M2PA shall follow the alignment procedure in section 4.1.3.4.2.3 Link deactivationWhen MTP3 requests that M2PA deactivate a link by a Stop command, M2PAshall send an ABORT primitive to SCTP.4.2.4 Flush Buffers, ContinueThe Flush Buffers and Continue commands allow M2PA to resume normaloperations (i.e., transmission of messages to SCTP and receivingmessages from SCTP) after a processor outage (local and/or remote)ceases.If M2PA receives a Flush Buffers command from MTP3, M2PA: (a) shall not transmit any messages to SCTP that are currently waiting to be transmitted to SCTP. These messages shall be discarded. (b) shall discard all messages currently waiting to be passed to MTP3.If M2PA receives either a Flush Buffers or Continue command from MTP3,and the processor outage condition ceases, M2PA shall resume receivingand transmitting messages.4.2.5 MTP3 Signaling Link CongestionNotification of transmit congestion from SCTP to its upper layer(M2PA) is implementation dependent. Nevertheless, M2PA should receivenotification from SCTP adequate to allow MTP3 to meet its requirementsfor signaling link transmit congestion in [2] Q.704, section 3.8.M2PA shall use the Congestion Indication primitive to notify its upperlayer MTP3 of changes in the signaling link congestion status and thesignaling link discard status. For national networks with multiplecongestion threshold levels, M2PA shall notify MTP3 of the congestionand discard status levels.Note: M2PA does not discard messages because of transmitcongestion. Discarding of messages due to transmit congestion isperformed by MTP3.4.2.6 ChangeoverThe objective of the changeover is to ensure that signaling trafficcarried by the unavailable signaling link is diverted to thealternative signaling link(s) as quickly as possible while avoidingmessage loss, duplication, or mis-sequencing. For this purpose, thechangeover procedure includes data retrieval, which is performedbefore opening the alternative signaling links to the divertedGeorge, et al [Page 32]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001traffic. Data retrieval consists of these steps: (1) buffer updating, i.e., identifying all those User Data messages in the retransmission buffer of the unavailable signaling link which have not been received by the far end SCTP, as well as untransmitted messages, and (2) transferring those messages to the transmission buffers of the alternate links.Note that only User Data messages are retrieved and transmitted overthe alternate links. Link Status messages shall not be retrieved andtransmitted over the alternate links. References to stream sequencenumbers in this section refer only to the User Data stream's streamsequence numbers.In order to support changeover in M2PA, the SCTP Stream SequenceNumbers must be used in place of the Forward and Backward SequenceNumbers (FSN/BSN) of SS7.Stream Sequence Numbers used by SCTP are 16 bits long. MTP2's Forwardand Backward Sequence Numbers are only seven bits long. Hence it isnecessary for MTP3 to accommodate the larger SSNs. This is donethrough the use of the Extended Changeover Order (XCO) and ExtendedChangeover Acknowledgement (XCA) messages in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -