ID: Q148972
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:
NOTE: See Chapter 2 of the ?IBM SNA Formats Guide? (GA27-3136) for a description of Format 0 and Format 3 SNA XID messages.
The following is more detail on how SNA Server determines the Maximum BTU size on an 802.2 connection:
SNA Server supports a maximum of 16393 bytes for 16Mbps Token Ring, 4195 for 4Mbps Token Ring, and 1493 for Ethernet. The Token Ring limits match the maximum values supported by the IBM Token Ring 16/4 adapter. The Ethernet limit is due to architectural limitations of the Ethernet media. The Max BTU size determines the maximum frame size that SNA Server will send.
NOTE: Some NDIS drivers may be hard-coded to support a maximum frame size of 4 kilobytes.
NOTE: When you communicate with an IBM host system, the maximum frame size that can be received by the host is configured in the MAXDATA parameter in the VTAM PU definition. When you communicate with an IBM AS/400 system, the maximum frame size that can be received by the AS/400 is configured in the MAXFRAME parameter in the AS/400 line description (this is not the same as the MAXFRAME parameter within the APPC Controller description).
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.
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