cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
909
Views
0
Helpful
3
Replies

Management Bandwidth Limit with QoS

deltaviyahya
Level 1
Level 1

QoS Cisco v1.PNG

 

Hi,

I have 20 Gbps internet connection ISP and want to manage the 20 Gbps for Costumer A, B, and C.

I want to limit customer A to 10 Gbps, customer B to 5 Gbps, and customer C to 5 Gbps. If follow the topology, how can I do that with QoS? especially its configuration

Thanks!

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

example (is this works for you ?)

 

CUSTOMER A
access-list 101 permit ip any x.x.x.x x.x.x.x

CUSTOMER B
access-list 102 permit ip any y.y.y.y y.y.y.y

CUSTOMER C
access-list 103 permit ip any z.z.z.z z.z.z.z


class-map CUST_A
match access-group 101

class-map CUST_B
match access-group 102

class-map CUST_C
match access-group 103


policy-map CUSTOMERS
class-map CUST_A
bandwidth percent 50
class-map CUST_B
bandwidth percent 25
class-map CUST_C
bandwidth percent 25

policy-map TOTAL_BW
class class-default
police 20000000 conform-action transmit exceed-action drop  ( check 20GB Zeros, may be typo wrong)
service-policy CUSTOMERS
exit

int x/x
service-policy output TOTAL_BW

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

what device is the edge switch (the one connected to the ISP) ?

 

In order to leverage what you have (20Gbps of bandwidth), the below parent/child shaper would guarantee the required bandwidth per customer, and in case it is not used, be available to the other customers. IP addresses for your customers are arbitrary obviously, so you probably need to change the subnets in the access lists. Looking at your drawing, it appears that you have a port channel configured ? Either way, apply the parent service policy outbound to the outgoing interface:

 

ip access-list CUSTOMER-A-ACL
permit 192.168.10.0 0.0.0.255 any
!
ip access-list CUSTOMER-B-ACL
permit 192.168.20.0 0.0.0.255 any
!
ip access-list CUSTOMER-C-ACL
permit 192.168.30.0 0.0.0.255 any
!
class-map CUSTOMER-A-CM
match access-group CUSTOMER-A-ACL
!
class-map CUSTOMER-B-CM
match access-group CUSTOMER-B-ACL
!
class-map CUSTOMER-C-CM
match access-group CUSTOMER-C-ACL
!
policy-map CHILD_SHAPER
class CUSTOMER-A-CM
priority 10240000
class CUSTOMER-B-CM
priority 5120000
class CUSTOMER-C-CM
priority 5120000
class class-default
fair-queue
!
policy-map PARENT_SHAPER
class class-default
shape average 20480000000
service-policy CHILD_SHAPER

!

interface X 

description Aggregate Link to ISP

service-policy PARENT_SHAPER out

 

 

 

Joseph W. Doherty
Hall of Fame
Hall of Fame
"I have 20 Gbps internet connection ISP and want to manage the 20 Gbps for Costumer A, B, and C."

Perhaps not. If you have dual 10g links, bonded, you have 20g aggregate bandwidth, but this is a bit different from actually having a 20g connection. Why does this matter? Although your customers bandwidth don't exceed 20g, you might be unable to guarantee them, in combination/concurrently, more than 10g.

"I want to limit customer A to 10 Gbps, customer B to 5 Gbps, and customer C to 5 Gbps."

Depending platform, you might be able to "limit" using shaping or policing. Effective bandwidth can vary quite a bit between the two approaches. Do you know which approach you desire and/or if limited to one approach (often policing), will it be acceptable to your customers?

"If follow the topology, how can I do that with QoS? especially its configuration"

Depends on "how" you want to limit bandwidth and actual platform QoS capabilities.