Wednesday, January 23, 2013

Configure a Cisco Router to act like a Frame Relay Switch

First of all, information on this page is copied over from Tekcert website.  Another good link regarding configuring Cisco Router as a Frame Relay switch can be view from this link.
This page will show how to configure a regular Cisco Router to work like a Frame Relay switch.  This router will provide Frame Relay switching to 4 other remote routers.

The following is the diagram of the frame relay topology:

In the following section, I will only include the running config that make the router a frame relay switch:
   !
   interface Serial0/0
    description Link to R1
    no ip address
   encapsulation frame-relay
   serial restart-delay 0
   clock rate 64000
   no frame-relay inverse-arp
   frame-relay lmi-type ansi
   frame-relay intf-type dce
   frame-relay route 102 interface Serial0/1 201

  !
  interface Serial0/1
   description Link to R2
   no ip address
   encapsulation frame-relay
   serial restart-delay 0
   clock rate 64000
   no frame-relay inverse-arp
   frame-relay lmi-type ansi
   frame-relay intf-type dce
   frame-relay route 201 interface Serial0/0 102
   frame-relay route 203 interface Serial0/2 302

  !
  interface Serial0/2
   description Link to R3
   no ip address
   encapsulation frame-relay
   serial restart-delay 0
   clock rate 64000
   no frame-relay inverse-arp
   frame-relay lmi-type ansi
   frame-relay intf-type dce
   frame-relay route 302 interface Serial0/1 203
   frame-relay route 304 interface Serial0/3 403

  !
  interface Serial0/3
   description Link to R4
   no ip address
   encapsulation frame-relay
   serial restart-delay 0
   clock rate 64000
   no frame-relay inverse-arp
   frame-relay lmi-type ansi
   frame-relay intf-type dce
   frame-relay route 403 interface Serial0/2 304
  !


The most important line is the frame-relay route command on each of the serial interface command.
The syntax is listed on this link.  Here is the syntax of frame-relay route command:
"frame-relay route in-dlci interface out-interface-type out-interface-number out-dlci[voice-encap size]"
I would rephrase it as the following:
"frame-relay route source-dlci interface exit-interface-type mod/num destination-dlci"
The following are the frame-relay configuration from the remote routers with the proper DLCI.  Just a reminder, the connection is a point-to-point on frame relay.
Configuration from R1
!
interface Serial0/0
 description Link to Frame Relay Switch
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface Serial0/0.12 point-to-point
 ip address 10.1.1.1 255.255.255.252
 frame-relay interface-dlci 102
!
Configuration from R2
!
interface Serial0/0
 description Link to Frame Relay Switch
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface Serial0/0.12 point-to-point
 ip address 10.1.1.2 255.255.255.252
 frame-relay interface-dlci 201
!
interface Serial0/0.23 point-to-point
 ip address 10.1.1.5 255.255.255.252
 frame-relay interface-dlci 203
!
Configuration from R3
!
interface Serial0/0
 description Link to Frame Relay Switch
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface Serial0/0.23 point-to-point
 ip address 10.1.1.6 255.255.255.252
 frame-relay interface-dlci 302
!
interface Serial0/0.34 point-to-point
 ip address 10.1.1.9 255.255.255.252
 frame-relay interface-dlci 304
!
Configuration from R4
!
interface Serial0/0
 description Link to Frame Relay Switch
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface Serial0/0.34 point-to-point
 ip address 10.1.1.10 255.255.255.252
 frame-relay interface-dlci 403
!


No comments:

Post a Comment