Frame Relay Traffic Shaping
Frame-relay traffic shaping can be quite confusing and tricky, a little lab can make it easier. This task is inspired by INE WB2 lab 13 task 8.2 and 8.3, a great product that for sure worths the money and time.
We have 3 routers connected via FR. R5 dlci 501 goes to R1, dlci 502 goes to R2.
R5 has two logical p2p subinterfaces, s0/0.501 and s0/0.502.

Initially there's no frame relay traffic shape enabled on physical interface:
Rack1R5#sh inte s0/0
Serial0/0 is up, line protocol is up
Hardware is GT96K Serial
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
Rack1R5#sh traffic-shape s0/0
Traffic shaping not configured on Serial0/0
Now we enable FRTS:
Rack1R5#conf t
Rack1R5(config)#in s0/0
Rack1R5(config-if)#frame-relay traffic-shaping
and check both physical and logical interfaces:
Rack1R5#sh traffic-shape s0/0
Interface Se0/0
Access Target Byte Sustain Excess Interval Increment Adapt
VC List Rate Limit bits/int bits/int (ms) (bytes) Active
513 56000 875 7000 0 125 875 -
504 56000 875 7000 0 125 875 -
503 56000 875 7000 0 125 875 -
Rack1R5#sh traffic-shape s0/0.501
Interface Se0/0.501
Access Target Byte Sustain Excess Interval Increment Adapt
VC List Rate Limit bits/int bits/int (ms) (bytes) Active
501 56000 875 7000 0 125 875 -
Rack1R5#sh traffic-shape s0/0.502
Interface Se0/0.502
Access Target Byte Sustain Excess Interval Increment Adapt
VC List Rate Limit bits/int bits/int (ms) (bytes) Active
502 56000 875 7000 0 125 875 -
The output shows that all DLCIs are set to 56k.
Now we set bandwidth on physical interface to 512k, subinterfaces must obtain the speed from physical:
Rack1R5(config)#in s0/0
Rack1R5(config-if)#bandwidth 512
Rack1R5(config-if)#bandwidth inherit
Verify:
Rack1R5#sh inte s0/0 | i BW
MTU 1500 bytes, BW 512 Kbit/sec, DLY 20000 usec,
Rack1R5#sh inte s0/0.501 | i BW
MTU 1500 bytes, BW 512 Kbit/sec, DLY 20000 usec,
Rack1R5#sh inte s0/0.502 | i BW
MTU 1500 bytes, BW 512 Kbit/sec, DLY 20000 usec,
Do not confuse bandwidth with CIR, it's still set to 56k. We can tweak it with map-class:
map-class frame-relay 501
frame-relay cir 384000
frame-relay bc 3840
frame-relay be 1280
frame-relay mincir 384000
frame-relay fragment 640
map-class frame-relay 502
frame-relay cir 512000
Rack1R5(config)#in s0/0.501
Rack1R5(config-subif)#frame class 501
Rack1R5(config)#in s0/0.502
Rack1R5(config-subif)#frame class 502
Verify:
Rack1R5#sh traffic-shape s0/0.501
Interface Se0/0.501
Access Target Byte Sustain Excess Interval Increment Adapt
VC List Rate Limit bits/int bits/int (ms) (bytes) Active
501 384000 640 3840 1280 10 480 -
Rack1R5#sh traffic-shape s0/0.502
Interface Se0/0.502
Access Target Byte Sustain Excess Interval Increment Adapt
VC List Rate Limit bits/int bits/int (ms) (bytes) Active
502 512000 8000 512000 0 125 8000 -
Done!
The task is quite entertaining as all the WB is, I recommend this product to all CCIE R&S students.
HTH