📄 draft-ietf-sigtran-m2pa-03.txt
字号:
| MTP3 Stop | | | V | | +-----------+ | +<------| PROVING |----------------------->+ | +-----------+ SCTP Comm Error | | | OR SCTP Comm Lost | | | | | | T2 Expiry | | MTP3 Stop | | | V | | +-----------+ | +<------| ALIGNED | | | READY |----------------------->+ +-----------+ | | SCTP Comm Error | | OR SCTP Comm Lost | | OR T3 Expiry | | | | Receive LS Proving Complete | | OR Receive User Data | | | V | +-----------+ | | INS | | +-----------+ | | | | | | |George, et al [Page 20]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001 | | | | | MTP3 Stop | | OR SCTP Comm Error | | OR SCTP Comm Lost | | OR T6 Expiry | | | V | +-----------+ | | RETRIEVAL |----------------------->+ +-----------+ Retrieval Complete OR MTP3 Start Figure 6: M2PA Link State Transition DiagramFigure 7 illustrates state changes in the M2PA management of the SCTPassociation together with the causing events. Note that some of theerror conditions are not shown in the state diagram.Following is a list of the M2PA Association States and a descriptionof each.IDLE - State of the association during power-up initialization.ASSOCIATE - M2PA is attempting to establish an SCTP association.ESTABLISHED - SCTP association is established. +-----------+ +------------------->| IDLE | | +-----------+ | | | (Issue SCTP | Associate | Abort) | (Issue SCTP associate) | | | | +----------------------+ | | | (Issue SCTP | | V V associate) | | Abort +-----------+ | +<-------------------| ASSOCIATE |------------------->+ | +-----------+ SCTP Comm Error | | | | | | | | | SCTP Comm Up | | | | | V | | Abort +-------------+ | +<-------------------| ESTABLISHED |----------------->+ +-------------+ SCTP Comm Error OR SCTP Comm Lost Figure 7: M2PA Association State Transition DiagramGeorge, et al [Page 21]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 20014. 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 MTP and SCTP EntitiesThis section describes how M2PA relates MTP and SCTP entities.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. If onlyone association is to be established between these two IP addresses,then the client should use its own IP address and the M2PA well-knownport number as the source endpoint.If it is desirable to create multiple associations (for multiplelinks) between the two IP addresses, the client uses a different localport number for each association. The client M2PA should establish the association for a link when thelink is configured for operation by MTP signaling management. Whenever the association is terminated, the client M2PA shouldestablish the association as soon as the termination procedure iscomplete.The client M2PA establishes an association by sending the SCTPASSOCIATE primitive to SCTP. The client should attempt to establishthe association periodically until it is successful.Once the association is established and MTP3 has issued its StartRequest, M2PA begins the alignment procedure. The M2PA at either endmay initiate the alignment procedure first. There is no client/serverdistinction once the SCTP association is established.George, et al [Page 22]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001Each combination of client IP address/port and server IP address/port(i.e., each association) must be mapped to the same Signaling LinkCode (SLC) in the client and server, so that each endpoint knows whichlink is being created at the time the SCTP association isestablished. However, M2PA does not do any processing based on theSLC.Following are examples of the relationships between associations andlinks. Note that a link is an SCTP association identified by twoendpoints, in this case a client and server. Each endpoint isidentified by an IP address and port number. Each association ismapped to an SLC. Figure 8 shows a case with two IPSPs, each with two IP addresses. Twoassociations are the links that connect the two IPSPs. Since theselinks are in the same link set, they must have different SLCs.Table 1 shows the relationships in tabular form. Table 1 is onlyconceptual. The actual method for mapping the SCTP associations to theSLCs is implementation dependent. IPSP X IPSP Y +-------------+ +-------------+ | | SCTP | | | IPA | association 1 | IPB | | port = PW +---------------+ port = PW | | SLC = a | | SLC = a | | Client | | Server | | | | | | | SCTP | | | IPC | association 2 | IPD | | port = PW +---------------+ port = PW | | SLC = b | | SLC = b | | Client | | Server | | | | | +-------------+ +-------------+ IPx = IP address PW = Well-known port number for M2PA Figure 8: Associations and Links - Two IPSPs with Two IP Addresses EachGeorge, et al [Page 23]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001 +-------------+---------------------------------------+-----+ | Association | Client | Server | SLC | | +------------+------+------------+------+ | | | IP address | Port | IP address | Port | | +=============+============+======+============+======+=====+ | 1 | IPA | PW | IPB | PW | a | +-------------+------------+------+------------+------+-----+ | 2 | IPC | PW | IPD | PW | b | +-------------+------------+------+------------+------+-----+ Table 1: Associations and SLCs - Two IPSPs with Two IP Addresses EachFigure 9 and Table 2 show an example with three IPSPs. Note that inthis example, the two links are in different link sets. Therefore, itis possible that the values a and b may be equal.George, et al [Page 24]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001 IPSP X IPSP Y +-------------+ +-------------+ | | SCTP | | | IPA | association 1 | IPB | | port = PW +---------------+ port = PW | | SLC = a | | SLC = a | | Client | | Server | | | | | | | SCTP | | | IPC | association 2 | | | port = PW +-------+ | | | SLC = b | | | | | Client | | | | | | | | | +-------------+ | +-------------+ | | | IPSP Z | | +-------------+ | | | | | IPD | +-------+ port = PW | | SLC = b | | Server | | | | | | | | | | | | | | | +-------------+ IPx = IP address PW = Well-known port number for M2PA Figure 9: Associations and Links - One IPSP Connected to Two IPSPs +-------------+---------------------------------------+-----+ | Association | Client | Server | SLC | | +------------+------+------------+------+ | | | IP address | Port | IP address | Port | | +=============+============+======+============+======+=====+ | 1 | IPA | PW | IPB | PW | a | +-------------+------------+------+------------+------+-----+ | 2 | IPC | PW | IPD | PW | b | +-------------+------------+------+------------+------+-----+ Table 2: Associations and SLCs - One IPSP Connected to Two IPSPsGeorge, et al [Page 25]Internet Draft SS7 MTP2-User Peer-to-Peer Adaptation Layer July 2001Figure 10 and Table 3 show two associations between the sameendpoints. This is accomplished by using different port numbers foreach association at the client. IPSP X IPSP Y +-------------+ +-------------+ | | SCTP | | | IPA | association 1 | IPB | | port = P1 +---------------+ port = PW | | SLC = a | | SLC = a | | Client | | Server | | | | | | | SCTP | | | IPA | association 2 | IPB | | port = PW +---------------+ port = PW | | SLC = b | | SLC = b | | Client | | Server | | | | | +-------------+ +-------------+ IPx = IP address P1 = Pre-selected port number for Client PW = Well-known port number for M2PA Figure 10: Associations and SLCs - Multiple Associations Between Two IP Addresses +-------------+---------------------------------------+-----+ | Association | Client | Server | SLC | | +------------+------+------------+------+ | | | IP address | Port | IP address | Port | | +=============+============+======+============+======+=====+ | 1 | IPA | P1 | IPB | PW | a | +-------------+------------+------+------------+------+-----+ | 2 | IPA | PW | IPB | PW | b | +-------------+------------+------+------------+------+-----+ Table 3: Associations and SLCs - Multiple Associations Between Two IP AddressesThe association shall contain two streams in each direction. Stream 0is designated for Link Status messages. Stream 1 is designated forUser Data and Proving Data messages.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -