Wednesday, September 26, 2012

How to configure a Route as Frame Relay Switch



Here I am going to configure about how a router act as frame relay switch. One important thing is that Frame-Relay switch must be configured as DCE. (The Frame-Relay switch must be DCE. In GNS3 on both sites serial interface is DCE, whatever that need to configure clock rate. Clock rate depend on cable type you have. Check out about DCE or DTE by typing ##show controller interface s0/1 command)
Topology of network:

Frame-Relay Network Topology:

Step 1: Turn on Frame-Relay PVC switching capable feature on this route.

FrameRelay(config)#frame-relay switching >> Global Config mode

Step 2: Configure Serial interface to provide Frame-Relay switching
FrameRelay(config)#interface serial 0/0
FrameRelay(config-if)#encapsulation frame-relay
FrameRelay(config-if)#clock rate 64000  >> For DCE
FrameRelay(config-if)#frame-relay intf-type dce  >> Configure a FR DCE
FrameRelay(config-if)#no frame-relay inverse-arp >> to disable inverse-arp

Step 3: Now configure Frame-Relay router, it’s configure under the interface.
FrameRelay(config)#interface serial 0/0 >> under this interface
FrameRelay(config-if)#frame-relay route 102 interface serial 0/1 201
FrameRelay(config-if)#frame-relay route 103 interface serial 0/2 301

What the command does? # frame-relay route 103(the incoming DLCI into s0/0) interface serial 0/1(Outgoing interface toward destination DLCI) 301(Destination DLCI)

If we put the “FrameRelay(config-if)#frame-relay intf-type dce command without having “FrameRelay(config)#frame-relay switching” command than we get this message:

Note: From above example configure all interfaces as your requirement.

Step 4: Configure Frame-Relay client router as point-to-point or multipoint
Frame-Relay Point-to-Point example:
HQ(config)#interface serial 0/0
HQ(config-if)#encapsulation frame-relay
HQ(config-if)#exit
HQ(config-if)#no shutdown >> apply after all configuration

Configure Sub Interface -
HQ(config)#interface serial 0/0.102 point-to-point
HQ(config-subif)#ip address 192.168.1.1 255.255.255.252
HQ(config-subif)#frame-relay interface-dlci 102 >>
HQ(config-subif)#exit

HQ(config)#interface serial 0/0.103 point-to-point
HQ(config-subif)#ip address 192.168.2.1 255.255.255.252
HQ(config-subif)#frame-relay interface-dlci 103 >>
HQ(config-subif)#exit

HQ(config-subif)#frame-relay interface-dlci 103 What the command does? If any time you (Traffic) use this sub interface, make sure that you use this (102 (Local DLCI)) DLCI to go out. No map necessary, no broadcast keyword as like multipoint configuration.

Note: Like same configuration to all routers who act as frame-relay client.

Frame Relay Show or Troubleshoot command:
Frame-Relay Switch (Router):
FrameRelay#show frame-relay pvc
FrameRelay#show frame-relay route  >> to show the Frame-Relay route
FrameRelay#show frame-relay lmi

Frame-Relay Client (Router):
HQ#show frame-relay map
HQ#show frame-relay lmi
HQ#show frame-relay pvc

Ping test:



Show Running Configuration of topology routers:
FrameRelay (Router):
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clockrate 64000
 no dce-terminal-timing-enable
 no frame-relay inverse-arp
 frame-relay intf-type dce
 frame-relay route 102 interface Serial0/1 201
 frame-relay route 103 interface Serial0/2 301
!
interface Serial0/1
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clockrate 64000
 no dce-terminal-timing-enable
 no frame-relay inverse-arp
 frame-relay intf-type dce
 frame-relay route 104 interface Serial0/2 401
 frame-relay route 201 interface Serial0/0 102
!
interface Serial0/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clockrate 64000
 no dce-terminal-timing-enable
 no frame-relay inverse-arp
 frame-relay intf-type dce
 frame-relay route 301 interface Serial0/0 103
 frame-relay route 401 interface Serial0/1 104
!
HQ (Router):
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/0.102 point-to-point
 ip address 192.168.1.1 255.255.255.252
 frame-relay interface-dlci 102  
!
interface Serial0/0.103 point-to-point
 ip address 192.168.2.1 255.255.255.252
 frame-relay interface-dlci 103  
!
Branch1 (Router):
!
interface Serial0/1
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/1.104 point-to-point
 ip address 192.168.3.1 255.255.255.252
 frame-relay interface-dlci 104  
!
interface Serial0/1.201 point-to-point
 ip address 192.168.1.2 255.255.255.252
 frame-relay interface-dlci 201  
!
Branch2 (Router):
!
interface Serial0/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/2.301 point-to-point
 ip address 192.168.2.2 255.255.255.252
 frame-relay interface-dlci 301  
!
interface Serial0/2.401 point-to-point
 ip address 192.168.3.2 255.255.255.252
 frame-relay interface-dlci 401  
!
 



No comments:

Post a Comment