Fibre Channel has five levels (similar to the OSI protocol stack)
FC
Level
Name OSI
Layer
Name SCSI-3 Layers
FC-4 Application 7 Application Upper Layer Protocol
    6 Presentation  
FC-3 Common Services 5 Session  
FC-2 Framing Protocol 4 Transport Lower Layer Protocol
    3 Network  
FC-1 Encode/Decode 2 Link Physical Interconnect
FC-0 Physical Variants 1 Physical


FC-2 defines three classes of service


The frame is the basic unit of information interchange and is created using 4 byte words (MSB in byte 0 and LSB in byte 3).

Frame
# of words Frame Component # of bytes
1 Start of Frame 4
6 Header 24
0 - 16 Optional Header 0 - 64
0 - 512 Payload 0 - 2048
1 CRC 4
1 End of Frame 4
Optional Header
Word Byte 0 Byte 1 Byte 2 Byte 3
0 R_CTL D_ID
1 Reserved S_ID
2 TYPE F_CTRL
3 SEQ_ID DF_CTL SEQ_CNT
4 OX_ID RX_ID
5 PARAMETER
Notes:


There are two types of frames: data and Link control frames.

Data frames include

Link control frames include


Class 1 service is circuit switched and creates a dedicated circuit and bandwidth between two nodes on the fabric. When the connection is no longer needed, the circuit is torn down.

The upper layer protocols allow for connectionless communication to occur when resources are available. Mixed mode traffic is handled by sub-fabric processing.

When only a fraction of the bandwidth is requested, a virtual circuit is established. The remaining resources are available and managed by the QoS facilitator as a class 4 service.

Class 6 is multicast and reliable.


Fibre Channel Level 4 Protocol Mapping - SCSI

required Fibre Channel protocol (FCP) frames required for SCSI mapping: