Solved

Which will be better traffic-shape or policiy map?

Posted on 2009-06-29
4
477 Views
Last Modified: 2012-05-07
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

0
Comment
Question by:paintco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 18

Assisted Solution

by:Don S.
Don S. earned 100 total points
ID: 24741040
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.
0
 
LVL 4

Accepted Solution

by:
nasirsh earned 200 total points
ID: 24743141
Policy Map/Class Map is much much better.
0
 
LVL 16

Assisted Solution

by:memo_tnt
memo_tnt earned 200 total points
ID: 24743370
here is a comparison between both:

http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a00800a3a25.shtml

it's helpful,, and explain well what better ..
0
 

Author Comment

by:paintco
ID: 24744733
which one will be better I will implement based on source and destination ip only I will not mention any application
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello All, I have been training on Multicast for a while now and whenever I start the topic , I find out that my friends /  Colleagues mention that they do not know how to test Multicast Joins. As most of the multicast would be video traffic and …
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question