Frame Relay & ATM

Post on 21-Mar-2016

78 views 2 download

Tags:

description

Frame Relay & ATM. Lecture 7 Paul Flynn. Virtual Circuit Switching. Digital Line Connection Identifier (DLCI). Three Phases. Data Transfer Phase. Setup Phase. Teardown Phase. Virtual circuit wide area network. Frame Relay operates only at the physical and data link layers. - PowerPoint PPT Presentation

Transcript of Frame Relay & ATM

Frame Relay & ATM

1

Lecture 7

Paul Flynn

2

Virtual Circuit SwitchingVirtual Circuit Switching

Digital Line Connection Identifier (DLCI)

Three Phases

Data Transfer Phase

Setup Phase

Teardown Phase

3

Virtual circuit wide area network

Frame Relay does not provide flow or error control; they must be provided by the upper-layer protocols.

Frame Relay operates only at the physical and data link layers.

4

A 'local identifier' between the DTE and the DCE, it identifies the logical connection that is multiplexed into the physical channel.

Value that specifies a PVC in a Frame Relay network.

In the basic Frame Relay specification, DLCIs are 'locally significant'.

In the LMI extended specification, DLCIs are 'globally significant' (DLCIs specify individual end devices).

The FR Switch maps the DLCIs between each pair of routers to create a PVC.

DLCI values are typically assigned by the Frame Relay service provider

DLCI(Data-link Connection Identifier)

5

Frame Relay Interface types

• UNI: User-|Network Interface• NNI: Network-Network Interface

Frame Relaynetwork

Frame Relaynetwork

Frame Relaynetworkuser user

UNI UNINNI NNIPVC segment

Multi-network PVC

666

Frame Relay Functions

7

VCI

8

VCI phases

9

Switch and table

10

Frame RelayLocal addressing

• DLCI (Data Link Connection Identifier) - identification of a virtual circuit• DLCI - of local (for a given port) meaning• there can be max. 976 VCs on an interface user-network

• DLCI values: 0 - LMI channel, 1-15 - reserved, 16-991 - available for VCs, 992-1007 - layer 2 management of FR service, 1008-1022 - reserved, 1023 - in channel layer management

A

B

C

To A: DLCI 121To B: DLCI 243

To A: DLCI 182To C: DLCI 121

111111

Local Significance of DLCIsThe data-link connection identifier (DLCI) is stored in the Address field of every frame transmitted.

12

Frame RelayFrame Relay

Architecture

Frame Relay Layers

FRAD

VOFR

LMI

13

Frame Relay network

VCIs in Frame Relay are called DLCIs.

14

Frame Relay layers

15

Frame Relay frame

16

Frame RelayGlobal addressing

• Extension proposed by “Group of Four”• Each end user access device FRAD is assigned a unique

DLCI number - a global addressTransmission to a given user goes over VC identified by a unique DLCI

• Current DLCI format limits number of devices to less than 1000

• Another addition to the standard - extended DLCI addresses

17

Three address formats

181818

LAPF Frame – Address Field

6-bits

4-bits

19

FRAD

20

Frame RelayFlow and congestion control

• There is no explicit flow control in FR; the network informs a user about congestion

• Congestion: FR frames are discarded from overflowed buffers of switching devices

• Congestion information:– FECN - Forward Explicit Congestion Notification– BECN - Backward Explicit Congestion Notification

• There are recommendations for access devices what to do with FECN and BECN (usually not implemented)

Transmission direction

BECN FECNFRAD

FRAD

212121

Frame Relay Concepts

Queue

222222

Frame Relay Concepts

232323

Frame Relay Concepts

DLCI-identifies logical connections on the Frame Relay switch to which the customer is attached

BECN-tells sending DTE device to reduce the rate of sending data.

FECN-tells receiving DTE device to implement congestion avoidance procedures

FRAMES

BECN FECN

25

Frame RelayParameters of a UNI interface

• Physical speed - just clock rate• Guaranteed bandwidth parameters

– CIR: Committed Information Rate– BC: Committed Burst Size

• Extended bandwidth parameters– EIR: Extended Information Rate– BE: Extended Burst Size

• TC: Measurement IntervalUsertraffic

192kbps

64kbps

EIR

CIR

256kbps

time

26

Frame RelayCIR and EIR - how does it work

• BC = TC * CIR

• BE = TC * EIR

Frame 1 Frame 2 Frame 3 Frame 4 Frame 5Within CIR Within CIR Marked DE Marked DE Discarded

Bits

BC+BE

BC

T0

T0+TC

Time

CIR

CIR + EIR

Clock rate

27

CIR (Committed Information Rate - The rate at which a Frame Relay network agrees to transfer information under normal conditions, averaged over a minimum increment of time. CIR, measured in bits per second, is one of the key negotiated tariff metrics.

Local access rate - The clock speed (port speed) of the connection (local loop) to the Frame Relay cloud. It is the rate at which data travels into or out of the network.

Committed Burst (Bc) - The maximum number of bits that the switch agrees to transfer during any Committed Rate Measurement Interval (Tc).

Excess Burst - The maximum number of uncommitted bits that the Frame Relay switch will attempt to transfer beyond the CIR. Excess Burst is dependent on the service offerings available by your vendor, but is typically limited to the port speed of the local access loop.

Glossary

28

ECN (Forward explicit congestion notification) - When a Frame Relay switch recognizes congestion in the network, it sends an FECN packet to the destination device indicating that congestion has occurred.

BECN (Backward explicit congestion notification) - When a Frame Relay switch recognizes congestion in the network, it sends a BECN packet to the source router instructing the router to reduce the rate at which it is sending packets.

DE (Discard Eligibility indicator) - When the router detects network congestion, the FR switch will drop packets with the DE bit set first. The DE bit is set on the oversubscribed traffic; that is, the traffic that was received after the CIR was met.

More Terms

292929

Data Link Control Identifier

• The 10-bit DLCI associates the frame with its virtual circuit

• It is of local significance only - a frame will not generally be delivered with the same DLCI with which it started

• Some DLCI’s are reserved

30

Frame Relay Local Management Interface - LMI

• LMI - a signaling protocol used on an interface: end user - network (UNI)

• Implementation optional (everybody implements it...)• Usage:

– notification about: creation, deletion, existence of PVCs on a given port– notification about status and availability of PVCs– periodic checks of integrity of physical connection

• Planned extensions:– dynamic (SVC) channel creation and deletion– congestion notification

• Also planned: LMI for network-network interface (NNI)

31

A signalling standard between the CPE device and the FR Switch that is responsible for managing the connection and maintaining "status" between the devices.

Set of enhancements to the basic Frame Relay specification. LMI includes support for:

• 'keepalive mechanism', which verifies that data is flowing; • 'multicast mechanism', which provides the network server

with its local DLCI and the multicast DLCI; • ‘global addressing', which gives DLCIs global rather than

local significance in Frame Relay networks; • 'status mechanism', which provides an on-going status

report on the DLCIs known to the FR Switch.

LMI(Local Management Interface)

32

The main purpose for the LMI process is: (management of the connection) – PVC status - What is the operational status of the various PVCs that the

router knows about? – Transmission of 'keepalive' packets - Insure that the PVC stays up and

does not shut down due to inactivity.

Three types of LMIs are supported: 1. cisco - LMI type defined jointly by Cisco, StrataCom, Northern Telecom,

and DEC (frame relay forum) 2. ansi - Annex D defined by ANSI standard T1.617 3. q933a - ITU-T Q.933 Annex A

LMI encapsulation types: – IETF Encapsulation Type – Cisco Encapsulation Type

LMI

333333

Local Management Interface (LMI)

• Three types of LMIs are supported by Cisco routers:

Cisco — The original LMI extensions

Ansi — Corresponding to the ANSI standard T1.617 Annex D

q933a — Corresponding to the ITU standard Q933 Annex A

Frame Relay Map The term map means to “map” or bind a

Layer 2 address to a Layer 3 address. An ARP table maps MACs to IPs in a LAN In ISDN, we use the dailer-map command to map

SPIDs to IP addresses In Frame Relay, we need to map the data link

layer’s DLCI to the IP address We use the frame-relay map command

Frame Relay Map The Frame Relay switch builds a table of

incoming/outgoing ports and DLCIs. The router builds a Frame Relay Map through Inverse

ARP requests of the switch during the LMI exchange process.

The Frame Relay Map is used by the router for next-hop address resolution.

36

Frame RelayIARP

• FRADs know DLCIs of available PVCs (through LMI), but don’t know IP addresses of other ends

• IP addresses for given DLCIs are obtained automatically; mapping IP-DLCI is generated - dynamic mapping

• IARP can be switched of; static maps have to be generated by FRAD user

373737

Configuring Basic Frame Relay

383838

Configuring a Static Frame Relay Map

393939

Reachability Issues with Routing Updates in NBMA

404040

Reachability Issues with Routing Updates in NBMA

By default, a Frame Relay network provides nonbroadcast multiaccess (NBMA) connectivity between remote sites. An NBMA environment is treated like other multiaccess media environments, where all the routers are on the same subnet.

414141

Frame Relay Subinterfaces

424242

Configuring Point-to-Point Subinterfaces

434343

Verifying Frame Relay

• The show interfaces command displays information regarding the encapsulation and Layer 1 and Layer 2 status. It also displays information about the following:

The LMI type The LMI DLCI The Frame Relay data terminal equipment/data circuit-terminating equipment (DTE/DCE) type

444444

The show interface Command

LMI Type

LMI DLCI

LMI Status

454545

The show frame-relay lmi Command

464646

The show frame-relay pvc Command

474747

The show frame-relay map Command

484848

Troubleshooting Frame Relay The debug frame-relay lmi Command

PVC Status0x2 – Active0x0 – Inactive0x4 – Deleted

49

ATMATM

Design Goals

Problems

Architecture

Switching

Layers

50

Multiplexing using different frame sizes

A cell network uses the cell as the basic unit of data exchange. A cell is defined as a small, fixed-sized

block of information.

51

Multiplexing using cells

52

ATM multiplexing

53

Architecture of an ATM network

54

TP, VPs, and VCs

55

Example of VPs and VCs

Note that a virtual connection is defined by a pair of numbers: the VPI and the VCI.

56

Connection identifiers

57

Virtual connection identifiers in UNIs and NNIs

58

An ATM cell

59

Routing with a switch

60

ATM layers

61

ATM layers in endpoint devices and switches

62

ATM layer

63

ATM headers

64

AAL1

65

AAL2

66

AAL3/4

67

AAL5