Wednesday 21 September 2011

ISDN

ISDN is a circuit-switched telephone network system, which also provides access to packet switched networks, designed to allow digital transmission of voice and data over ordinary telephone copper wires of the public switched telephone network. The key feature of ISDN is that it integrates speech and data on the same lines, adding features that were not available in the classic telephone system. There are several kinds of access interfaces to ISDN defined as Basic Rate Interface (BRI), Primary Rate Interface (PRI) and Broadband ISDN (B-ISDN).

Basic Rate Interface:

BRI: 2B channel, one D channel(2B+D)
B=64 KBPS, D=16 KBPS
Total bit rate 192 KBPS

The entry level interface to ISDN is the Basic(s) Rate Interface (BRI), a 128 kbit/s service delivered over a pair of standard telephone copper wires. The 144 kbit/s payload rate is broken down into two 64 kbit/s bearer channels ('B' channels) and one 16 kbit/s signaling channel ('D' channel or delta channel). This is sometimes referred to as 2B+D.

The interface specifies the following network interfaces:

• The U interface is a two-wire interface between the exchange and a network terminating unit, which is usually the demarcation point in non-North American networks.
• The T interface is a serial interface between a computing device and a terminal adapter, which is the digital equivalent of a modem.
• The S interface is a four-wire bus that ISDN consumer devices plug into; the S & T reference points are commonly implemented as a single interface labeled 'S/T' on an Network termination 1 (NT1).
• The R interface defines the point between a non-ISDN device and a terminal adapter (TA) which provides translation to and from such a device.

Primary Rate Interface:

PRI: 23 B channels, 1 D channel (23B+D)
B=64 kbps, D=64 KBPS
Total bit rate =2.048 MBPS

The other ISDN access available is the Primary Rate Interface (PRI), which is carried over an E1 (2048 kbit/s) in most parts of the world. An E1 is 30 'B' channels of 64 kbit/s, one 'D' channel of 64 kbit/s and a timing and alarm channel of 64 kbit/s.

In North America PRI service is delivered on one or more T1 carriers (often referred to as 23B+D) of 1544 kbit/s (24 channels). A PRI has 23 'B' channels and 1 'D' channel for signalling (Japan uses a circuit called a J1, which is similar to a T1). Inter-changeably but incorrectly, a PRI is referred to as T1 because it uses the T1 carrier format. A true T1 or commonly called 'Analog T1' to avoid confusion uses 24 channels of 64 kbit/s of in-band signaling. Each channel uses 56 kb for data and voice and 8 kb for signaling and messaging. PRI uses out of band signaling which provides the 23 B channels with clear 64 kb for voice and data and one 64 kb 'D' channel for signaling and messaging. In North America, Non-Facility Associated Signalling allows two or more PRIs to be controlled by a single D channel, and is sometimes called "23B+D + n*24B". D-channel backup allows for a second D channel in case the primary fails. NFAS is commonly used on a T3.

PRI-ISDN is popular throughout the world, especially for connecting PBXs to PSTN.

While the North American PSTN can use PRI or Analog T1 format from PBX to PBX, the POTS or BRI can be delivered to a business or residence. North American PSTN can connect from PBX to PBX via Analog T1, T3, PRI, OC3, etc...

Even though many network professionals use the term "ISDN" to refer to the lower-bandwidth BRI circuit, in North America BRI is relatively uncommon whilst PRI circuits serving PBXs are commonplace.

E-carrier:

In digital telecommunications, where a single physical wire pair can be used to carry many simultaneous voice conversations by time-division multiplexing, worldwide standards have been created and deployed. The European Conference of Postal and Telecommunications Administrations (CEPT) originally standardized the E-carrier system, which revised and improved the earlier American T-carrier technology

In practice, only E1 and E3 versions are used. Physically E1 is transmitted as 32 timeslots and E3 512 timeslots, but one is used for framing and typically one allocated for signalling call setup and tear down. Unlike Internet data services, E-carrier systems permanently allocate capacity for a voice call for its entire duration. This ensures high call quality because the transmission arrives with the same short delay (latency) and capacity at all times.

E1 circuits are very common in most telephone exchanges and are used to connect to medium and large companies, to remote exchanges and in many cases between exchanges. E3 lines are used between exchanges, operators and/or countries, and have a transmission speed of 34.368 Mbit/s.

An E1 link operates over two separate sets of wires, usually twisted pair cable. A nominal 3 Volt peak signal is encoded with pulses using a method that avoids long periods without polarity changes. The line data rate is 2.048 Mbit/s (full duplex, i.e. 2.048 Mbit/s downstream and 2.048 Mbit/s upstream) which is split into 32 timeslots, each being allocated 8 bits in turn. Thus each timeslot sends and receives an 8-bit PCM sample, usually encoded according to A-law algorithm, 8000 times per second (8 x 8000 x 32 = 2,048,000). This is ideal for voice telephone calls where the voice is sampled into an 8 bit number at that data rate and reconstructed at the other end. The timeslots are numbered from 0 to 31.

One timeslot (TS0) is reserved for framing purposes, and alternately transmits a fixed pattern. This allows the receiver to lock onto the start of each frame and match up each channel in turn. The standards allow for a full Cyclic Redundancy Check to be performed across all bits transmitted in each frame, to detect if the circuit is losing bits (information), but this is not always used.

One timeslot (TS16) is often reserved for signalling purposes, to control call setup and teardown according to one of several standard telecommunications protocols. This includes Channel Associated Signaling (CAS) where a set of bits is used to replicate opening and closing the circuit (as if picking up the telephone receiver and pulsing digits on a rotary phone), or using tone signalling which is passed through on the voice circuits themselves. More recent systems used Common Channel Signaling (CCS) such as ISDN or Signalling System 7 (SS7) which send short encoded messages with more information about the call including caller ID, type of transmission required etc. ISDN is often used between the local telephone exchange and business premises, whilst SS7 is almost exclusively used between exchanges and operators. In theory, a single SS7 signaling timeslot can control up to 4096 circuits per signalling channel using a 12-bit Channel Identification Code (CIC)[3], thus allowing slightly more efficient use of the overall transmission bandwidth because additional E1 links would use all 31 voice channels. ANSI uses a larger 14-bit CIC and so can accommodate up to 16,384 circuits. In most environments, multiple signalling channels would be used to provide redundancy in case of faults or outages.

Unlike the earlier T-carrier systems developed in North America, all 8 bits of each sample are available for each call. This allows the E1 systems to be used equally well for circuit switch data calls, without risking the loss of any information.

While the original CEPT standard G.703 specifies several options for the physical transmission, almost exclusively HDB3 format is used.

Definition:

Link An unidirectional channel residing in one timeslot of a E1 or T1 Line, carrying 64 kbit/s (64'000 bit/s) raw digital data.

Line An unidirectional E1 or T1 physical connection.
Trunk A bidirectional E1 or T1 physical connection.

The PDH based on the E0 signal rate is designed so that each higher level can multiplex a set of lower level signals. Framed E1 is designed to carry 30 E0 data channels + 1 signalling channel, all other levels are designed to carry 4 signals from the level below. Because of the necessity for overhead bits, and justification bits to account for rate differences between sections of the network, each subsequent level has a capacity greater than would be expected from simply multiplying the lower level signal rate (so for example E2 is 8.448 Mbit/s and not 8.192 Mbit/s as one might expect when multiplying the E1 rate by 4).

Note, because bit interleaving is used, it is very difficult to demultiplex low level tributaries directly, requiring equipment to individually demultiplex every single level down to the one that is required.

Signal    Rate:


E0         64 kbit/s

E1        2.048 Mbit/s

E2        8.448 Mbit/s

E3        34.368 Mbit/s

E4        139.264 Mbit/s

E5        564.992 Mbit/s

T-carrier:
 
In telecommunications, , sometimes abbreviated as T-CXR, is the generic designator for any of several digitally multiplexed telecommunications carrier systems originally developed by Bell Labs and used in North America, Japan, and South Korea.

The basic unit of the T-carrier system is the DS0, which has a transmission rate of 64 kbit/s, and is commonly used for one voice circuit. Existing frequency-division multiplexing carrier systems worked well for connections between distant cities, but required expensive modulators, demodulators and filters for every voice channel. For connections within metropolitan areas, Bell Labs in the late 1950s sought cheaper terminal equipment. Pulse-code modulation allowed sharing a coder and decoder among several voice trunks, so this method was chosen for the T1 system introduced into local use in 1961. In later decades, the cost of digital electronics declined to the point that an individual codec per voice channel became commonplace, but by then the other advantages of digital transmission had become entrenched.

The most common legacy of this system is the line rate speeds. "T1" now means any data circuit that runs at the original 1.544 Mbit/s line rate. Originally the T1 format carried 24 pulse-code modulated, time-division multiplexed speech signals each encoded in 64 kbit/s streams, leaving 8 kbit/s of framing information which facilitates the synchronization and demultiplexing at the receiver. T2 and T3 circuit channels carry multiple T1 channels multiplexed, resulting in transmission rates of 6.312 and 44.736 Mbit/s, respectively.

Supposedly, the 1.544 Mbit/s rate was chosen because tests done by AT&T Long Lines in Chicago were conducted underground. To accommodate loading coils, cable vault manholes were physically 2000 meter (6,600 ft) apart, and so the optimum bit rate was chosen empirically — the capacity was increased until the failure rate was unacceptable, then reduced to leave a margin. Companding allowed acceptable audio performance with only seven bits per PCM sample in this original T1/D1 system. The later D3 and D4 channel banks had an extended frame format, allowing eight bits per sample, reduced to seven every sixth sample or frame when one bit was "robbed" for signaling the state of the channel. The standard does not allow an all zero sample which would produce a long string of binary zeros and cause the repeaters to lose bit sync. However, when carrying data (Switched 56) there could be long strings of zeroes, so one bit per sample is set to "1" (jam bit 7) leaving 7 bits x 8,000 frames per second for data.

A more detailed understanding of how the rate of 1.544 Mbit/s was derived is as follows. (This explanation glosses over T1 voice communications, and deals mainly with the numbers involved.) Given that the telephone system nominal voiceband (including guardband) is 4,000 Hz, the required digital sampling rate is 8,000 Hz (see Nyquist rate). Since each T1 frame contains 1 byte of voice data for each of the 24 channels, that system needs then 8,000 frames per second to maintain those 24 simultaneous voice channels. Because each frame of a T1 is 193 bits in length (24 channels X 8 bits per channel + 1 framing bit = 193 bits), 8,000 frames per second is multiplied by 193 bits to yield a transfer rate of 1.544 Mbit/s (8,000 X 193 = 1,544,000).

Initially, T1 used Alternate Mark Inversion (AMI) to reduce frequency bandwidth and eliminate the DC component of the signal. Later B8ZS became common practice. For AMI, each mark pulse had the opposite polarity of the previous one and each space was at a level of zero, resulting in a three level signal which however only carried binary data. Similar British 23 channel systems at 1.536 Mbaud in the 1970s were equipped with ternary signal repeaters, in anticipation of using a 3B2T or 4B3T code to increase the number of voice channels in future, but in the 1980s the systems were merely replaced with European standard ones. American T-carriers could only work in AMI or B8ZS mode.

The AMI or B8ZS signal allowed a simple error rate measurement. The D bank in the central office could detect a bit with the wrong polarity, or "bipolarity violation" and sound an alarm. Later systems could count the number of violations and reframes and otherwise measure signal quality and allow a more sophisticated alarm indication signal system.

Data circuit-terminating equipment:

A data circuit-terminating equipment (DCE) is a device that sits between the data terminal equipment (DTE) and a data transmission circuit. It is also called data communications equipment and data carrier equipment. Usually, the DTE device is the terminal (or computer), and the DCE is a modem.

In a data station, the DCE performs functions such as signal conversion, coding, and line clocking and may be a part of the DTE or intermediate equipment. Interfacing equipment may be required to couple the data terminal equipment (DTE) into a transmission circuit or channel and from a transmission circuit or channel into the DTE.

Although the terms are most commonly used with RS-232, several data communications standards define different types of interfaces between a DCE and a DTE. The DCE is a device that communicates with a DTE device in these standards. Standards that use this nomenclature include:

• Federal Standard 1037C, MIL-STD-188
• RS-232
• Certain ITU-T standards in the V series (notably V.24 and V.35)
• Certain ITU-T standards in the X series (notably X.21 and X.25)

A general rule is that DCE devices provide the clock signal (internal clocking) and the DTE device synchronizes on the provided clock (external clocking). D-sub connectors follow another rule for pin assignment. DTE devices usually transmit on pin connector number 2 and receive on pin connector number 3. DCE devices are just the opposite: pin connector number 2 receives and pin connector number 3 transmits the signals.

When two devices, that are both DTE or both DCE, must be connected together without a modem or a similar media translator between them, a kind of crossover cable must be used, i.e. a null modem for RS-232 or as usual for Ethernet.

Data terminal equipment:

Data terminal equipment (DTE) is an end instrument that converts user information into signals or reconverts received signals. These can also be called tail circuits. A DTE device communicates with the data circuit-terminating equipment (DCE). The DTE/DCE classification was introduced by IBM.

Basically, V.35 is a high-speed serial interface designed to support both higher data rates and connectivity between DTEs (data-terminal equipment) or DCEs (data-communication equipment) over digital lines.

Two different types of devices are assumed on each end of the interconnecting cable for a case of simply adding DTE to the topology (e.g. to a hub, DCE), which also brings a less trivial case of interconnection of devices of the same type: DTE-DTE or DCE-DCE. Such cases need crossover cables, such as for the Ethernet or null modem for RS-232.

A DTE is the functional unit of a data station that serves as a data source or a data sink and provides for the data communication control function to be performed in accordance with the link protocol.

The data terminal equipment may be a single piece of equipment or an interconnected subsystem of multiple pieces of equipment that perform all the required functions necessary to permit users to communicate. A user interacts with the DTE (e.g. through a human-machine interface), or the DTE may be the user.

Usually, the DTE device is the terminal (or a computer emulating a terminal), and the DCE is a modem or another carrier-owned device.

A general rule is that DCE devices provide the clock signal (internal clocking) and the DTE device synchronizes on the provided clock (external clocking). D-sub connectors follow another rule for pin assignment.

• 25 pin DTE devices transmit on pin 2 and receive on pin 3.
• 25 pin DCE devices transmit on pin 3 and receive on pin 2.
• 9 pin DTE devices transmit on pin 3 and receive on pin 2.
• 9 pin DCE devices transmit on pin 2 and receive on pin 3.

This term is also generally used in the Telco and Cisco equipment context to designate a network device, such as terminals, personal computers but also routers and bridges, that's unable or configured not to generate clock signals. Hence a PC to PC Ethernet connection can also be called a DTE to DTE communication. This communication is done via an Ethernet crossover cable as opposed to a PC to DCE (hub, switch, or bridge) communication which is done via an Ethernet straight cable.

Clock rate and Bandwidth:

In order to understand clock rate we first need to understand how the cabling works on routers. When connecting two routers together with a serial cable, one of the routers needs to host the DCE (Data Communications Equipment) side of the cable, and the other will host the DTE (Date Terminal Equipment) side. Most serial cables are marked on the connector if it’s the DTE or DCE.

So what’s the difference between the 2 sides? The DCE side of the cable is the side that sets the speed of the link (also known as clocking). Based on this, it’s safe to assume that the cable coming out of your router and going to your service provider is the DTE side, since you service provider sets the speed of the line based on the subscription you have purchased. The DTE side of the cable is where the communications terminate ie: your router terminates the connection from the service provider.

From a configuration point of view the DCE side of the cable is able to use the clock rate command to set the speed of the line. If the command is not used the interface will run at the maximum speed supported by the interface. If you have only subscribed for a 64k line, then the clock rate would have been set on the DCE side of the cable using the command ‘clock rate 64000’ under the interface.

AOIP.ORG# conf t
AOIP.ORG(config)# interface serial 1/0
AOIP.ORG(config-if)# clock rate 64000 (represented in BITS per second)

If you try use the clock rate command on the DTE interface you will receive the following error message “This command applies only to DCE interfaces”

To identify which end of the cable has been plugged into a Cisco router, you can also use the command “show controller”




No comments:

Post a Comment