Search This Blog

Thursday, November 11, 2010

Frame-Relay Switching Configuration

In the following example I will show how to create basic Frame-Relay (FR from now on…) toplogy.

I will use the following LAB which simulates hub-n-spoke topology, were R1 is the hub and R2-3-4 are spokes:


The object FR is a Cisco 3745 router which I configured in the following manner in order to convert him into a FR switch:

FR(Config)# frame-relay switching

This command enables FR switching on the router

interface Serial0/0

no ip address

encapsulation frame-relay

clock rate 2000000

frame-relay intf-type dce

frame-relay route 102 interface Serial0/1 201

frame-relay route 103 interface Serial0/2 301

frame-relay route 104 interface Serial0/3 401

For the hub interface (s0/0) I have configured encapsulation type which is frame-relay, frame-relay interface type which is DCE and frame-relay route commands which define where to route the traffic that enters the DLCI. For example the first route line define that if traffic is enter in DLCI 102 route it to interface Serial 0/1 DLCI 201.

Next the spoke interface for R2:

interface Serial0/1

no ip address

encapsulation frame-relay

clock rate 2000000

frame-relay intf-type dce

frame-relay route 201 interface Serial0/0 102

Again – encapsulation type (FR) and interface type (DCE) and route statement which route traffic that enters into this interface, to DLCI 201 will be route to interface serial 0/0 DLCI 102.

The same goes for the 2 more interfaces:

interface Serial0/2

no ip address

encapsulation frame-relay

clock rate 2000000

frame-relay intf-type dce

frame-relay route 301 interface Serial0/0 103

!

interface Serial0/3

no ip address

encapsulation frame-relay

clock rate 2000000

frame-relay intf-type dce

frame-relay route 401 interface Serial0/0 104


Type show frame-relay route command on the FR router will shows:

FR#show frame-relay route

Input Intf Input Dlci Output Intf Output Dlci Status

Serial0/0 102 Serial0/1 201 active

Serial0/0 103 Serial0/2 301 active

Serial0/0 104 Serial0/3 401 active

Serial0/1 201 Serial0/0 102 active

Serial0/2 301 Serial0/0 103 active

Serial0/3 401 Serial0/0 104 active


No comments:

Post a Comment