2013/03/01

Frame-Relay Initial Config


Frame-relay configuration can be tricky for those who are not familiar with.
Below should shows the frame-relay initial config..

before you start, please be noticed that:
1. this config are tested on 'LAB' environment only!
2. Router (config)#frame-relay switching, must be done before configuring interfaces.
3. makes sure all interfaces are in 'shut' mode before you start configuring. After config finished (and you're sure its correct), give 'no shut' command. 

so, here it goes:

FRS#sh run | s interface
mmi polling-interval 60
interface Serial0/0
  no ip address
  encapsulation frame-relay
  serial restart-delay 0
  frame-relay intf-type dce                                            <=== serial cable for backbone-end
  frame-relay route 102 interface Serial 0/1 201     <=== define routing for dlci (in)... via interface ... for dlci (out)...
  frame-relay route 103 interface Serial 0/2 301     <=== define routing for dlci (in)... via interface ... for dlci (out)...
interface Serial0/1
  no ip address
  encapsulation frame-relay
  serial restart-delay 0
  frame-relay intf-type dce
  frame-relay route 201 interface Serial0/0 102
interface Serial0/2
  no ip address
  encapsulation frame-relay
  serial restart-delay 0
  frame-relay intf-type dce
  frame-relay route 301 interface Serial0/0 103
interface Serial0/3
  no ip address
  shutdown
  serial restart-delay 0

HQ#sh run | s interface
mmi polling-interval 60
interface Loopback1
  ip address 10.1.1.1 255.255.255.0
  interface Loopback2
  ip address 10.1.2.1 255.255.255.0
interface Loopback3
  ip address 10.1.3.1 255.255.255.0
interface Serial0/0
  no ip address
  encapsulation frame-relay
  serial restart-delay 0
interface Serial0/0.1 multipoint
  ip address 172.16.124.1 255.255.255.248
  frame-relay map ip 172.16.124.2 102 broadcast     <=== mapping to IP .... using dlci ...., and let everybody know!
  frame-relay map ip 172.16.124.3 103 broadcast
interface Serial0/1
  no ip address
  shutdown
  serial restart-delay 0
interface Serial0/2
  no ip address
  shutdown
  serial restart-delay 0
interface Serial0/3
  no ip address
  shutdown
  serial restart-delay 0

EAST#sh run | s interface
mmi polling-interval 60
interface Loopback1
  ip address 10.2.1.1 255.255.255.0

interface Loopback2
  ip address 10.2.2.1 255.255.255.0
interface Loopback3
  ip address 10.2.3.1 255.255.255.0
interface Serial0/0
  no ip address
  encapsulation frame-relay
  serial restart-delay 0
interface Serial0/0.1 point-to-point
  ip address 172.16.124.2 255.255.255.248
  frame-relay interface-dlci 201                                      <=== this interface is using dlci ... to communicate.
interface Serial0/1
  no ip address
  shutdown
  serial restart-delay 0
interface Serial0/2
  no ip address
  shutdown
  serial restart-delay 0
interface Serial0/3
  no ip address
  shutdown
  serial restart-delay 0

WEST#sh run | s interface
mmi polling-interval 60
interface Loopback1
  ip address 10.3.1.1 255.255.255.0
interface Loopback2
  ip address 10.3.2.1 255.255.255.0
interface Loopback3
  ip address 10.3.3.1 255.255.255.0
interface Serial0/0
  no ip address
  encapsulation frame-relay
  serial restart-delay 0
interface Serial0/0.1 point-to-point
  ip address 172.16.124.3 255.255.255.248
  frame-relay interface-dlci 301
interface Serial0/1
  no ip address
  shutdown
  serial restart-delay 0
interface Serial0/2
  no ip address
  shutdown
  serial restart-delay 0
interface Serial0/3
  no ip address
  shutdown
  serial restart-delay 0



Good Luck!