Frame Relay traffic shaping

From: Jim (firstnamejim@gmail.com)
Date: Mon Mar 12 2007 - 23:00:52 ART


Hi all,

I have a fairly fundamental question: does frame-relay traffic shaping work
when there is no interface congestion?

A task was asking to configure traffic shaping between R2 & R4. Routers R1,
R2, R3 & R4 are in a full mesh configuration with inverse-arp turned on.
Here is the configurations:

R1:
interface Serial0/0
 ip address 132.1.0.1 255.255.255.0
 encapsulation frame-relay
end
Rack1R1# sho frame map | in dlci
Serial0/0 (up): ip 132.1.0.2 dlci 102(0x66,0x1860), dynamic,
Serial0/0 (up): ip 132.1.0.3 dlci 103(0x67,0x1870), dynamic,
Serial0/0 (up): ip 132.1.0.4 dlci 104(0x68,0x1880), dynamic,
############################
R2:
interface Serial0/0
 ip address 132.1.0.2 255.255.255.0
  encapsulation frame-relay
  no fair-queue
end
Rack1R2#sh frame map | in dlci
Serial0/0 (up): ip 132.1.0.1 dlci 201(0xC9,0x3090), dynamic,
Serial0/0 (up): ip 132.1.0.3 dlci 203(0xCB,0x30B0), dynamic,
Serial0/0 (up): ip 132.1.0.4 dlci 204(0xCC,0x30C0), dynamic,
############################
R3:
interface Serial0/0
 ip address 132.1.0.3 255.255.255.0
 encapsulation frame-relay
end
Rack1R3#sho frame map | in dlci
Serial0/0 (up): ip 132.1.0.1 dlci 301(0x12D,0x48D0), dynamic,
Serial0/0 (up): ip 132.1.0.2 dlci 302(0x12E,0x48E0), dynamic,
Serial0/0 (up): ip 132.1.0.4 dlci 304(0x130,0x4C00), dynamic,
############################
R4:
interface Serial0/0
 ip address 132.1.0.4 255.255.255.0
 encapsulation frame-relay
end
Rack1R4(config)#do sho frame map | in dlci
Serial0/0 (up): ip 132.1.0.1 dlci 401(0x191,0x6410), dynamic,
Serial0/0 (up): ip 132.1.0.2 dlci 402(0x192,0x6420), dynamic,
Serial0/0 (up): ip 132.1.0.3 dlci 403(0x193,0x6430), dynamic,

The port speed is 512kbps for R2 & R4, need to have:
- R2 use cir 128kbps for dlci204, use 50% of remaining for other DLCIs
- R4 use cir 128kbps for dlci402, use 50% of remaining for other DLCIs
- make sure R2 & R4 should burst above the provisioned CIR under no
circumstances for DLCI204 and DLCI402

My question is: I know that we can use cir to limit the outbound traffic,
but does it still work if the interface is not full? In other words, could
the DLCI 204 use more than 128kbps when there is no congestion? Or do I
need to add a policer?

I had this configuration in mind:
#R2:
int s 0/0
 frame traffic-shaping
 frame class other
 frame inter 204
  class dlci204
policy-map dlci204
 class class-default
  police 128000
map-class frame dlci204
 frame cir 128000
 frame bc 1280
 service-policy output dlci204
map-class frame other
 frame cir 192000
 frame bc 24000

#R4
int s 0/0
 frame traffic-shaping
 frame class other
 frame inter 402
  class dlci402
policy-map dlci402
 class class-default
  police 128000
map-class frame dlci402
 frame cir 128000
 frame bc 1280
 service-policy out dlci402
map-class frame other
 frame cir 192000
 frame bc 24000

Your comments are greatly appreciated.



This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:51 ART