0% found this document useful (0 votes)
231 views10 pages

Cep RFC-4842

This document discusses Circuit Emulation over Packet Switched Network (CEP). It describes how Synchronous Payload Envelope (SPE) and Virtual Tributary (VT) structures are encapsulated over packet networks. The CEP encapsulation format includes the CEP header which contains fields for signaling alarms and maintenance like CEP-AIS and CEP-RDI. The CEP header also includes a structure pointer field to indicate the offset of the SPE or VT structure within the packet payload.

Uploaded by

meo_omht
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
231 views10 pages

Cep RFC-4842

This document discusses Circuit Emulation over Packet Switched Network (CEP). It describes how Synchronous Payload Envelope (SPE) and Virtual Tributary (VT) structures are encapsulated over packet networks. The CEP encapsulation format includes the CEP header which contains fields for signaling alarms and maintenance like CEP-AIS and CEP-RDI. The CEP header also includes a structure pointer field to indicate the offset of the SPE or VT structure within the packet payload.

Uploaded by

meo_omht
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

CEP RFC 4842

Nguyen-viet Tuan

CEP Circuit Emulation over PSN

1. Synchronous Payload Envelope (SPE)/Virtual Container (VC-n):


STS- 1/VC-3,
STS-3c/VC-4,
STS-12c/VC-4-4c,
STS-48c/VC-4-16c,
STS-192c/ VC-4-64c, etc.
2. Virtual Tributary (VT)/Virtual Container (VC-n):
VT1.5/VC-11,
VT2/VC-12,
VT3,
VT6/VC-2

CEP Encapsulation Format


PSN and Multiplexing Layer
Headers

DA

SA

VLAN Tags
(optional)

RTP Header
(RFC 3550)

CEP Header

Ethertype
88d8
IP
Header

ECID

Control
Word

Payload (SONET/SDH Fragment)

RTP
(optional)

L2TPv3 Header
(PW demultiplexing layer)

TDM
Payload

FCS

DA

SA

Type
8100

VLAN Tags
(optional)

Type
800

Common interworking
indicators

DA

SA

Type
8100

VLAN Tags
(optional)

Type
8847

Tunnel
Label

VC Label

Control
Word

RTP
(optional)

TDM
Payload

DA

SA

Type
8100

VLAN Tags
(optional)

Type
8847

Tunnel
Label

PW Label

Control
Word

RTP
(optional)

TDM
Payload

DA

SA

Type
8100

VLAN Tags
(optional)

Type
8847

Transport
Label

Interworking
Label

Control
Word

RTP
(optional)

TDM
Payload

RTP
(optional)

TDM
Payload

CEP header

PSN and Multiplexing Layer


Headers

4
Reserved
Set to Zero
4-bit

5 6 7
R

RTP Header
(RFC 3550)

CEP Header

10
FRG

Length

2-bit

6-bit

16

Payload (SONET/SDH Fragment)

20

31 0

SN (Sequence Number)
16-bit

Reserved
20-bit

31
Structure Pointer
12-bit

CEP Header (2)

L bit: CEP-AIS.
This bit MUST be set to 1 to signal to the downstream PE that a failure condition has
been detected on the attachment circuit (AC).
R bit: CEP-RDI.
This bit MUST be set to 1 to signal to the upstream PE that a loss of packet
synchronization has occurred.
This bit MUST be set to 0 once packet synchronization is acquired.
N and P bits:
These bits are used to explicitly relay negative and positive pointer adjustment events
across the PSN.
The use of N and P bits is OPTIONAL.
If not used, N and P bits MUST be set to 0.

CEP Header (3)

FRG bits:
FRG bits MUST be set to 0 by sender and ignored by receiver.
SONET data is continuously fragmented into packets.
The Structure Pointer field designates the offset between the SONET SPE or VT structure
and the packet boundary.
Length [0:5]:
The Length field, if other than zero, indicates the length of
the CEP Header,
plus the length of the RTP Header if used,
plus the length of the Payload.
The Length field
MUST be set if the length of CEP header plus RTP header if used, plus payload is
less than or equal to 64 bytes and
MUST be set to 0 otherwise.
In particular, if the payload is suppressed (e.g., DBA)
the Length field MUST be set to the CEP header length plus the RTP header length
if used.

CEP Header (4)

Sequence Number [0:15]:


The packet sequence number MUST continuously cycle from 0 to 0xFFFF.
Structure Pointer [0:11]:
The structure pointer MUST contain the offset of the first byte of the SONET structure
within the packet payload.
For SPE emulation, the structure pointer locates the J1 byte within the CEP packet.
For VT emulation, the structure pointer locates the V5 byte within the packet.
The structure pointer value ranges between 0 to 0xFFE, where 0 represents the first
byte after the CEP header.
The structure pointer MUST be set to 0xFFF if a packet does not carry the J1 (or V5) byte.
An arbitrary pointer change (New Data Flag (NDF) event) in the attachment circuit
changes the offset of the SONET structure within the CEP packet and therefore changes
the structure pointer value.
Reserved field:
The reserved field MUST be set to 0 by the sender and ignored by receiver.

SONET/SDH Maintenance Signals

SONET/SDH to PSN
CEP-AIS: AIS-P/V Indication
indicates that the SONET/ SDH Path is not currently transmitting valid end-user
data, and the SPE contains all ones.

CE

STM-n/OC-m

Path AIS (AIS-P)


VT AIS (AIS-V)

PE

PSN Cloud

PSN-bound

PE

STM-n/OC-m

CE

PSN-bound

L bit = 1
PSN packet
Tx
Rx

Similarly, AIS-V indicates that the VT is not currently transmitting valid end-user
data, and the VT contains all ones.

SONET/SDH Maintenance Signals

SONET/SDH to PSN
CEP-RDI: Remote Defect Indication
The CEP function MUST send CEP-RDI indication towards the packet network during
loss of packet synchronization by setting the R bit to one in the CEP header.

STM-n/OC-m

CE

PE

PSN Cloud

PE

STM-n/OC-m

CE

Sonet/SDH K2 RDI
PSN-bound
CE-bound

PSN packet

Tx
Rx

RDI

Pkt Lost
PSN packet

R bit = 1
Remote Pkt Loss

The CEP function SHOULD clear the R bit once packet synchronization is restored.

Thank You !

You might also like