DmSwitch - App Notes CESoP PWE3 Rev1.0 PT
DmSwitch - App Notes CESoP PWE3 Rev1.0 PT
DmSwitch - App Notes CESoP PWE3 Rev1.0 PT
Configuration Guide
Example of how to configure the CESoP feature
Resume
2
1. Introduction to the Circuit Emulation Service over Packets (CESoP)
The Circuit Emulation Service over Packets (CESoP) is a technology that allows for the transmission of
services that use Time Division Multiplexing (TDM) via asynchronous networks, such as the packet switching
networks.
With the evolution from core networks to packet switching networks, such as Metro Ethernet and MPLS, the
use of CESoP is more and more usual to keep compatibility with the wide base of installed equipment using TDM. A
link with CESoP is consists of three elements: TDM, Bundle, and PW, which are presented below.
1.1 TDM
TDM, or Time Division Multiplexing, uses the concept of time space allocation, called timeslots, for the
signals previously sampled. The TDM-PCM, or Pulse Code Modulation is the method used to represent digitally the
analog signals sampled. The T1 system is a TDM with 24 voice channels using 7-bit PCM. The E1 system is a TDM
with 30x voice channels and 2x channels for synchronism and signaling. Thus, an E1 mode TDM frame contains 32x
8-bit timeslots. The synchronism information in E1 mode TDM is present in the first timeslot of the frame (TS 0).
In the line channel associated signaling (CAS) two timeslots are employed: the first timeslot (TS 0) for the
frame synchronism information, and the 16th timeslot (TS 16) for signaling. The loss of frame synchronism is
identified after receiving incorrect synchronism words. This triggers the re-synchronization process and activates the
alarm of synchronism loss.
In the TDM interface of the equipment, configure the PCM that corresponds to the type of frame (with/without
synchronism) and the number of timeslots, besides the CAS signaling, if necessary.
1.2 Bundle
The bundle refers to the Ethernet network, which has the purpose of transmitting data over the IP/Ethernet
network. The bundle represents a TDM interface mapping that will be transmitted between two pieces of equipment
connected by Pseudo-Wire.
1.3 Pseudo-Wire
The Pseudo-Wire (PW) allows legacy services, such as TDM, to be transported by a virtual end-to-end
connection through one single circuit in IP/Ethernet networks to its destination. The basic idea is to use a third layer
in the network, over which an operator needs to transport legacy services, yet including the layer 2 of network
services
3
2. Example Topology
For the example in this document we are going to use the topology present in Figure 1. In this diagram, two
EDDs and a DM4001 equipped with a PWE3 card are connected via a Carrier Ethernet Network.
DM4001 + ETH10x1GX+32E1
TDM
G704
1/1
EVC 1 PE-1
Carrier Ethernet
Network EVC 2
PE-2
PE-3
1/1
EDD A
1/1
EDD B
E1 1/5
1/5
E1
PBX CPE
PBX CPE
The purpose of this document is to demonstrate how to configure one bundle between DM4001 and EDD A
and another bundle between DM4001 and EDD B by different VLANs. The configuration of the PEs is not the goal of
this document; therefore, it will not be demonstrated
3. Configuration Commands
DM4001 PWE3:
!
hostname DM4001_PWE3
!
EDD A:
!
hostname EDD_A
!
4
EDD B:
!
hostname EDD_B
!
DM4001 PWE3:
!
interface g704 1/1
line-type pcm30-cas
no shutdown
!
interface g704 1/2
line-type unframed
no shutdown
!
EDD A:
!
interface tdm 1/1
line-type pcm30-cas
no shutdown
!
EDD B:
!
interface tdm 1/1
line-type unframed
no shutdown
!
DM4001 PWE3:
!
interface vlan 101
name VLAN_BUNDLE_Customer_#1
set-member tagged ethernet 1/1
!
interface vlan 102
name VLAN_BUNDLE_Customer_#2
set-member tagged ethernet 1/1
5
!
EDD A:
!
interface vlan 101
name VLAN_BUNDLE_Customer_#1
set-member tagged ethernet 1/1
!
EDD B:
!
interface vlan 102
name VLAN_BUNDLE_Customer_#2
set-member tagged ethernet 1/1
!
DM4001 PWE3:
!
interface pw 1/1
source-ip-address 1.1.1.1
!
EDD A:
!
interface pw 1/1
source-ip-address 2.2.2.2
vlan 101 priority 7
!
EDD B:
!
interface pw 1/1
source-ip-address 2.2.2.2
vlan 102 priority 7
!
DM4001 PWE3:
!
interface bundle 1/1
6
circuit-name BNDL_Customer_#1
destination-bundle 1
destination-ip-address 2.2.2.2
packet-delay 2.000
tdm-channel 1
timeslots 1 30
vlan 101 priority 7
no shutdown
!
interface bundle 1/2
circuit-name BNDL_Customer_#2
destination-bundle 1
destination-ip-address 2.2.2.2
tdm-channel 2
timeslots 0 32
vlan 102 priority 7
no shutdown
!
EDD A:
!
interface bundle 1/1
circuit-name BNDL_Customer_#1
destination-bundle 1
destination-ip-address 1.1.1.1
packet-delay 2.000
tdm-channel 1
timeslots 1 30
no shutdown
!
EDD B:
!
interface bundle 1/1
circuit-name BNDL_Customer_#2
destination-bundle 2
destination-ip-address 1.1.1.1
tdm-channel 1
timeslots 0 32
no shutdown
!
DM4001 PWE3:
!
sync-source unit 1 external-clock-mode 2Mbps
sync-source unit 1 hierarchy 1 transmit-clock-source external
sync-source unit 1 hierarchy 2 transmit-clock-source g704 1
7
sync-source unit 1 hierarchy 3 transmit-clock-source g704 2
sync-source unit 1 hierarchy range 1 3 enable
!
EDD A:
!
sync-source hierarchy 1 transmit-clock-source adaptive bundle 1
sync-source hierarchy 1 enable
!
EDD B:
!
sync-source hierarchy 1 transmit-clock-source adaptive bundle 1
sync-source hierarchy 1 enable
!
8
4. APPENDIX – Complete Configurations
Some commands are not seen because they are default configurations
DM4001 PWE3:
!
hostname DM4001_PWE3
!
interface vlan 101
name VLAN_BUNDLE_Customer_#1
set-member tagged ethernet 1/1
!
interface vlan 102
name VLAN_BUNDLE_Customer_#2
set-member tagged ethernet 1/1
!
interface pw 1/1
source-ip-address 1.1.1.1
!
interface g704 1/1
line-type pcm30-cas
no shutdown
!
interface g704 1/2
no shutdown
!
interface bundle 1/1
circuit-name BNDL_Customer_#1
destination-ip-address 2.2.2.2
packet-delay 2.000
timeslots 1 30
vlan 101 priority 7
no shutdown
!
interface bundle 1/2
circuit-name BNDL_Customer_#2
destination-bundle 1
destination-ip-address 2.2.2.2
tdm-channel 2
timeslots 0 32
vlan 102 priority 7
no shutdown
!
sync-source unit 1 external-clock-mode 2Mbps
sync-source unit 1 hierarchy 1 transmit-clock-source external
sync-source unit 1 hierarchy 2 transmit-clock-source g704 1
sync-source unit 1 hierarchy 3 transmit-clock-source g704 2
sync-source unit 1 hierarchy range 1 3 enable
!
9
EDD A:
!
hostname EDD_A
!
interface vlan 101
name VLAN_BUNDLE_Customer_#1
set-member tagged ethernet 1/1
!
interface pw 1/1
source-ip-address 2.2.2.2
vlan 101 priority 7
!
interface tdm 1/1
line-type pcm30-cas
no shutdown
!
interface bundle 1/1
circuit-name BNDL_Customer_#1
destination-ip-address 1.1.1.1
packet-delay 2.000
timeslots 1 30
no shutdown
!
sync-source hierarchy 1 transmit-clock-source adaptive bundle 1
sync-source hierarchy 1 enable
!
EDD B:
!
hostname EDD_B
!
interface vlan 102
name VLAN_BUNDLE_Customer_#2
set-member tagged ethernet 1/1
!
interface pw 1/1
source-ip-address 2.2.2.2
vlan 102 priority 7
!
interface tdm 1/1
no shutdown
!
interface bundle 1/1
circuit-name BNDL_Customer_#2
destination-bundle 2
destination-ip-address 1.1.1.1
no shutdown
!
sync-source hierarchy 1 transmit-clock-source adaptive bundle 1
sync-source hierarchy 1 enable
!
10