Sonet (Synchronous Optical Network: 2.1 Introduction To SONET/ SDH
Sonet (Synchronous Optical Network: 2.1 Introduction To SONET/ SDH
Sonet (Synchronous Optical Network: 2.1 Introduction To SONET/ SDH
CHAPTER 2
Figure-1
Department of IT 46 AJCE
Advanced Networking Trends SONET
Table-1:
Signal Designation
SONET SDH Optical Line Rate
(Mbps)
Department of IT 47 AJCE
Advanced Networking Trends SONET
Department of IT 48 AJCE
Advanced Networking Trends SONET
Figure-2
Figure-3
If three STS-1s are byte interleaved, the resulting frame is called STS-
3. Byte interleaving means 1st byte of 1st STS-1 (called A1) is
transmitted, then A1 byte of 2nd STS-1, then A1 byte of 3rd STS-1 and so
on. Now the resultant rate of the frame would be 3 times more. This
multiplexing is carried out for all levels of SONET and SDH. Because of
this, SONET/SDH maintains a frame rate of 125µs. See figure-4 in
which different colors for bytes of each frame are used to have clear
understanding of multiplexing and how higher order frames are
generated. Note that not all the overhead bytes in STS-1 frame are
used in higher order frames. These are represented as ‘X’ in the figure-
4.
Department of IT 49 AJCE
Advanced Networking Trends SONET
Figure-4
Let us go through each and every byte of Transport Overhead (TOH). I made
sure that by the end of this section you will have fairly good idea of overheads in
a SONET frame. Transport Overhead is divided into two parts -Section Overhead
and Line Overhead. The first three rows inside the TOH constitute Section
Overhead and the remaining six rows of TOH constitute Line Overhead (See
figure-2).
Framing Bytes (A1 and A2): These bytes are used to indicate the
start of SONET/SDH frame. A1 byte is 1111 0110 and A2 byte is 0010
1000. These values remain the same in all STS-1s in an STS-N. SDH
uses the same values for framing.
Department of IT 50 AJCE
Advanced Networking Trends SONET
Section BIP-8 (B1): B1 byte indicates bit error rate to the receiving
terminal. This byte is known as Bit Interleaved Parity (BIP-8). The first
bit in all the bytes in the previous frame are taken and then B1 is set
so that the parity is even. Similarly all the other bits in B1 are set. The
parity is calculated after scrambling and placed before scrambling.
Scrambling is explained in later sections. The parity represented by
this octet is the parity of the previous frame. It is used to estimate the
bit error rate (BER) on the line. Note that the B1 parity is computed
over all the bytes in the frame, no matter how large the frame.
Because of this, the B1 byte does not provide a good BER estimation
for large frames (perhaps STS-48 and larger) under adverse error
conditions. SDH uses this byte for the same purpose.
Department of IT 51 AJCE
Advanced Networking Trends SONET
Section User Channel (F1): The F1 byte is located in the first STS-1
of an STS-N, and is used by the network provider. The corresponding
byte locations in the second through Nth STS-1s are currently
undefined. This byte is passed from Section to Section within a Line
and can be read, written, or both at each Section Terminating
Equipment (STE) in that line. The use of this function is optional. SDH
also uses this byte for the same purpose.
Department of IT 52 AJCE
Advanced Networking Trends SONET
Department of IT 53 AJCE
Advanced Networking Trends SONET
STS-1 REI (M0): The M0 byte is defined only for the STS-1 in an OC-1
or STS-1 electrical signal. Bits 5 through 8 of the M0 byte are allocated
for a Line Remote Error Indication function (REI-L), which conveys the
error count detected by LTE (using the B2 code) back to its peer LTE.
Bits 1 through 4 of the M0 byte are currently undefined. The error
count shall be a binary number from zero (i.e., ‘0000’) to 8 (i.e.,
‘1000’). The remaining seven values represented by the four REI-L bits
(i.e., ‘1001’ through ‘1111’) shall not be transmitted, and shall be
interpreted by receiving LTE as zero errors. Since there is no rate in
SDH equivalent to STS-1, SDH does not define an M0 value for this
byte.
STS-N REI (M1): The M1 byte is located in the third STS-1 in an STS-N
(N³ 3) and is used for Line Remote Error Indication (REI-L). The entire
M1 byte is used to convey the count of errors detected by the Line BIP-
8 (B2) byte. This count has (8 times N) + 1 legal values, namely 0 to
Department of IT 54 AJCE
Advanced Networking Trends SONET
8N errors. For rates below STS-48, the remaining possible 255-(8 times
N) values are interpreted as zero errors. For the STS-48 and STS-192
rates, if the line BIP-8 detects greater than 255 errors, the line REI will
relay a count of 255 errors. SDH uses this byte for the same purpose.
Growth (Z2): These bytes are allocated for future growth, and their
use is currently undefined. Note that STS-1 signal does not contain a
Z2 byte.
Orderwire (E2): This byte has the same purpose for line entities as
the E1 byte has for section entities. It is called Express Orderwire
(EOW) channel. The corresponding bytes in the second through the Nth
STS-1s of an STS-N frame are currently undefined. SDH uses this byte
for the same purpose.
2.6 scrambling.
Department of IT 55 AJCE
Advanced Networking Trends SONET
Figure-5
The framing bytes A1 and A2, Section Trace byte J0 and Section
Growth byte Z0 are not scrambled to avoid possibility that bytes in the
frame might duplicate A1/A2 and cause an error in framing. The
receiver searches for A1/A2 bits pattern in multiple consecutive
frames, allowing the receiver to gain bit and byte synchronization.
Once bit synchronization is gained, everything is done, from there on,
on byte boundaries – SONET/SDH is byte synchronous, not bit
synchronous.
As already said in one of the previous sections that the STS SPE would
be floating and the pointers give the position from where it is going to
start. The phase differences between Transport Overhead and SPE
must be accommodated. Also SONET/SDH systems are synchronous
systems, i.e., all the clocks are supposed to be same, but in reality
they are not. There shall always be small differences. Even when all
the clocks are same there can be jitter, which must also be
accommodated. Data can come into a device slower or faster than it is
transmitted out at the other side. So something has to be done to
adjust the differences between the transmit and receive clocks. This is
where pointer action bytes H1, H2, and H3 come in.
Department of IT 56 AJCE
Advanced Networking Trends SONET
Figure-6
1 2 3 4 5 6 89 90
H1H2 H3 0 1 2 85 86
87 88
521
522523
781 782
H1H2 H3 0 1
Department of IT 57 AJCE
Advanced Networking Trends SONET
Figure 7
Now let us see why and how H3 is used. Suppose the incoming clock is
faster than the outgoing clock. Then an extra byte is accumulated in
our receive buffer, compared to what we can transmit. Now this extra
byte is put into H3 location. So when we transmit one SONET frame of
810 bytes, we actually transmit 784 bytes of payload (86 columns
times 9 rows, plus one H3 octet), rather than 783 bytes of payload.
Positive Justification:
Normal 0 1 1 X 0 0 1 0 0 1 0
Frame X
Inverted I 0 1 1 X X 1 0 1 1 1 1 0
bits
Department of IT 58 AJCE
Advanced Networking Trends SONET
New Ptr 0 1 1 X X 0 0 1 0 0 1 1
Value
New Ptr 0 1 1 X X 0 0 1 0 0 1 1
Value
Normal 0 1 1 X X 0 0 1 0 0 1 1
Frame
Figure-8
12
Figure-9
Consider Figures 8 and 9 for the explanation that follows. Let the
pointer value be 214. Its decimal equivalent is 0011010110 which is
shown in first row in figure-8. Now at the frame where positive
Department of IT 59 AJCE
Advanced Networking Trends SONET
In the next frame the receiver receives the incremented pointer value.
This new pointer value is repeated for the next frame as well as for the
fourth frame. The new pointer value received in the fourth frame is
available for pointer adjustment again where as that received in the
previous two frames is not available for adjustment. This is because a
new pointer value is accepted only when it is received for three
consecutive frames.
Negative Justification:
Normal 0 1 1 0 X X 0 0 1 1 0 1 0 1 1 0
Frame
Inverted 0 1 1 0 X X 0 1 1 0 0 0 0 0 1 1
D bits
New Ptr 0 1 1 0 X X 0 0 1 1 0 1 0 1 0 1
Value
New Ptr 0 1 1 0 X 0 0 1 1 0 1 0 1 0 1
Value X
Norm 0 1 1 0 X X 0 0 1 1 0 1 0 1 0 1
Frame
Figure-10
Department of IT 60 AJCE
Advanced Networking Trends SONET
Figure-11
In the next frame the receiver receives the decremented pointer value.
This new pointer value is repeated for the next frame as well as for the
fourth frame. The new pointer value received in the fourth frame is
available for pointer adjustment again.
Department of IT 61 AJCE
Advanced Networking Trends SONET
Normal 0 1 1 0 X X 0 0 0 1 0 1 0 1 0 1
Frame
NDF Set 1 0 0 1 X X 0 0 0 1 0 1 0 1 1 0
New Ptr 0 1 1 0 X X 0 0 0 1 0 1 0 1 1 0
Value
New Ptr 0 1 1 0 X X 0 0 0 1 0 1 0 1 1 0
Value
Normal 0 1 1 0 X X 0 0 0 1 0 1 0 1 1 0
Frame
Figure-12
Special Cases:
A similar special case occurs when the pointer rolls over backwards
from zero to 782. The zero value pointer is pointing at the byte after
the H3 byte. The next frame has the NDF set and the H3 byte is used
for data. The resultant pointer is pointing to the H3 byte. The
beginning of the next SPE is the last byte in row 3 of the SONET frame
after the frame with the NDF inverted. However, the pointer in that
frame cannot point backwards in the frame, so the SONET equipment
has to handle this situation as a special case. The pointer in that
SONET frame points to the last byte in row 3 of the next (third) SONET
frame. This can be confusing but if you draw pictures similar to Figure
9 and Figure 11 you shall see how it works.
Department of IT 62 AJCE
Advanced Networking Trends SONET
Department of IT 63 AJCE
Advanced Networking Trends SONET
Rate
Signal
(Mbps)
STS-1, OC-1 51.84
STS-3, OC-3 155.52
STS-12, OC-12 622.08
STS-48, OC-48 2488.32
Department of IT 64 AJCE
Advanced Networking Trends SONET
The lower rate signals are byte-multiplexed to create the higher level
signal. For example, three STS-3 signals are byte-multiplexed to
generate an STS-3 signal. The byte multiplexing is illustrated in Figure
1.
Department of IT 65 AJCE
Advanced Networking Trends SONET
Department of IT 66 AJCE