Back Forum Reply New

How-to: Configure Frame-relay Switching

Routers can be configured as Frame Relay switches to be used mostly in service provider or LAB environments. Lets see how you can configure frame-relay switch to use your in studies.
On a Frame Relay switch, frames from a Frame Relay PVC arriving o n an incoming interface are switched to a Frame Relay PVC o n an outgoing interface. The switching paths taken by the frames are based o n the static Frame Relay route table.
In the following example two routers (Router1 & Router2) are connected via a router acting as a dedicated frame-relay switch (FRSW) .

Configuration steps:
  • Enable frame relay switching o n FRSW using the global command frame-relay switching.
  • Configure the frame-relay switch interfaces to act as a DCE interface using the command frame-relay intf-type.
  • Configure a frame relay PVC o n FRSW to switch packets coming from DLCI 100 o n Serial1/0 to DLCI 200 o n Serial1/1.
  • Configure typical frame relay o n both routers (Router1 & Router2).
  • Verify and check the operation.
Frame-relay switch configuration:
  1. FRSW(config)#frame-relay switching
  2. FRSW(config)#interface s1/0
  3. FRSW(config-if)#description Connection to Router1
  4. FRSW(config-if)#encapsulation frame-relay
  5. FRSW(config-if)#frame-relay intf-type dce !–act as a switch connected to router

  6. !–specify a static route PVC switching.
  7. FRSW(config-if)#frame-relay route 100 interface serial 1/1 200
  8. FRSW(config-if)#clock-rate 128000
  9. FRSW(config-if)#interface s1/1
  10. FRSW(config-if)#description Connection to Router1
  11. FRSW(config-if)#encapsulation frame-relay
  12. FRSW(config-if)#frame-relay intf-type dce
  13. FRSW(config-if)#frame-relay route 200 interface s1/0 100
  14. FRSW(config-if)#clock-rate 128000
Copy Code
Router1 & Router2 configuration:
This is a basic frame relay configuration using main serial interfaces and all defaults.




  1. Router1(config)#int s1/0
  2. Router1(config-if)#encap frame-relay
  3. Router1(config-if)#ip address 12.12.12.1 255.255.255.0
  4. Router1(config-if)#no shut

  5. Router2(config)#int s1/0
  6. Router2(config-if)#encap frame-relay
  7. Router2(config-if)#ip address 12.12.12.2 255.255.255.0
  8. Router2(config-if)#no shut
Copy Code
Verification and troubleshooting:
The following show commands were taken from the frame relay switch “FRSW” and Router1

  1. FRSW#sh frame-relay route
  2. Input Intf Input Dlci Output Intf Output Dlci Status
  3. Serial1/0 100 Serial1/1 200 active
  4. Serial1/1 200 Serial1/0 100 active

  5. FRSW#sh frame-relay pvc | in DLCI
  6. DLCI = 100, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/0
  7. DLCI = 200, DLCI USAGE = SWITCHED, PVC STATUS = ACTIVE, INTERFACE = Serial1/1
  8. Verification from Router1 point of view “same is done o­n Router2″
  9. Router1#ping 12.12.12.2
  10. Type escape sequence to abort.
  11. Sending 5, 100-byte ICMP Echos to 12.12.12.2, timeout is 2 seconds:
  12. !!!!!
  13. Success rate is 100 percent (5/5), round-trip min/avg/max = 24/60/132 ms
  14. Router1#show frame-relay map
  15. Serial1/0 (up): ip 12.12.12.2 dlci 100(0×64,0×1840), dynamic,
  16. broadcast,, status defined, active
Copy Code
Cisco Network Engineering
Email: khmerccie@gmail.com
Pre-CCIE
CCNA,CCNP,JNCIS-ER,JNCIA-ER
if you give a topo that would be better to see !!
Be your personal best!
E-mail: leaphhong@gmail.com
Back Forum