Part 1 - GTS 
**********************************************************************


R2(config-subif)#do sh run int s 1/0.2
Building configuration...

Current configuration : 230 bytes
!
interface Serial1/0.2 point-to-point
 ip address 180.40.7.162 255.255.255.224
 ip ospf network point-to-multipoint
 traffic-shape rate 64000 64000 32000 1000
 traffic-shape adaptive 32000
 frame-relay interface-dlci 207



R2(config-subif)#do sh traff

Interface   Se1/0.2
       Access Target    Byte   Sustain   Excess    Interval  Increment Adapt
VC     List   Rate      Limit  bits/int  bits/int  (ms)      (bytes)   Active
-             64000     12000  64000     32000     1000      8000      BECN
R2(config-subif)#


Part 1 - FRTS 
**********************************************************************

R2(config-if)#do sh run | b 1/0
interface Serial1/0
 no ip address
 encapsulation frame-relay
 no fair-queue
 frame-relay traffic-shaping
!
interface Serial1/0.1 point-to-point
 ip address 180.40.7.67 255.255.255.224
 ip ospf network point-to-multipoint
 frame-relay interface-dlci 203
!
interface Serial1/0.2 point-to-point
 ip address 180.40.7.162 255.255.255.224
 ip ospf network point-to-multipoint
 frame-relay interface-dlci 207
  class Prob3
!
map-class frame-relay Prob3
 frame-relay cir 64000
 frame-relay bc 64000
 frame-relay be 32000
 frame-relay adaptive-shaping becn
!





R2(config-if)#do sh traff

Interface   Se1/0
       Access Target    Byte   Sustain   Excess    Interval  Increment Adapt
VC     List   Rate      Limit  bits/int  bits/int  (ms)      (bytes)   Active
201           56000     875    7000      0         125       875       -

Interface   Se1/0.1
       Access Target    Byte   Sustain   Excess    Interval  Increment Adapt
VC     List   Rate      Limit  bits/int  bits/int  (ms)      (bytes)   Active
203           56000     875    7000      0         125       875       -

Interface   Se1/0.2
       Access Target    Byte   Sustain   Excess    Interval  Increment Adapt
VC     List   Rate      Limit  bits/int  bits/int  (ms)      (bytes)   Active
207           64000     5000   64000     32000     125       1000      BECN


Part 2 
**********************************************************************


R2#sh run | b fram
frame-relay de-list 1 protocol ip list 100
!
interface Serial1/0.2 point-to-point
 ip address 180.40.7.162 255.255.255.224
 ip ospf network point-to-multipoint
 frame-relay de-group 1 207
 frame-relay interface-dlci 207
  class Prob3
!
access-list 100 deny   ospf any any
access-list 100 permit ip any any
!