cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1535
Views
10
Helpful
6
Replies

how to create policy map that control bw traffic for specifi subnet ?

Dr.X
Level 2
Level 2

hi ,

i have the sumbet x.x.x.x/27 ,

i  have a router that connect with interent , and want to give a group of ips a specific cir , and this cir be shared betweeen these ips ,

how to use policy map , and how to apply it ??

regards

2 Accepted Solutions

Accepted Solutions

smehrnia
Level 7
Level 7

Hi,

first you have to select your subnets with an access-list:

access-list 20 permit [subnet / wildcard]

then you have to map the access-list to a class:

class-map CIR

match access-group 20

now create the policy-map:

policy-map RATE_LIMIT

class CIR

  bandwidth [rate]

  police [the rate limit] exceed-action [drop]

and then bind to the output of the interface towards internet:

int f0/0

service-policy out RATE_LIMIT

Hope it Helps and plz Rate helpful posts.

Soroush.

Hope it Helps!

Soroush.

View solution in original post

using an extended access-list with that description, is similar to one i wrote for you, it is fine. but, you have to use that ACL in the service policy, just like what i did. i didnt exactly understand what u meant by applying it, just to let you know, in this application acl is to define traffic to be used in the service policy only.

i dont think you need them in that service policy, bandwidth and police commands with correct setting would do just fine.

Hope it Helps,

Soroush.

Hope it Helps!

Soroush.

View solution in original post

6 Replies 6

smehrnia
Level 7
Level 7

Hi,

first you have to select your subnets with an access-list:

access-list 20 permit [subnet / wildcard]

then you have to map the access-list to a class:

class-map CIR

match access-group 20

now create the policy-map:

policy-map RATE_LIMIT

class CIR

  bandwidth [rate]

  police [the rate limit] exceed-action [drop]

and then bind to the output of the interface towards internet:

int f0/0

service-policy out RATE_LIMIT

Hope it Helps and plz Rate helpful posts.

Soroush.

Hope it Helps!

Soroush.

Dr.X
Level 2
Level 2

another question ,

how to make priority for this subnet to be always have the abndwidth 20  mega?

i mean that  my internet bw = 40 mega ,

and i have more  subnets that the above subnet ,

but i want   to reserve the bw to this subnet to be dedicated whatever there were congestion or not ??

with my best regards

I just editted my original post, added a BANDWIDTH command under service-policy. you dont use Priority command for this application, you use bandwidth to guarantee a minimum bw.


Soroush.

Hope it Helps!

Soroush.

hi , im really thankful for u, but another question ,

in the access list i  did an extended  acl and matched the  my subnet as source and the destination i put it any ,

now the interface i applied it  out , .

is that ok ??

============

another question , i want to ask about those two command:

1-Average Rate Traffic Shaping

2-      cir 2000000 (bps)

do i need them to  achive my goal ??

with my best regards

using an extended access-list with that description, is similar to one i wrote for you, it is fine. but, you have to use that ACL in the service policy, just like what i did. i didnt exactly understand what u meant by applying it, just to let you know, in this application acl is to define traffic to be used in the service policy only.

i dont think you need them in that service policy, bandwidth and police commands with correct setting would do just fine.

Hope it Helps,

Soroush.

Hope it Helps!

Soroush.

u r right ,

i do it

thanks for ur help ad really apppreciating ur precious reply .

regards

Review Cisco Networking for a $25 gift card