Solved

Which will be better traffic-shape or policiy map?

Posted on 2009-06-29
4
472 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…

820 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