Hi all,
I have two different customers (from here: Cust1, Cust2) that pay and share the same contract with the ISP with a WAN Link of 20Mbps/20Mbps.
I have only 1 CPE (Cisco 1841):
- F0/1/0: WAN Interface
- F0/0: Cust1
- F0/1: Cust2
I would like to know if it's possibile to perform some QoS to accomplish the following:
- If Cust1 needs almost all BW while Cust2 does not need it --> give to him all possible BW
- Same as above but with Cust1 and Cust2 swapped
- If both Cust1 and Cust2 need a lot of BW, try to balance 20 Mbps BW in a fair way (e.g: 10Mbps and 10Mbps)
Consider that the minimum guaranteed BW is 2/2Mbps by contract.
I was thinking about class-maps, policy-maps and service-policy to apply under router configuration.
Here I paste the configuration I was thinking about.
For classification:
class-map match-all MATCH-CUST1-SUBNET
match access-group name ACL-MATCH-CUST1-SUBNET
class-map match-all MATCH-CUST2-SUBNET
match access-group name ACL-MATCH-CUST2-SUBNET
Policy:
policy-map PM-SHARED-BW
class MATCH-CUST1-SUBNET
bandwidth percent 45
class MATCH-CUST2-SUBNET
bandwidth percent 45
policy-map PM-BW-SHARED-20Mbps
class class-default
police 20000000 conform-action transmit exceed drop
service-policy PM-SHARED-BW
Interface configuration:
interface f0/0
service-policy output PM-BW-SHARED-20Mbps
interface f0/1
service-policy output PM-BW-SHARED-20Mbps
The problem with this configuration (from my lab tests) seems to be that policing of 20Mbps is being applied to both interface f0/0 AND f0/1.
So, this configuration, gives 20Mbps policing to int f0/0 and 20 Mbps to f0/1.
Is it correct?
I'm new to QoS mechanisms.
Is there a way to accomplish what I need?
Thanks!
No comments:
Post a Comment