Skip to main content

IEEE 802.2 Details

While not necessary for supporting IP and ARP, all implementations must support IEEE 802.2 standard Class I service in order to be compliant with 802.2. Described below is the minimum functionality necessary for a conformant station. Some of the functions are not related directly to the support of the SNAP SAP (e.g., responding to XID and TEST commands directed to the null or global SAP addresses), but are part of a general LLC implementation. Implementors should consult IEEE Std. 802.2 [11] for details.

802.2 Class I LLC requires the support of Unnumbered Information (UI) Commands, eXchange IDentification (XID) Commands and Responses, and TEST link (TEST) Commands and Responses. Stations need not be able to transmit XID and TEST commands, but must be able to transmit responses.

Encodings​

Command frames are identified by having the low order bit of the SSAP address reset to zero. Response frames have the low order bit of the SSAP address set to one.

The UI command has an LLC control field value of 3.

The XID command/response has an LLC control field value of 175 (decimal) if the Poll/Final bit is off or 191 (decimal) if the Poll/Final bit is on.

The TEST command/response has an LLC control field value of 227 (decimal) if the Poll/Final bit is off or 243 (decimal) if the Poll/Final bit is on.

Elements of Procedure​

UI responses and UI commands with the Poll bit set shall be ignored. UI commands having other than the SNAP SAP in the DSAP or SSAP fields shall not be processed as IP or ARP packets.

When an XID or TEST command is received, an appropriate response must be returned. XID and TEST commands must be responded to only if the DSAP is the SNAP SAP (170 decimal), the Null SAP (0 decimal), or the Global SAP (255 decimal). XID and TEST commands received with other DSAP values must not be responded to unless the station supports the addressed service. Responses to XID and TEST frames shall be constructed as follows:

         Destination MAC:  Copied from Source MAC of the command
Source MAC: Set to the address of the MAC receiving the
command
DSAP: Copied from SSAP of the command
SSAP: Set to 171 decimal (SNAP SAP + Response bit) if the
DSAP in the command was the SNAP SAP or the Global SAP;
set to 1 decimal (Null SAP + Response bit) if the DSAP
in the command was the Null SAP

When responding to an XID or a TEST command, the value of the Final bit in the response must be copied from the value of the Poll bit in the command.

XID response frames must include an 802.2 XID Information field of 129.1.0 indicating Class I (connectionless) service.

TEST response frames must echo the information field received in the corresponding TEST command frame.