Skip to main content

12. Appendix B - Connection Oriented procedures

This appendix contains additional information and instructions for using CCITT Q.933 and other CCITT standards for encapsulating data over frame relay. The information contained here is similar (and in some cases identical) to that found in Annex F to ANSI T1.617 written by Rao Cherukuri of IBM. The authoritative source for this information is in Annex F and is repeated here only for convenience.

The Network Level Protocol ID (NLPID) field is administered by ISO and CCITT. It contains values for many different protocols including IP, CLNP (ISO 8473) CCITT Q.933, and ISO 8208. A figure summarizing a generic encapsulation technique over frame relay networks follows. The scheme's flexibility consists in the identification of multiple alternative to identify different protocols used either by

  • end-to-end systems or - LAN to LAN bride and routers or - a combination of the above.

over frame relay networks.

Q.922 control

                                   |
|
--------------------------------------------
| |
UI I Frame
| |
--------------------------------- --------------
| 0x08 | 0x81 |0xCC | 0x80 |..01.... |..10....
| | | | | |
Q.933 CLNP IP SNAP ISO 8208 ISO 8208
| | Modulo 8 Modulo 128
| |
-------------------- OUI
| | |
L2 ID L3 ID -------
| User | |
| specified | |
| 0x70 802.3 802.6
|
-------------------
|0x51 |0x4E | |0x4C
| | | |
7776 Q.922 Others 802.2

For those protocols which do not have a NLPID assigned or do not have a SNAP encapsulation, the NLPID value of 0x08, indicating CCITT Recommendation Q.933 should be used. The four octets following the NLPID include both layer 2 and layer 3 protocol identification. The code points for most protocols are currently defined in ANSI T1.617 low layer compatibility information element. There is also an escape for defining non-standard protocols.

Format of Other Protocols using Q.933 NLPID

                  +-------------------------------+
| Q.922 Address |
+---------------+---------------+
|Control 0x03 | NLPID 0x08 |
+---------------+---------------+
| L2 Protocol ID |
| octet 1 | octet 2 |
+-------------------------------+
| L3 Protocol ID |
| octet 2 | octet 2 |
+-------------------------------+
| Protocol Data |
+-------------------------------+
| FCS |
+-------------------------------+

ISO 8802/2 with user specified layer 3

                  +-------------------------------+
| Q.922 Address |
+---------------+---------------+
|Control 0x03 | NLPID 0x08 |
+---------------+---------------+
| 802/2 0x4C | 0x80 |
+-------------------------------+
|User Spec. 0x70| Note 1 |
+-------------------------------+
| DSAP | SSAP |
+-------------------------------+
| Control (Note 2) |
+-------------------------------+
| Remainder of PDU |
+-------------------------------+
| FCS |
+-------------------------------+

Note 1: Indicates the code point for user specified layer 3 protocol.

Note 2: Control field is two octets for I-format and S-format frames (see 88002/2)

Encapsulations using I frame (layer 2)

The Q.922 I frame is for supporting layer 3 protocols which require acknowledged data link layer (e.g., ISO 8208). The C/R bit (T1.618 address) will be used for command and response indications.

Format of ISO 8208 frame Modulo 8

                  +-------------------------------+
| Q.922 Address |
+---------------+---------------+
| ....Control I frame |
+---------------+---------------+
| 8208 packet (modulo 8) Note 3 |
| |
+-------------------------------+
| FCS |
+-------------------------------+

Note 3: First octet of 8208 packet also identifies the NLPID which is "..01....".

Format of ISO 8208 frame Modulo 128

                  +-------------------------------+
| Q.922 Address |
+---------------+---------------+
| ....Control I frame |
+---------------+---------------+
| 8208 packet (modulo 128) |
| Note 4 |
+-------------------------------+
| FCS |
+-------------------------------+

Note 4: First octet of 8208 packet also identifies the NLPID which is "..10....".