Which will be better traffic-shape or policiy map?

Which will be better traffic-shape or policiy map?
I want to limit the traffic bandwidth crossing the wan for a certain networks

so which config is better

interface s0/0/0 
    traffic-shape group 101 128000
    traffic-shape group 102 96000
access-list 101 permit ip host x.x.x.x
access-list 102 permit ip host x.x.x.x
********** OR **********
class-map match-any NAME1
 match access-group 101
class-map match-any NAME2
 match access-group 102
policy-map HOSTSHAPE
 class NAME1
  shape average 128000
 class NAME2
  shape average 96000
interface s0/0/0 
  service-policy out HOSTSHAPE

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Don S.Commented:
From a router CPU usage point of view, the first config will be lighter on the CPU.  Not sure that there will be much difference in bandwidth limiting functionality otherwise.
Policy Map/Class Map is much much better.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
here is a comparison between both:


it's helpful,, and explain well what better ..
paintcoAuthor Commented:
which one will be better I will implement based on source and destination ip only I will not mention any application
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Hardware-Other

From novice to tech pro — start learning today.