Professional Documents
Culture Documents
Frame Relay Frame Relay
Frame Relay Frame Relay
12
3
6
13
16
Source
15
11
9
Destination
2
10
82
Source
Destination
3
Frame Relay
Control Signalling carried on separate logical
connection from user data
Multiplexing and switching of logical
connections take place at layer 2 not layer 3
No hop-by-hop flow control or error control
Protocol functionality at user-network interface
is reduced
Large increase in throughput over X.25
Control Plane
User Plane
User Plane
Q.931/Q.933
Control Plane
Q.931/Q.933
User-selectable
TE functions
User-selectable
TE functions
LAPD (Q.921)
LAPD (Q.921)
LAPF core
(Q.922)
PhysicalI.430/I.431
LAPF core
(Q.922)
I.430/I.431Physical
X.25
Implemented
by end system
and network
Implemented
by end system
not network
LAPF control
LAPB
LAPF core
I.430/I431
Implemented
by end system
and network
I.430/I431
Switched Access
User on switched network where exchange does not
have frame handling capability
Exchange provides switched access (demand or semipermanent) to remote frame handler
Integrated Access
User connected to pure frame relay network or
switched network with integrated frame handling in
local exchange
User has direct logical access to frame handler
10
User Access
Switched access connection
TE
NT
ET
ET
FH
Switched access
TE
NT
ET
Integrated access
FH
Local exchange
11
13
14
Frame Relay
Network
ISDN
Connect
Connect
ack
Setup
Setup
Connect
Connect
ack
Setup
Connect
Connect ack
NT
Connect
Connect
ack
15
Message exchange for switched access to frame handler over ISDN
Frame Relay
NT
Network
Disconnect
ISDN
Disconnect
B-channel Q.933
exchange to release
B-channel framemode connection
D-channel Q.931
exchange to release
B-channel circuit switched connection
Release
Release
complete
Disconnect
Release
Release
complete
Release
Release
complete
Disconnect
Release
Release
complete
16
Message exchange for terminating switched access to frame handler
Information
variable length
FCS
2 octets
Flag
1 octet
Frame Format
Upper DLCI
Lower DLCI
FECN
BECN
C/R
EA 0
DE
EA 1
18
Congestion Control
No in-channel control signalling means no
sliding window flow control
Congestion control is the joint
responsibility of the network and the enduser
Network monitors congestion
User controls congestion by limiting flow
of traffic at origin
Network discards packets as a last resort
20
Congestion
avoidance
Congestion
avoidance
Congestion
recovery
Technique
Function
Provides guidance
to network about
Discard Control
which frames
to discard
Provides guidance
Backward explicit
to end-systems
congestion
about congestion
notification
in network
Provides guidance
Forward explicit
to end-systems
congestion
about congestion
notification
in network
implicit
congestion
notification
Key elements
DE bit
BECN bit
FECN bit
21
Discard Strategy
Discard Strategy
Frame handler monitors traffic on a logical
connection
If data rate exceeds Bc in time interval T it
will set DE bit and forward packet
If data rate exceeds Bc+ Be in time interval
T it will discard data
23
Discard Strategy
Bits
Transmitted
Discard Region
Bc+Be
DE = 1 Region
Bc
Access Rate
CIR
D = 0 Region
Frame 1
DE=0
Frame 2
DE=0
Time
Frame 3
DE=0 T
24
Discard Strategy
Bits
Transmitted
Discard Region
Bc+Be
DE = 1 Region
Bc
Access Rate
CIR
D = 0 Region
Frame 1
DE=0
Frame 2
DE=1
Time
Frame 3
DE=1
25
Discard Strategy
Bits
Transmitted
Discard Region
Bc+Be
DE = 1 Region
Bc
Access Rate
CIR
D = 0 Region
Frame 1
DE=0
Frame 2
DE=1
Time
Frame 3
Discard T
26
Congestion Avoidance
Network alerts end-systems to growing
congestion
End-systems reduce offered load to network
Two methods exist in frame relay
27
Congestion Avoidance
Two bits, FECN and BECN exist in each
frame address field
Any frame handler that detects may set
either bit
Any frame handler receiving a frame with a
bit set must forward the frame with the bit
set
The bits therefore are signals to the end-user
28
Congestion Avoidance
The frame handler monitors outgoing queue
lengths
Determines average queue length
If average exceed a threshold, then FECN
bit or BECN bit or both is set
They may be set for certain logical
connections or all depending on queue sizes
29
Congestion Avoidance
On receipt of BECN signal, user reduces
rate of frame transmission
On receipt of FECN signal, user notifies
peer user to reduce rate of frame
transmission
30
Congestion Recovery
When higher-level end-end protocol
detects frame loss it assumes congestion
This is called implicit signalling
Flow control may be used to recover
Gradual reduction of window size and
gradual increase as frame loss disappears
31