cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1639
Views
0
Helpful
1
Replies

How to limit total bandwidth ( Tx + Rx ) in a sub interface ?

Chanuka D
Level 1
Level 1

Dear fellow engineers,

 

We are a small ISP and we have customers who subscribe our IP transit services. Currently I'm using class-map and policy-map to limit their bandwidth as you can see in this config. Then I apply policy map into sub interface in both directions using service-policy input and service policy output command. The problem I'm facing now is this allows customer to use download 100M and upload 100M if they subscribe 100Mbps. Now I need cap their total traffic which combines upload and download into 100Mbps. Since I'm using sub interface bandwidth command is not available. How do I achieve this ? 

 

class-map match-all SDW00014
match any
!
policy-map SDW00014
class SDW00014
police 55000000 conform-action transmit exceed-action drop

1 Reply 1

Hello, exceed-action is the action to take on packets when exceeded the rate limit. You have the transmit key word so it will transmit anything exceeding your police statement. (i.e. pass traffic as normal)

Normally you use exceed-action drop or violate-action drop, where anything to the limit permitted, but anything past the limit will be dropped.

Hope this helps.

http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd8.html

Review Cisco Networking for a $25 gift card