Download as pdf or txt
Download as pdf or txt
You are on page 1of 0

EE 6364

DCW 1
Generic Framing Procedure (GFP)

- Overview
- GFP Frame Structure
- Functions Performed by GFP Payload Independent
Aspects
- Frame Mapped GFP & Transparent GFP
- Virtual Concatenation (VC) of SONET/SDH
- Link Capacity Adjustment Scheme (LCAS)




EE 6364
DCW 2
Overview of Generic Framing Procedure (GFP)

Since SONET has extensive management capabilities and is widely
deployed by the carriers in their networks, Generic Framing
Procedure (GFP) was developed to allow efficient and reliable
transport of data through SONET networks.
Defined by ITU-T G.7041, GFP provides a simple adaptation scheme
that allows mapping of variable length, higher-layer client data over a
SONET network. The client data can be frame oriented (e.g., IP/PPP
or Ethernet frames) or continuous bit rate block-code oriented (e.g.,
fiber channel, fiber connection (FICON), Enterprise System
Connection (ESCON)).
The GFP stack is as following:









GFP frames are transported over SONET/SDH or optical transport
network (OTN) defined in ITU-T G.709.
The payload independent aspects cover functions, such as GFP
framing, GFP frame delineation, data link synchronization and
scrambling, client PDU multiplexing, and performance monitoring.
The payload dependent aspects perform functions that may vary
according to the client payload. The functions performed include
mapping of the client payload into the GFP payload, client specific
performance monitoring, and management.
GFP supports many different types of client payload.

Ethernet IP/PPP Fibre Channel FICON ESCON
Gb Ethernet
Payload Dependent Aspects
Payload Independent Aspects
SONET/SDH
GFP
OTN (G.709)
EE 6364
DCW 3
GFP Frame Structure
There are two different types of GFP frames: GFP client frames and
GFP control frames. They use the same frame structure.
The GFP frame structure is as follows:


















A GFP frame consists of two parts: core header and the payload
area. The payload area consists of payload header, payload and
payload FCS.
The core header consists of:
Payload Length Indicator (PLI): Indicate the length of the
payload area. The value of PLI ranges from 4 to 65,535.
Core Header Error Control (cHEC).

Payload Length Indicator
Core HEC (cHEC)
Payload Type
Type HEC
Extension Header (optional)
Payload FCS
Bytes
2
2
2
2
0-60
0 or 4
Payload
PTI PFI EXI
UPI
Core
Header
Payload
Header
EE 6364
DCW 4
The payload area consists of three parts: payload header, payload
and payload frame check sequence (FCS). The payload header
has a variable length from 4 to 64 bytes.
The payload header consists of:
Payload Type Identifier (PTI): A 3-bit subfield identifies the
type of payload: client data or client management.
Payload FCS Indicator (PFI): A 1-bit subfield indicates the
presence of the payload FCS.
Extension Header Identifier (EXI): A 4-bit subfield identifies
the type of extension header.
User Payload Identifier (UPI): A 8-bit field identifies the type
of user payload.
Type Header Error Control (tHEC): Two bytes.
Extension Header: 0-60 bytes.
The length of the payload ranges from zero (0) to 65,535-length of
payload header.
The 4-byte payload FCS may or may not be present.
How the client data is carried in the GFP payload field is the
function of the payload dependent aspects.
The following table lists some their client payload types and their
UPI values.
GFP Client Data Type UPI Value
Ethernet 0000 0001 GFP-F
PPP 0000 0010 GFP-F
MPLS Direct Mapping 0000 1101 GFP-F
IP v4 0001 0000 GFP-F
IP v6 0001 0001 GFP-F
Fiber Channel 0000 0011 GFP-T
FICON 0000 0100 GFP-T
ESCON 0000 0101 GFP-T
Gigabit Ethernet 0000 0110 GFP-T
EE 6364
DCW 5
Functions Performed by Payload Independent
Aspects
GFP payload independent aspects perform the following functions:
Frame Delineation:
Frame delineation of GFP frames is done using cHEC. The
procedure is identical to the cell delineation procedure used in ATM
cell delineation.
Multiplexing:
The payload independent aspects of GFP also perform multiplexing
of the GFP frames on a frame-by-frame basis. There are two kinds of
frames: client data frames and client management frames. When no
frames are available, GFP inserts idle frames in order to maintain a
continuous bit flow. The idle GFP frame is a GFP frame consisting
only of the GFP core header, with the PLI and cHEC fields set to 0.
Header and Payload Scrambling:
The core header is always scrambled to ensure high bit transmission
density when transmitting idle GFP frames. Payload is also
scrambled.
Management.


EE 6364
DCW 6
Frame Mapped GFP and Transparent GFP
One of the functions performed by the payload dependent aspects is
to carry the client data into the payload field of the GFP frame.
The client data can be carried in GFP frames using two modes:
frame-mapped GFP (GFP-F) or transparent GFP (GFP-T).
Frame-mapped GFP is applicable to packet data type. A client data
frame is mapped into the payload field of a GFP frame. The following
shows the mapping of client Ethernet and PPP frames into the GFP
payload. Only the shaded fields are carried in the payload filed.




















Note that GFP payload FCS is only needed if the client data frame
does not have the FCS field.
Bytes
Preamble
Start Frame Delimiter
Destination Address
Source Address
Length/Type
Pad
FCS
Data
Bytes
7
1
6
6
2
4
Flag
Address
Control
Protocol
Data
FCS
1
1
1
2
4
Core Header
Payload Header
Payload
Payload FCS
Ethernet
PPP
Bytes
4
4-64
4
EE 6364
DCW 7
The following illustrates a GFP-F frame:







The transparent GFP (GFP-T) is used to transport continuous bit-
rate, 8B/10B block-coded client data and control information carried
by the network. Examples of this type of networks are fiber channel,
FICON, ESCON, and Gigabit Ethernet.
GFP-T transports client data as a stream of characters.
1. The 8B/10B characters of the client data are first decoded into
their original data or control codeword values.
2. The decoded characters are then mapped into 64B/65B block
coding. Each 64B/65B code carries the information of eight of
the 8B/10B characters. For data characters, the original 8-bit
data values are mapped directly into the payload bytes of the
64B/65B codes. The 8B/10B control codes are re-encoded and
mapped into their own bytes. A bit in the 65-bit code is used to
indicate whether the 65-bit block contains only data or whether
control characters are included. If control codes
1
are present,
they are placed in the first byte(s) of the 64B/65B code payload.
A 3-bit address indicates where the control code occurred in the
client character stream relative to the other characters encoded
into that 64B/65B block. The MSB of a control code byte
indicates whether this is the last control code in that 64B/65B
block or whether the next byte also contains a control code.
3. Eight consecutive 65-bit blocks are grouped together into a
single super block.
4. N super blocks make up a single GFP-T frame.

1
Since there are 12 or fewer control codes used for any 8B/10B codes, a 4-bit code is
adequate to represent them.
Client PDU
(IP/PPP, IP, Ethernet, etc)
(0-65,531 bytes)
PLI
(2 bytes)
cHEC
(2 bytes)
FCS
(optional)
(4 bytes)
Payload
header
(4 bytes)
GFP
core
header
GFP
payload
area
GFP
payload
FCS
EE 6364
DCW 8
The following figure illustrates the 64B/65B block code structure:
64-bit (8-octet) Field Client
Data
Flag
bit
Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet
6
Octet 7 Octet 8
All Data 0 D1 D2 D3 D4 D5 D6 D7 D8
7 data,
1 control
1 0aaaC1 D1 D2 D3 D4 D5 D6 D7
6 data,
2 control
1 1aaaC1 0bbbC2 D1 D2 D3 D4 D5 D6
5 data,
3 control
1 1aaaC1 1bbbC2 0cccC3 D1 D2 D3 D4 D5
4 data,
4 control
1 1aaaC1 1bbbC2 1cccC3 0dddC4 D1 D2 D3 D4
3 data,
5 control
1 1aaaC1 1bbbC2 1cccC3 1dddC4 0eeeC5 D1 D2 D3
2 data,
6 control
1 1aaaC1 1bbbC2 1cccC3 1dddC4 1eeeC5 0fffC6 D1 D2
1 data,
7 control
1 1aaaC1 1bbbC2 1cccC3 1dddC4 1eeeC5 1fffC6 0gggC7 D1
8 control 1 1aaaC1 1bbbC2 1cccC3 1dddC4 1eeeC5 1fffC6 1gggC7 0hhhC8

Where
Flag bit =1, if there is at least one control code
aaa hhh =3-bit representation of the original position of the
control code
Ci =4-bit representation of the ith control code
Di =8-bit representation of the ith client data

The following figure shows an example of GFP-T mapping:








GFP-T reduces the 25% 8B/10B overhead. It also reduces latency.
Position
Octet #
Byte
Stream
D1 D2 K1 K2 D3 D4 K3 D5
000 001 010 011 100 101 111 110
1,010,C1
Octet #
65B Code
Stream
D1 D2 D3 D4 D5
000 001 010 011 100 101 111 110
Flag
Bit
1
1,011,C2 0,110,C3
EE 6364
DCW 9
Virtual Concatenation
Virtual concatenation (VC) is a SONET/SDH procedure that maps an
incoming traffic stream into a number of individual sub-rate
SONET/SDH payloads. It is an inverse multiplexing procedure.
VC, specified in ITU-T G.707/Y.1332, provides a technique that
allows SONET/SDH channels to be grouped in an arbitrary manner. It
creates right-sized channels over the transport layer for an efficient
use of bandwidth. VC can be deployed over SONET/SDH or OTN
networks, thus it can be classified as transport layer independent
technology.
VC breaks the bandwidth into smaller individual containers that are
grouped logically. The members of the channel can be routed
independently through the network without the knowledge that the
traffic is virtually concatenated. This is one of the advantages of VC:
the ability to deploy VC on the existing SONET/SDH infrastructure
with a simple upgrade of the end points. All intelligence to handle VC
is located at the end points of the connections. The efficient use of
the network achieved by using VC allows recovering of stranded
bandwidth in the SONET/SDH network.
In contrast, arbitrary contiguous concatenation allows the creation of
custom sized bandwidth but the network needs to treat this bandwidth
as a single entity throughout the network that requires all the
intermediate nodes to be upgraded in order to accommodate the new
contiguous custom sized pipe. Such a requirement makes the use
of this technique impractical.









EE 6364
DCW 10
Link Capacity Adjustment Scheme (LCAS)
In the traditional SONET/SDH networks, changing the capacity of a
channel is quite a time consuming and expensive procedure. The link
needs to be brought down (thus interrupting traffic), changing the
capacity, and then re-starting traffic again.
Link Capacity Adjustment Scheme (LCAS), specified in ITU-T
G.7042, is a method to dynamically increase or decrease the
bandwidth of virtual concatenated containers. LCAS is a two-way
handshake signaling protocol. Synchronization of changes in the
capacity of the transmitter and the receiver is achieved by a control
packet sequence of H4 Path overhead bytes.
LCAS allows on-demand increase or decrease of the bandwidth of
the virtual concatenated group in a hitless manner. LCAS is also able
to temporarily remove failed members from the virtual concatenation
group. A failed member will automatically cause a decrease of the
bandwidth and after repair the bandwidth will increase again in a
hitless fashion. Together with diverse routing this provides
survivability of data traffic without requiring excess protection
bandwidth allocation.

You might also like