R7#sh run | b class
class-map match-all telnet
  match protocol telnet
class-map match-all ftp
  match protocol ftp
!
policy-map Prob23and24
  class ftp
   police 256000
  class telnet
   police cir 56000 bc 1400 be 3500
     conform-action set-prec-transmit 1
     exceed-action set-prec-transmit 0
     violate-action drop
  class class-default
   fair-queue
   queue-limit 100
   police 512000
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 frame-relay traffic-shaping
 frame-relay interface-queue priority
!
interface Serial1/0.1 point-to-point
 ip address 180.40.7.65 255.255.255.224
 ip ospf network broadcast
 ip ospf priority 0
 frame-relay class Prob23and24
 frame-relay interface-dlci 703
 frame-relay ip tcp header-compression passive
!
map-class frame-relay Prob23and24
 frame-relay cir 600000
 service-policy output Prob23and24