Shape Traffic Towards Gateway

Shape traffic on CPE WAN prioritising VoIP

class-map match-any CM-VOICE-TRAFFIC
 match access-group 145
!
policy-map PM-PRIORITISE-VOICE
 class CM-VOICE-TRAFFIC
   set ip dscp ef
   priority 1500
 class class-default
   fair-queue
!
policy-map PM-SHAPE-10M
 class class-default
  shape average 10000000
  service-policy PM-PRIORITISE-VOICE
!
interface FastEthernet0/1
 Description WAN Interface
bandwidth 10000 service-policy output PM-SHAPE-10M ! access-list 145 remark VoIP providers access-list 145 permit ip 10.0.59.0 0.0.0.255 any