Ces
Ces
Table of Contents
An Introduction to Circuit Emulation Services...............................................................................................1
Document ID: 10423................................................................................................................................1
Introduction..........................................................................................................................................................1
Before You Begin................................................................................................................................................1
Conventions............................................................................................................................................1
Prerequisites............................................................................................................................................2
Components Used...................................................................................................................................2
CES Concepts......................................................................................................................................................2
Types of Signaling..................................................................................................................................3
Frame and Cell Processing......................................................................................................................4
Types of CES..........................................................................................................................................4
Clocking in Circuit Emulation................................................................................................................5
Clocking Modes......................................................................................................................................5
Clock Distribution...................................................................................................................................7
Configuring CES..................................................................................................................................................9
Before You Configure.............................................................................................................................9
Sample Configurations............................................................................................................................9
Verifying Configurations.....................................................................................................................................9
Basic Troubleshooting.......................................................................................................................................10
The Circuit is not Coming up or the CPE is in Alarm..........................................................................11
The Circuit is Experiencing Clocking Slips.........................................................................................11
PBX Reporting Framing Errors or Carrier Drops.................................................................................11
Users Hear Static or Clicking on Phone Calls......................................................................................12
You Suspect a Bad Reference Clock....................................................................................................12
There are Clocking Problems in a Network with PA−A2.....................................................................12
Related Information...........................................................................................................................................12
i
An Introduction to Circuit Emulation Services
Document ID: 10423
Introduction
Before You Begin
Conventions
Prerequisites
Components Used
CES Concepts
Types of Signaling
Frame and Cell Processing
Types of CES
Clocking in Circuit Emulation
Clocking Modes
Clock Distribution
Configuring CES
Before You Configure
Sample Configurations
Verifying Configurations
Basic Troubleshooting
The Circuit is not Coming up or the CPE is in Alarm
The Circuit is Experiencing Clocking Slips
PBX Reporting Framing Errors or Carrier Drops
Users Hear Static or Clicking on Phone Calls
You Suspect a Bad Reference Clock
There are Clocking Problems in a Network with PA−A2
Related Information
Introduction
Circuit Emulation Service (CES) allows DS−n and E−n circuits to be transparently extended across an ATM
network using constant bit rate (CBR) ATM permanent virtual circuits (PVCs) or soft PVCs. CES is based on
the ATM Forum standard af−vtoa−0078.0000 . This standard defines the CES Interworking Function
(CES−IWF), which allows communication between non−ATM CBR circuits (such as T1, E1, E3, and T3) and
ATM UNI interfaces. CES is typically implemented on ATM switches, but it can be implemented on ATM
edge devices (such as routers) as well. CES is mostly used for communication between non−ATM telephony
devices (like PBXs, TDM, and channel banks) or video devices (such as CODEC) and ATM devices (such as
the Cisco LS1010 and Catalyst 8540−MSR ATM switch), or via an ATM uplinks (such asd the PA−A2 on the
Cisco 7200 router).
Components Used
This document is not restricted to specific software and hardware versions.
The information presented in this document was created from devices in a specific lab environment. All of the
devices used in this document started with a cleared (default) configuration. If you are working in a live
network, ensure that you understand the potential impact of any command before using it.
CES Concepts
This section introduces some basic CES terminology. Refer to the sub−topics within this section for more
details.
Note: This document focuses more on T1 examples, but you can apply the theory to E1 as well.
CES is typically used to transfer voice or video traffic across an ATM network. Voice and video, unlike data
traffic, is very sensitive to delay and delay variance. CES uses virtual circuits (VCs) of the CBR ATM service
category, which guarantees acceptable delay and delay variation. Therefore, it satisfies both voice and video
traffic requirements. ATM adaptation layer one (AAL1) specified by ITU−T.I.363.1 is used at CES−IWF.
• Extension of a private telephone network across multiple campuses, as illustrated below. For example,
there are two campuses with a private branch exchange (PBX) on each. You can use an ATM network
to connect two the PBXs without having ATM capabilities on the PBX itself. By doing so, voice
traffic between two campuses uses your private ATM backbone instead of leased lines, thereby using
the same ATM network for your voice and data needs.
The ATM Forum defined CES−IWF for many types of Telco circuits (such as DS−1, DS−3, E−1, E−3, J−1
and J−3), but for CES−IWF, the most common types are DS−1 service and E−1 service. In the Enterprise
arena, Cisco provides T−1 and E−1 CES on the 8510−MSR, Catalyst 8540−MSR, and PA−A2 port adapter
for the 7200 series router. Cisco also supports CES on some of its service provider products like the MGX
8220. However, this document concentrates on Enterprise products.
In addition to this basic functionality, CES supports channelized T1 services by splitting T1 into multiple
Nx64k circuits and transmitting those channelized T1 circuits across different ATM VCs with one or multiple
destinations. This allows, for example, a single PBX to communicate with multiple remote PBXs using a
single T1 port on a hub PBX. This type of hub−and−spoke example, known as structured CES, is shown
below.
Types of Signaling
There are two types of signaling associated with T1 and T1 circuit emulation: channel associated signaling
(CAS) and common channel signaling (CCS). CAS is in−band signaling and CCS is out−of−band signaling.
You can typically use CAS to transparently transmit proprietary signaling protocols that use the ABCD bits of
a T1 frame. On Cisco ATM switches configured for CAS, the ABCD bits will not be changed or acted upon,
which provides the extension of proprietary signaling across the ATM network.
Note: You need to use structured CES if you are providing CAS.
You can also use CAS for on−hook detection on Cisco enterprise ATM switches. CAS with on−hook
detection is supported for (56k/64k) DS0 circuits only. CES−IWF mandates that voice be transmitted as CBR
ATM traffic, a method that forces the ATM switch to reserve bandwidth for the voice circuit even when there
is no user traffic (voice) to be sent. So when there is no voice communication, AAL1 cells are still using
bandwidth on the ATM link sending "NULL" data. The solution for minimizing the "NULL" cells on ATM
links is to not send "NULL" cells if there is no voice communication.
• Detect on−hook/off−hook. This requires the ABCD pattern to be configured in a way that indicates
the on−hook signal that the CPE is using. In other words, the CPE dictates how this must be
configured on the 8510−MSR; the CPE and the 8510−MSR must be configured the same.
• Stop sending AAL1 cells when on−hook is detected.
Note: CAS with on−hook detection on the 8510−MSR can be used only if the CPE equipment supports CAS
and can detect on−hook state.
Robbed bit signaling on Cisco Enterprise switches and routers is configured using the ces dsx1 signalmode
robbedbit command. CAS and on−hook detection is configured using the ces circuit command.
CES ports on Cisco Enterprise switches support CAS, which "robs" one bit out of every channel in the sixth
T1 frame in order to transmit signaling messages. CAS is also referred as "robbed bit signaling"; robbed bits
are referred to as AB (in SF) or ABCD (in ESF) bits. CAS can be used for on−hook detection, which allows
for better utilization of network resources at times when there is no user traffic.
CCS uses the entire channel of each basic T1 frame for signaling. An example of CCS is ISDN PRI, where
entire the 64k D channel is used for signaling. CCS is not supported natively on Cisco LightStream and
Catalyst ATM switches; however, the 8510−MSR (or 8540−MSR, LS1010) together with the new Cisco
VSC2700 signaling controller can provide similar function using Simple Gateway Control Protocol (SGCP).
This solution is implemented by 8510−MSR propagating the signaling DS0 channel to the VSC2700 gateway,
which is capable of understanding multiple signaling protocols and signaling back to the 8510−MSR the ATM
address to which the 64k soft PVC needs to be set up. Once an end−to−end circuit is established, the
8510−MSR is responsible for transfer of user traffic. By doing bandwidth−on−demand in such a way, the total
number of required interfaces is reduced and the need for tandem PBX can be eliminated.
CES can be implemented using PVCs or soft PVCs. PVC requires manual configuration on each ATM switch
in the ATM cloud; soft PVC relies on ATM signaling to establish the VC, and VC configuration is required
on only one ATM switch. Another advantage of soft PVC is that the VC can be re−routed in a case of link
failure.
On the other hand, PVCs are more stable because they don't depend on any dynamic components, like ATM
signaling. If an ATM network has ATM switches that do not support ATM signaling, PVCs are the only
option. It is very important to note that clocking is of significant importance to CES. The receiving T1 stream
on a remote CPE must have the same clocking characteristics as the transmitting T1 stream. To ensure this,
the ATM network must not significantly change clock characteristics. To achieve this, you can use one of
several clocking schemes discussed in Clocking in Circuit Emulation.
Types of CES
CES services can be differentiated in two ways: synchronous versus asynchronous, and structured versus
unstructured.
• Synchronous service assumes that synchronized clocks are available on each end. Therefore, no
clocking information is transported in the ATM cell. Propagation of the clock source throughout the
network is required.
• Asynchronous service sends clocking information in ATM cells to the remote end of the circuit.
Clocking information sent in the ATM cell is called Synchronous Residual Time Stamp (SRTS).
The SRTS value is specified using four bits and is sent per eight cells using one bit in the AAL1 header for
every odd sequence numbered cell. The reference clock must still be propogated throughout the network.
• Unstructured service (also called "clear channel") utilizes the entire T1 bandwidth, (meaning there is
one single channel). The ATM switch doesn't look into the T1, but simply reproduces a stream of bits
with clocking from the receiving port to the target port.
• Structured service (also called channelized T1 or cross−connect) is designed to emulate
point−to−point Fractional T1 (Nx64k) connections. This allows the T1 to break into multiple DS−0
channels towards different destinations. More than one circuit (AAL1) entity will share the same
physical T1 interface. To provide this service, AAL1 is capable of delineating repetitive fixed−size
blocks of data (block size is the integral number of octets, where an octet represents a 64k channel).
For a block size larger than one octet, AAL1 uses a pointer mechanism to indicate the start of the structure
block. A convergence sub−layer (CS) indicator (CSI) bit in the AAL1 header set to 1 indicates structured
service, while a CSI bit of 0 indicates unstructured service. So, if CSI = 1, the pointer identifying the
beginning of the structure is inserted in the CSI field of even numbered cells. Using this pointer, the receiving
switch will know how to convert the AAL1 cells into the appropriate fractional T1.
On Cisco Enterprise switches and routers, this type of circuit emulation service is configured using the ces
aal1 service command.
• clocking modes
• clock distribution
Clocking modes define multiple ways to achieve the same clock in the transmitting and receiving ends of a T1
circuit end−to−end. This means that the T1 stream that PBX1 transmits has same the clocking characteristics
as the T1 stream that PBX2 receives, and vice versa.
Some clocking modes (like synchronous and SRTS) rely on a reference clock source that needs to be the same
throughout the network. For those clocking modes, clock distribution of the reference clock source is required.
The following sections discuss various clocking modes and methods of clock distribution. We will also list
advantages and disadvantages of each clocking mode.
Clocking Modes
There are three major clocking modes:
It is of significant importance to remark that accurate clocking distribution can be done with hardware
support. The Phased Lock Loop (PLL) chip used to do this is only present in the ASP−PFQ card on the
LS1010 and RP equipped with network clock modules on the 8540−MSR. Using those modules is highly
recommended when designing ATM networks that use CES. Refer to Clocking Requirements for the
LightStream 1010, Catalyst 8510−MSR and Catalyst 8540−MSR for more information.
Synchronous Clocking
Transmit clock frequency is produced by an external source (also called the primary reference signal [PRS]).
PRS is distributed throughout the ATM network so that all devices can synchronize to the same clock.
Advantages
Disadvantages
Supports both
structured and
unstructured CES
services.
Requires network clock synchronization.
Exhibits superior
wander and jitter
Ties CES interface to the PRS; in case of
characteristics.
PRS failure, the circuit might be degraded
Other
unlessinterfaces
redundant(besides the CBR or ATM
PRS is available.
interface used to derive the network clock
on the ATM switch) might be affected in
case of PRS failure because Cisco ATM
switches use that derived clock as a system
clock for all interfaces in the switch, not
just interfaces involved with CES.
SRTS
SRTS is an asynchronous clocking method. SRTS measures the difference between the service clock
(received on the CBR interface) and the network−wide reference clock. This difference is the Residual Time
Stamp (RTS). The RTS is propagated to the remote end of the circuit in the AAL1 header. The receiving end
reconstructs the clock by adjusting the reference clock by the RTS value. Keep in mind that the reference
clock needs to be propagated throughout the network; in other words, the switch needs to be capable of
distributing the clock.
Advantages
Disadvantages
Conveys an externally−generated user
(such as PBX, MUX, or CODEC)
clocking signal throughout the ATM
network, providing an independent Requires network
clocking signal for each CES circuit. clock
synchronization
Useful in networks that have multiple
Supports
services. only
external clock sources.
unstructured CES
services.
Adaptive Clocking
In adaptive clocking, the source CES IWF simply sends the data to the destination CES IWF. The destination
CES IWF writes data to the segmentation and re−assembly (SAR) buffer and reads it with the local T1 service
clock. The local (interface) service clock is determined from the actual CBR data received.
The level of the SAR buffer controls the local clock frequency by continuously measuring the fill level around
the median position and feeding this measurement to drive the Phase Lock Loop (PLL), which in turn drives
the local clock (transmit clock). So the transmit clock frequency is modified to keep the re−assembly buffer
depth constant. When CES IWF senses that its SAR buffer is filling up, it increases the transmit clock rate.
When CES IWF senses that the SAR buffer is emptying, it decreases the transmit clock rate.
The proper choice of buffer length can prevent buffer overflow and underflow and, at the same time, control
delay (greater buffer size implies greater delay). The buffer length is proportional to the maximum cell delay
variation (CDV), which the user can configure on Cisco ATM switches. The network administrator can
estimate what the maximum CDV should be by summing the CDV of each network device in the circuit path.
The sum of the measured CDVs that each piece of equipment introduces must be smaller than the maximum
CDV configured. If not, underflows and overflows will occur. On Cisco equipment, you can view the actual
CDV with the show ces circuit interface cbr x/y/z 0 command if you are using unstructured service.
Advantages
Disadvantages
Does not require network clock
synchronization. Supports only unstructured
CES.
Exhibits poorest wander
characteristics.
On Cisco Enterprise products, this clocking mode is configured using the ces aal1 clock CBR interface
command.
Clock Distribution
Synchronous and SRTS clocking modes require distribution of the PRS throughout the network. If you use
one of these two clocking modes, you will first have to choose which clock source will serve the role of PRS
and design a network−level clock distribution topology.
Things to consider when deciding on the PRS is clock accuracy and position of PRS in network:
• Clock accuracy is determined by the stratum level. Typically, the service provider will provide better
accuracy clock (stratum1 or 2) than local oscillators on equipment (ATM switches or CPE
equipment). In absence of the service provider clock (which is often the case with video applications),
choose the device with the most accurate local oscillator as the PRS.
• Another thing to consider when deciding on PRS is the position of the devices that will be the PRS in
the network. This is typically the case if you have multiple potential clock sources with the same level
of accuracy, or if you have a very large ATM network. You need to choose the position of the PRS so
that it minimizes the number of network devices that the clock needs to traverse from the PRS to the
edge devices because the clock gets degraded as it traverses network nodes.
Oscillators on the 8510−MSR and the PA−A2 on the Cisco 7200 can provide stratum 4 clock. The Catalyst
8540−MSR with the optional network clock module can provide stratum 3 clock source. Without the optional
network clock module, the Catalyst 8540−MSR provides stratum 4 clock. If the Catalyst 8540−MSR is
equipped with the optional network clock module, the T1/E1 Building Integrated Timing Supply (BITS) port
can also be used as a clock source.
Once you decide how the clock distribution tree will look for the entire network, you need to implement it on
each device, including Cisco ATM switches (that is, internal clock distribution within the ATM switch needs
to be configured). Internal clock distribution on Cisco Enterprise ATM switches and routers can be configured
using these two commands: ces dsx1 clock source and network−clock−select.
Use the network−clock−select command to specify which clock source (interface or internal oscillator) to use
as the system clock on the ATM switch. On Cisco products supporting CES, you can specify multiple network
clock sources and their priority for redundancy purposes. If nothing is configured, the 8510−MSR and
Catalyst 8540−MSR use the local oscillator on the ATM switch processor (ASP) or route processor (RP) as
the system clock by default. All interfaces that are configured to use network−derived clock use the clock
source specified in the network−clock−select statement as a transmit clock on that interface. All ATM and
CBR interfaces on the 8510−MSR and Catalyst 8540−MSR are configured to be network−derived by default.
So too are the ATM and CBR interfaces on the PA−A2 port adapter. The ces dsx1 clock source statement
specifies for each individual interface which clock source to use as a transmit clock on that interface. The
following options are available:
Configuring CES
Before You Configure
Before implementing and configuring CES, you should make the following decisions based on the
information discussed in this document so far:
Sample Configurations
Here are some examples of configurations with
Verifying Configurations
You can use the show commands explained below to verify the configuration. The output from these show
commands from all involved devices is also helpful to Cisco Technical Assistance Center (TAC) engineers if
you have to open a case.
Command
Description
show version Displays the current version of Cisco IOS.
You'll need to know the IOS version when
• logging buffered
• service timestamps log date msec
• service timestamps debug date
msec
Basic Troubleshooting
Some of the most common problems encountered with CES are listed below, along with troubleshooting tips.
As AAL1 cells are received on an ATM interface, they are stored in the SAR buffer, which resides on the
CES PAM. Then, the framer will take the AAL1 data from that buffer, strip all the headers out, form a T1
frame, and transmit it on the CBR interface. The size of this buffer is implementation−dependant and is
chosen to accommodate specific end−to−end maximum CDV while avoiding excessive delay. If there is a
slight clocking difference between the device doing segmentation (conversion from T1 frames to ATM cells)
and the device doing re−assembly (conversion from ATM cells to T1 frames), the SAR buffer will get either
underflows or overflows.
• Overflows: The segmentation side is faster than the re−assembly side, resulting in dropped frames.
• Underflows: The segmentation side is slower than the re−assembly side, resulting in repeated frames.
Use the no atm clock internal command to set the transmit clock to the line. This configuration is equivalent
to a loop−timed transmit clock source, in which the transmit clock source is derived from the clock source
received on the same interface.
Related Information
• ATM Support Pages
• Technical Support − Cisco Systems
All contents are Copyright © 1992−2005 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.