Beruflich Dokumente
Kultur Dokumente
1 2
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
The techniques toward the left end of the line provide It is the traditional technique used for telephone networks
transmission with little or no variability, minimal and is the basic technology for narrowband ISDN (N-ISDN)
processing demand on attached stations for voice service
Techniques toward the right end of the line provide Establishment of a fixed-capacity circuit for the complete
duration of a connection
increased flexibility to handle varying bit rates and
different data rate requirements or multiple users at an
unpredictable traffic at expense of increasing processing
endpoint → multiplex a number of circuits in a fix,
complexity synchronous time-division multiplexing structure
Disadvantages in the use of the synchronous approaches for
B-ISDN
not flexible interface
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Multirate Circuit Switching Packet Switching against Circuit Switching
5 6
It is an enhancement of the traditional synchronous TDM Circuit switching is efficient for voice connections
approach the circuit can enjoy a high percentage of utilization (most of
It provides more flexibility the time one of the two parties is talking)
the transmission technique is based on pure circuit When used for data connections, two shortcomings became
switching
apparent
constructs connections consisting of multiple synchronized
much of the time the line is idle
circuits (i.e. multiple of 64 Kbps)
the connection provides for transmission at constant data
increased switching and access complexity
rate: each of the connected devices must transmit and
it supports a variety of applications that require different receive at the same rate
sustained data rates
• this limits the utility of the network in interconnecting a
it does not efficiently support bursty traffic variety of host computers and terminals
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Traditional packet switching is based on X.25, is Packet switching was developed at a time when digital
limited in two areas long-distance facilities exhibited a relatively high error
considerable overhead in the protocol rate
• it is difficult to implement X.25-based networks to there is a considerable amount of overhead built into packet-
support applications that require high data rates switching schemes to compensate for errors
variable delay in delivery packets With modern systems, this overhead is
• X.25 is not suitable for real-time applications such as unnecessary
voice services or video streaming • the rate of errors has been dramatically lowered
counterproductive
In fact, the X.25 protocol was developed when the • the overhead soaks up a significant fraction of the capacity
transmission facilities were characterized by a very provided by the network
high bit error rates
it was defined during 70’ and 80’
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Frame Relay Cell relay: General Description
9 10
Frame Relay was developed to take advantage of the Known as Asynchronous Transfer Mode (ATM)
high data rates and low error rates of modern Can be seen as an evolution of Frame Relay
networking facilities
both Frame Relay and ATM take advantage of reliability of
Frame Relay networks are designed to operate at user modern digital facilities to provide faster packet switching
data rates of up to 2Mbps than X.25
packet switching networks were designed with a data It allows multiple logical connections to be multiplexed
rate to the end user of about 64kbps over a single physical interface
the greatest pressure to speed up the network came from
There is no link-by-link error control or flow control
LAN users that wished to extend LAN traffic to distant
destinations Provides minimum overhead for error control
The key for achieving this high data rates is to strip out
most of the overhead involved in error control
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Cell Relay and Frame Relay Frame Relay: Services and Protocols
11 12
Frame Relay uses variable length packets (Frames) CCITT (now ITU.T) recommendations for Frame Relay
233: ISDN Frame Relay Mode Bearer Service (1991)
Cell Relay uses fixed length packets (Cells)
370: Congestion Management for the Frame Relay Bearer
by using a fixed packet length, the processing overhead is Service (1991)
further reduced compared to Frame Relay In the United States, ANSI has published three standards,
Cell Relay is designed to work in the range (100÷1000 relative to Frame Relay:
Mbps), compared to the 2Mbps of Frame Relay ANSI T1.606: Architectural Framework and Service Description
Cell Relay allows for the definition of virtual channels with
for Frame-Relaying Bearer Service (1990)
Draft ANSI T1.617: Signaling Specification for Frame Relay
data rates that are dynamically defined at the time that the Bearer Service (1991)
virtual channel is created ANSI T1.618: Core Aspects of Frame Protocol for Use with
Frame Relay Bearer Service (1991)
Frame Relay Forum
consists of manufacturers of frame relay equipment
e.g.: Cisco, DEC, Northern Telecom, and StrataCom
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Frame Relay: Motivations Frame Relay: Motivations
13 14
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Frame Relay: Motivations Frame Relay: Disadvantages
17 18
Intermediate
Impossibility to perform link-by-link flow and error
node control
6 this is easily provided at higher layer
2
increasing reliability of transmission and switching
facilities
7 3
in X.25 LAPB provides reliable transmission from the
1 8 5 4 source to the packet-switching network and from it to the
destination
Source Destination in X.25 at each hop the link control protocol can be used
for reliability
Frame Relay Network: a single user data frame is sent from
source to destination and an acknowledgment generated at higher
layer is carried back in a frame
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Frame Relay: Advantages DTE and DCE in the Frame Relay WAN
19 20
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Frame relay: Architecture Frame Relay Architecture
21 22
USER NETWORK
S/T
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Frame Relay Virtual Circuits Frame Relay Virtual Circuits
29 30
It provides connection oriented data link layer
PVC (permanent virtual circuits)
communication
permanently established connections
SVC (switched virtual connection):
it does not require call setup and termination
temporary connections for sporadic data transfer
PVCs always operate in one of the following states
a session consists of
• Call setup data transfer
• Data transfer idle
• Idle
• Call termination
few manufacturers of FR DCE equipment supported
SVC in the past
• now widely supported because companies have found
SVCs save money
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Y N
Valid frame?
Flag Address Information FCS Flag
Octet
Discard
N 1 2-4 Variable 2 1
Known DLCI?
Frame format of frame-relay
Y
Discard
The format is similar to that of LAPD and LAPB
Layer 2 The main difference is that there is no control field
Layer 3
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
User Data Transfer User Data Transfer
33 34
The lack of a control field implies The flag and frame check sequence (FCS) fields
function as in (HDLC)
there is only one frame type, used for carrying user
data Also the flag field (01111110)
• there are not control frames The information field carries higher-layer data
it is not possible to use in-band signaling a data link frame can be carried in this field, if the user
selects to implement additional end-to-end DLC functions
• a logical connection can only carry user data
The address field carries a (DLCI - Data Link
it is not possible to perform flow and error control Connection Identifier), which functions as the Virtual
• there are no sequence numbers Circuit Number in X.25
it has a default length of 2 octets and can be extended to
3 or 4 octets
it allows for multiple logical frame-relay connections to be
multiplexed over a single channel
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
2 octets address field is usually adopted and the DLCI values Frame Relay frames can be multiplexed with LAPD
are limited to the range 480-1007 frames on the channel
the two types of frames are distinguished on the basis of
bits 8 to 3 in the first octet of the address field
8 7 6 5 4 3 2 1
The length of the address field and hence of the DLCI
C/R=Command/Response
DLCI C/R EA EA=Address field extension
is determined by the address field extension EA bits
(high order) 0/1 0 DE=Discard eligibility indicator The C/R bit is application-specific and is not used by
DLCI BECN=Backward explicit congestion the standard frame relay protocol
EA
FECN BECN DE notification
(low order) 1
FECN=Forward explicit congestion
Address field 2 octets notification
(default) DLCI=Data Link connection
identifier
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
User Data Transfer Frame Relay: Network Functions
37 38
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Multiplexing at the Frame Relay Sub-layer Frame Relay: Congestion Control
41 42
...
DLCI 0 Mild congestion: the queuing delays at the nodes result in
layers layers layers increased end-to-end delay and reduced capability to
Mgt
provide the desired throughput
I.451 procs L
a Severe congestion: the classic queuing response results in
y dramatic growth of delays and in collapse in throughput
Q.922 DLC-k DLC-m DLC-n Q.922 e
r
Frame Relay Sublayer 2
Physical Layer
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
throughput collapse
Network
A B
Objectives of frame-relay congestion control (I.370)
1. minimize frame discard
Offered load 2. maintain agreed-upon quality of service, with high probability
and minimum variance
B 3. minimize the possibility that one user can monopolize network
resources at expense of other end users
Delay
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Objectives of Congestion Control Frame Relay: Congestion Control
45 46
5.create minimal additional network traffic The challenge of congestion control is particularly acute
6. distribute network resources fairly among end users for a frame relay network
7. limit spread of congestion to other networks and elements limited tools available to the frame handlers
within the network frame relay protocol has been streamlined in order to
maximize throughput and efficiency
8. operate effectively regardless of the traffic flow in either
direction between end users frame handlers cannot control the flow of frames coming
from a subscriber or an adjacent frame handler using the
9. have minimum interaction or impact on other systems in the typical sliding window flow control protocol such as is found
frame-relaying network in LAPD
10. minimize the variance in QoS delivered to individual frame Congestion control is joint responsibility of the network
relay connections during congestion and the end user
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Congestion Avoidance Congestion Avoidance: BECN and FECN
49 50
Two bits of the address field of each frame are Backward Explicit Congestion Notification (BECN)
provided for explicit signaling: BECN and FECN it notifies the user that congestion avoidance
procedures should be initiated where applicable for
either bits may be set by any frame handler that detects traffic in the opposite direction of the received frame
congestion indicates that the frames that the user transmits on this
• if a frame handler receives a frame in which one or both of logical connection may encounter congested resources
these bits are set it must not clear the bits before Forward Explicit Congestion Notification (FECN)
forwarding the frame
it notifies the user that congestion avoidance
the bits constitute signals from the network to the end procedures should be initiated where applicable for
user traffic in the same direction as the received frame
indicates that this frame has encountered congestion
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
For each frame handler, it is necessary to monitor its The frame handler must monitor queue lengths
queue behavior a cycle begins when the outgoing circuit goes from idle
if queue lengths begin to grow to a dangerous level, FECN or (queue empty) to busy (non-zero queue size, including
BECN or both should be set to try to reduce the flow of the current frame)
frames through that frame handler the average queue size over the previous and the current
cycle is calculated
the frame handler has some choice as to which logical
if the average size exceeds a threshold value, the circuit
connection should be alerted to congestion
is in a state of incipient congestion
if the congestion become serious all logical connections
• by averaging two cycles the system avoids reacting to
through a frame handler might be notified temporary surges that would not necessary produce
congestion
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Congestion Avoidance: user response Congestion Recovery
53 54
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
The DE field can be used to assure that heavy users The frame handler to which the user’s station attaches
can get the throughput they need without penalizing performs a metering function
lighter users if the user is sending data at less than the CIR, the DE bit is
each user negotiates a CIR (in bits per second) at not altered
connection set-up time if the rate exceeds the CIR, the frame handler sets the DE
• the requested CIR represents the user’s estimate of its bit on the excess frames and then forward them
normal traffic during a busy period • such frames may get to through or may discarded if
• the granted CIR (which can be lower than the requested congestion is encountered
CIR) is the network commitment to deliver data at that rate a maximum rate is defined, such that any frames above are
in the absence of errors discarded at the entry frame handler
a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay a.a. 2004-05 Architetture per le reti di telecomunicazioni Frame Relay
Operation of the CIR
57
Maximum
CIR Transmit if allowed rate
possible
Guaranteed Discard
transmission all excess