cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1784
Views
0
Helpful
16
Replies

QOS PROJECT

rafael.arrendol
Level 1
Level 1

I need to configure CBWFQ on a Hub-router with a 250meg link, there are 40 Field offices with 10 offices with10meg each, 10 offices with 20meg each, 10 offices with 30meg links. The hub router is over subscribing some to the remote offices at any giving time. I have been ask to configure QOS to limit the Hub to only deliver/transmit 75% of 10, 20 and 30megs to each corresponding FOs, this way the remote offices are never over subscribes with incoming traffic.

I am working on a cisco ASR1002-X with IOS ver. "asr1002x-universalk9.03.16.06.S.155-3.S6-ext.SPA.bin".

 

I need a solution as soon as possible.

 

Thanks in advance.

16 Replies 16

marce1000
VIP
VIP

 

 - FYI : https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/82310-qos-voip-vpn.html

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Good morning,

Thank you for the link, but I already visited that page a few weeks ago, and I don't think that it helped to accomplish the task discribed abave. I am new in this field of QOS implementation.

Joseph W. Doherty
Hall of Fame
Hall of Fame

". . . only deliver/transmit 75% . . ."

Why not 100%?

". . . Hub-router with a 250meg link . . ."

Physical gig hand-off?  What about exceeding the 250 Mbps?

". . . Hub-router with a 250meg link . . ."

What about remote sites (aggregate egress) overrunning hub's (ingress) bandwidth?

Unsure your ASR will support 2 level shaping, but if it does, you want something (syntax might be incorrect) like:

policy-map parent
class class-default
shape average 250000000
service policy child

policy-map child
class remoteoffice1
shape average 10000000 (or 20 or 30 Mbps)
class remoteoffice2
shape average 10000000 (or 20 or 30 Mbps)
.
.
class remoteoffice39
shape average 10000000 (or 20 or 30 Mbps)
class remoteoffice40
shape average 10000000 (or 20 or 30 Mbps)

BTW, you note ". . . there are 40 Field offices with 10 offices with10meg each, 10 offices with 20meg each, 10 offices with 30meg links."
10 and 10 and 10 offices equal 30 offices, not 40?!

Is this student project?

1- I guess it can be 100 but as it is right now the headend is sending too
much traffic to the ROs and they are so busy that snmp/pin traffic is being
delayed and WhatsupGold shows multiple sites down at any given time.

2- Yes, the Hub router has a physical 10Gig hand-off, but I was mistaken,
the link use to be 250mg but it was increased to 2g recently. and the total
traffic from upstream is from the RO is 1.5gig if they were transmitting at
the same time.

3- For the remote sites, there are 16 sites with 10meg, 29 sites with
20meg and 26 sites with 30megs bandwidth.

#1 With QoS shaping, you should be able to run at 100%.  However, on some platforms I suspect Cisco shapers don't "count" L2 overhead.  If they don't, they you do need to shape slower than your nominal speed; usually about 15% slower allows for "typical" L2 overhead (whose percentage varies based on packet size).

#2 Hmm, I'm guessing the 1.5 gig is some measure usage, over some time (often 5 minutes).  If so, you can still have microburst, causing transient issues.

BTW, unsure your platform will support a 3 level policy, but even better yet would be something like:

policy-map childFQ
class class-default
fair-queue

policy-map child
class remoteoffice1
shape average 10000000 (or 20 or 30 Mbps)
service policy childFQ
class remoteoffice2
shape average 10000000 (or 20 or 30 Mbps)
service policy childFQ
.
.
class remoteoffice39
shape average 10000000 (or 20 or 30 Mbps)
service policy childFQ
class remoteoffice40
shape average 10000000 (or 20 or 30 Mbps)
service policy childFQ

policy-map parent
class class-default
shape average 250000000
service policy child

Good morning Joseph,

Does this " (or 20 or 30 Mbps)" means that I need to create a class for
each remote office as remoteoffice2 & 3 for the 20 and the 30meg sites?

And the "class remoteoffice39", did you mend to say "class remoteoffice30",
instead?

If it makes any difference, this is no longer a "shape average 250000000"
it's a 2Gig link now.

I should apply this to the interface as "service-policy output parent"?

Thanks in advance for your great help, I really appreciate it.

You'll want a class for each remote office.  Generally, the class-map, for each office will match destination addresses used by the office.  (As you noted having 40 offices, I created class names from 1 to 40.  However, you could name the classes [and their map] for something more representive for the offices.)

Correct!  Your high level shaper should be for 2 Gbps (oops, I missed changing that with your revised information).

Also correct, you apply the high level parent policy on the egress interface.  (Which, also, if desired, you can rename the polices too.)

BTW, how this works, the parent policy sets a limit for bandwidth usage for the interface as a whole (to whatever bandwidth you've contracted for - if contracted bandwidth is full interface bandwidth, you don't need the parent policy and its shaper).

Each office class, sets a limit for bandwidth to each remote site.  Their shapers insure you don't overrun that office's bandwidth.

Also BTW, the above works great, for a hub network.  If sites might send traffic between themselves, doing QoS on just your equipment becomes problematic.  Generally, for multipoint WAN networks, your WAN provider needs to allow you to define QoS in their network for your requirement.  (I don't know if this has changed, but in the past, most MPLS WAN providers could provide some QoS support based on your requirements.  MetroE providers, again, at least in the past, often did not provide such QoS support.)

Lastly, such a QoS policy can be used to further analyze bandwidth needs.

Thank for the clarification. Joseph.

Sorry, but did you see the sample config I sent you yesterday? below is a
copy, please tell me what you think?

Here is an example of what I have put together before I reached out to you
guys!


!
class-map match-any E-MAIL-CLASS
description E-Mail Traffic
match access-group name E-MAIL-ACL
class-map match-any Field_Office_10meg
description 10meg circuits
match access-group name Field_Office_10meg
class-map match-any Field_Office_30meg
description 30meg circuits
match access-group name Field_Office_30meg
class-map match-any Field_Office_20meg
description 20meg circuits
match access-group name Field_Office_20meg
class-map match-any EMPLOYEE-WEB-CLASS
description Employee Web Applications
match access-group name EMPLOYEE-WEB-ACL
class-map match-any NOC-CLASS
description NOC Network Management
match access-group name NOC-ACL
class-map match-any PHOENIX-CLASS
description Phoenix and related Applications
match access-group name PHOENIX-ACL
class-map match-any SERVERS-CLASS
description Server Subnet
match access-group name SERVERS-ACL
!
policy-map SCDMV-FO-QOS-POLICY-V2
description Defines QoS config
class PHOENIX-CLASS
priority 5 32
class SERVERS-CLASS
priority 7 32
class NOC-CLASS
priority 1 32
class E-MAIL-CLASS
priority 6 32
class EMPLOYEE-WEB-CLASS
priority 8 32
class Field_Office_10meg
bandwidth 8000
class Field_Office_20meg
bandwidth 1600
class Field_Office_30meg
bandwidth 2500
!
!
ip access-list extended E-MAIL-ACL
remark E-Mail Traffic
permit tcp any any eq smtp
permit tcp any eq smtp any
permit tcp any any eq 443
permit tcp any any eq pop3
ip access-list extended EMPLOYEE-WEB-ACL
remark Employee Web Applications
permit ip any host 52.XXX.X.21
permit ip any host 167.XXX.X.3
permit ip any host 167.XXX.X.1
permit ip any host 192.XXX.X.5
ip access-list extended Field_Office_10meg
remark 10meg circuits
permit ip any host 10.XXX.X.25
permit ip any host 10.XXX.X.75
permit ip any host 10.XXX.X.73
permit ip any host 10.XXX.X.86
permit ip any host 10.XXX.X.11
permit ip any host 10.XXX.X.13
permit ip any host 10.XXX.X.18
permit ip any host 10.XXX.X.19
permit ip any host 10.XXX.X.2
permit ip any host 10.XXX.X.1
permit ip any host 10.XXX.X.2
ip access-list extended Field_Office_20meg
remark 20meg circuits
permit ip any host 10.XXX.X.3
permit ip any host 10.XXX.X.5
permit ip any host 10.XXX.X.81
permit ip any host 10.XXX.X.71
permit ip any host 10.XXX.X.10
permit ip any host 10.XXX.X.15
permit ip any host 10.XXX.X.20
permit ip any host 10.XXX.X.22
permit ip any host 10.XXX.X.34
permit ip any host 10.XXX.X.38
permit ip any host 10.XXX.X.50
permit ip any host 10.XXX.X.10
permit ip any host 10.XXX.X.26
permit ip any host 10.XXX.X.30
permit ip any host 10.XXX.X.74
permit ip any host 10.XXX.X.70
ip access-list extended Field_Office_30meg
remark 30meg circuits
permit ip any host 10.XXX.X.35
permit ip any host 10.XXX.X.5
permit ip any host 10.XXX.X.8
permit ip any host 10.XXX.X.7
permit ip any host 10.XXX.X.10
permit ip any host 10.XXX.X.15
permit ip any host 10.XXX.X.20
permit ip any host 10.XXX.X.22
permit ip any host 10.XXX.X.23
permit ip any host 10.XXX.X.23
permit ip any host 10.XXX.X.25
permit ip any host 10.XXX.X.101
permit ip any host 10.XXX.X.25
permit ip any host 10.XXX.X.32
permit ip any host 10.XXX.X.77
permit ip any host 10.XXX.X.17
ip access-list extended NOC-ACL
remark NOC Network Management
permit ip any 172.XXX.X0 0.0.0.255
permit ip any 172.XXX.X.0 0.0.0.255
permit ip any 172.XXX.X.0 0.0.0.255
ip access-list extended PHOENIX-ACL
remark Phoenix and related Applications
permit ip any host 172.XXX.X.16
permit ip any host 172.XXX.X.17
permit ip any host 172.XXX.X.16
permit ip any host 172.XXX.X.18
permit ip any host 172.XXX.X.19
ip access-list extended SERVERS-ACL
remark Server Subnet
permit ip any 172.XXX.X.0 0.0.0.255
permit ip any 172.XXX.X.0 0.0.0.255


(Config-if)#service-policy output SCDMV-FO-QOS-POLICY-V2

"Sorry, but did you see the sample config I sent you yesterday?"

No, I didn't (and don't).

"Sorry, but did you see the sample config I sent you yesterday?"

Doesn't shape any traffic, which you need, and probably overly complex for your needs.

Thanks, I just wanted to hear your thoughts about it. but how would I
prioritize the SNMP traffic and the Phoenix App that are also the two most
important to us?

I would very, very (very) much recommend, first trying FQ (if supported on your platform - especially if platform supports additional FQ settings), as shown in one of my posts.

If that doesn't work for you, the childFQ policy-map is where you would want to "adjust" bandwidth allocations for different traffic.

I think that the question that is hunting me the most is, how does QOS is
able to differentiate between the multiple sites that have 10, 20, and 30
meg links. Remember these are somewhat 66 remote sites and we need a
mechanism that identified them all.

See policy-map child.

Each class matches to a remote site.

Review Cisco Networking for a $25 gift card