How SNA Server Determines Max BTU Over 802.2 DLC

ID: Q148972

The information in this article applies to:

SUMMARY

When you communicate over 802.2 Token Ring or Ethernet, the following parameters affect the Maximum Basic Transmission Unit (BTU) or "frame" size used by SNA Server for the 802.2 connection:

The maximum frame size supported by SNA Server will be the minimum value encountered above.

NOTE: See Chapter 2 of the ?IBM SNA Formats Guide? (GA27-3136) for a description of Format 0 and Format 3 SNA XID messages.

MORE INFORMATION

The following is more detail on how SNA Server determines the Maximum BTU size on an 802.2 connection:

If the SNA Format 0 XIDs are used during connection activation, then the max BTU size is not indicated in the XID message; as a result, the local and remote system's configurations should match to prevent connection problems.

Definition of Max BTU Size and VTAM MAXDATA Size

The Max BTU size and the MAXDATA refer to the size of LLC Information frame (I-frame) that can be transmitted. This includes the SNA Transmission Header (TH) , Request/Response Header (RH), and at least a portion of the Request/Response Unit (RU). The I-frame does not include the Mac and LLC header. For example:

  ---------------  ---------------  -----------------------------
  | TH (6 bytes)|  | RH (3 bytes)|  |  RU (as long as you like) |
  ---------------  ---------------  -----------------------------

If the total length exceeds the Max BTU size, then the data is segmented into two or more I-frames similar to the following:

  ---------------  ---------------  --------------------
  | TH (6 bytes)|  | RH (3 bytes)|  |  RU (some of it) |
  ---------------  ---------------  --------------------

  ---------------  ----------------------
  | TH (6 bytes)|  | RU (rest of it)    |
  ---------------  ----------------------

The TH contains flags indicating whether the frame is part of a segmented RU or not.

In each connection between two end points, there are potentially two MAXDATA sizes; each one being the size which one end can receive. It is perfectly legal for one end to be able to receive 265 bytes, and the other end 521 bytes. When the Max BTU size is configured on SNA Server, that size refers to the size of data you can send.

It is possible for SNA Server to have control over the size of data it receives if the connection uses Format 3 XIDs---in these you specify the maximum BTU size you can receive. If the connection uses Format 0 XIDs then it is up to the configuration to make sure that one end does not send the other end a larger frame than it can accept.

SNA Server Downstream Physical Units (DSPU) Considerations

When you connect Downstream PU 2.0 devices through the SNA Server DSPU feature, the handling of Max BTU size is more complicated because there are two SNA Server connections involved---the SNA Server host connection and the SNA Server Downstream PU connection. Most of the time the maximum BTU sizes on these two connections do not effect each other, because the SNA Server in the middle will do any segmentation as needed.

--------        -------------          -----------
| DSPU |--------|    SNA    |----------|   HOST  |
--------        |   SERVER  |          -----------
                -------------

Consider the case of the diagram above. If the DSPU (downstream PU2.0 device) supports a frame size of 521 bytes, and the host connection supports a frame size of 265 bytes, then when the DSPU sends SNA Server a frame of 521 bytes, SNA Server will segment it into two frames before sending it to the host. In this case, there is no relationship between the DSPUs MAXDATA configuration setting and the host's MAXDATA value configured on the VTAM Physical Unit description.

There is one exception. Some SNA sessions do not support segmentation; these are the SSCP-PU and the SSCP-LU sessions. If Format 0 XIDs are used during connection activation (the only value supported by PU2.0 devices), SNA Server is not notified of the maximum BTU size supported by the DSPU device. If the host sends a USSMSG10 SSCP "banner" screen with an RU size of 512 bytes, but the DSPU only supports a Max BTU size of 265 bytes, then the DSPU may reject the logon screen with a frame reject (FRMR), or possibly hang if it does not handle this properly. To work around this, configure the RU size on the SSCP-LU session no larger than the DSPUs MAXDATA size (taking the TH and RH into account).

Additional query words: 2.00 2.10 2.11 prodsna snadlc

Keywords          : snasdlc 
Version           : 2.00 2.10 2.11 2.11.sp1
Platform          : WINDOWS

Last Reviewed: March 17, 1998