R3#sh run | b class
class-map match-all telnet
  match protocol telnet
class-map match-all FTP
  match protocol ftp
!
!

policy-map Prob18
  class FTP
   shape average 256000
  class telnet
   shape average 56000
  class class-default
   police cir 512000 pir 600000
!
!
!
interface Serial1/0
 ip address 180.40.7.66 255.255.255.224
 encapsulation frame-relay
 ip ospf network point-to-multipoint
 frame-relay map ip 180.40.7.65 307 broadcast tcp header-compression connections 20
 frame-relay map ip 180.40.7.67 302 broadcast
 service-policy output Prob18
!