To configure Qos and Cos on Routers and Switches

I need some assistance with configuring Qos and Cos on our productions Routers and Switches. I am newbie to Quality of service , Class of service, marking etc. but read about 'em recently. Although i it would be better to receive advise from experienced personnel.

Current running config, is attached herewith and let me know how this can be implemented. AutoQos ? i heard it can screw up in rare case due to depending on NBAR. CBWFQ or LLQ for marking? I was thinking about activating Qos through AutoQos and fine tune it later. I heard router monitors traffic continioulsy for 3 days and create qos setting based on it.

You will see there is a Qos already configured for VoIP on router (not me) but i doubt if given bandwidth 25% is right or if its applied on both inbound and outbound.

I understand that Qos needs lots of planning, banging couple of commands only takes few mins. If any clear documentation is available that can be helpful too.
router-2821.txt
switch-core1.txt
LVL 6
kavlinsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

that1guy15Commented:
"AutoQos ? i heard it can screw up in rare case due to  depending on NBAR. CBWFQ or LLQ for marking?"

I personally have not worked much with AutoQoS in the past but have heard good reviews for it. I usually setup LLQ in most situations when the network and traffic is pretty straight forward or you only have a few traffic classes you want to contorl (VoIP, data, etc...)

NBAR actually does a pretty good job of classing traffic, you just need to watch the amount of CPU and memory it sucks down. unless you are pushing a lot of traffic through your routers the 2800 series does a pretty good job with NBAR

" I heard router monitors traffic continioulsy for 3  days and create qos setting based on it."

yeah basically you setup nbar and auto-discovery on your router to monitor your traffic flows. let is sit I would say for a week so it can see all the traffic that passes during normal and peak hours. After that you enable AutoQoS and it adjust based on priority. You can also take what is suggested and edit the priority and classes as you please (my recommendation).

"i doubt if given bandwidth 25% is right or if its  applied on both inbound and outbound."

Only outbound on G0/0 on the router is being dedicated 25%.

Your setup looks good to me for prioritizing outbound QoS for your VoIP traffic. It does base this on IP addresses to classify VoIP but it should be fine.

Are you seeing issues with it or just trying to understand it. I would personally not change what isnt broke.

let me know and ill help
0
kavlinsAuthor Commented:
Eventhough if have Qos set for VoIP, sometimes it sounds choppy, garbled to our IPsec tunnel remote site, where the VoIP qos priority is set to 50% of 10 mb WAN bandwidth port. Notice that my site has 40 mb WAN bandwidth and 25% of it is prioritized for VoIP. And some applications are slow to access from remote offices like  (perth,australia Santiago,Chile Peru etc...) Switches doesnt have Cos , thats one important thing i have to enable. few examples would be helpful. Or can i do Auto Qos on switches too or no?(except cores)
"yeah basically you setup nbar and auto-discovery on your router to monitor your traffic flows. let is sit I would say for a week so it can see all the traffic that passes during normal and peak hours. After that you enable AutoQoS and it adjust based on priority" I thought all we need to do is AUTO QOS VOIP OR AUTO QOS DISCOVERY (for data)
 
 
0
that1guy15Commented:
"Switches doesnt have Cos , thats one important thing i have to enable.  few examples would be helpful. Or can i do Auto Qos on switches too or  no?(except cores)"

Setting CoS on your switches is not going to help the WAN congestion issues. It will only allow you to mark traffic at the switch. The router will still need to limit and prioritize the traffic.

If you are seeing issues within your switched network between calls then yeah we can set something up on your switches.

As for the choppy calls it looks like you running SDM on your routers if so check out the Monitoring section of SDM and you can get a good view of how QoS is handling and preforming along with your bandwidth utilization for your WAN links.


"I thought all we need to do is AUTO QOS VOIP OR AUTO QOS DISCOVERY (for  data)"

AUTO QOS DISCOVERY  starts monitoring the traffic going through the interface and logs it. AUTO QOS VOIP enables and configures QoS on that interface based on what discovery found.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

kavlinsAuthor Commented:
I agree that Layer 2 Markings are to benefit the max. out of Qos. Layer 3 could easily identify the markings and queue accordingly.
We need Cos setup on our Access switches for sure. If you would please give some examples like for VoIP and Apps like SQL Server, http,ftp. etc.
For Auto Qos, what would be the ideal bandwidth need to be set ? on 40 MB wan port?
0
that1guy15Commented:
What model are your access switches?


0
that1guy15Commented:
Also, could you give me some more details on were you want to limit the different classes. Do you want them limited and prioritized on your WAN links between locations or from your core switch down on your local lan?
0
kavlinsAuthor Commented:
Access switches are 2960's. There are 4 of 'em. FYI, there are 3 core switches (1) 3560G, (2) 2960G.
Can we limit and prioritize on WAN link  as well as close end points (access switches) I heard applying CoS on core switches isnt the best practice.
 
 

tucn-access1.txt
0
that1guy15Commented:
"Can we limit and prioritize on WAN link  as well as close end points  (access switches) "

I would not apply QoS policies on your core switches unless you are seeing congestion within your local LAN that you want to control. You are most likely seeing all your congestion and issues at the edge router on the WAN interface. This is were you want to apply your policies.

With a smaller network like this i suggest keeping everything simple by applying your QoS on your edge router (if your WAN link is the issue). This will allow you to better classify and prioritize your traffic.

If you must mark and priorize queus on your switches then check out this link. It gives a lot of good details on different options

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_25_see/configuration/guide/swqos.html#wp1426811
0
kavlinsAuthor Commented:
Actually i went through those cisco documents before posting this question. Quite complicated subject.

1) If setting up Auto Qos VoIP on router, what would be the ideal bandwidth for 40 MB wan port?
2) If setting up Auto Qos Access switch, what would be the ideal bandwidth ?
Can you give me step by step commands?
0
that1guy15Commented:
yeah QoS gets pretty involved at times. it also makes it even more difficult because there are so many different factors in your network that go into your settings. I will help you will as much as possible but im sorry im not going to be able to get detailed in what to use.
"1) If setting up Auto Qos VoIP on router, what would be the ideal bandwidth for 40 MB wan port? "
Cisco suggest that no class should be given more than 30% of the overall bandwidth. With that in mind i have no way to tell you how much to dedicate to VoIP. There are too many factors involved for me to determine this. My suggestions would be to start with the 25% that is already set and adjust from there. Since you are seeing call issues from remote locations id suggest adjusting this number up to see if it helps. your prioritization on your WAN link looks fine to me as well
if you are going the AutoQoS route then i suggest setting up Auto-QoS discovery on your WAN port and let it run for a week (the longer the more accurate). Discovery will do a good job of determining the classes (with NBAR) and prioritizing your traffic accordingly. Just keep in mind with AutoQoS you will need to remove your service-policies from your interfaces before setting it up. So during discovery you will not have ANY QoS in place.
you can then use the "show auto qos int g0/0" command to see what autoQoS suggest for config and adjust from there.
"2) If setting up Auto Qos Access switch, what would be the ideal bandwidth ?"
your switches will only mark packets and then prioritize them for Cuing. I do not believe you can limit bandwidth with autoQoS on your switches. With that in mind AutoQoS should prioritze your local traffic within that switch just fine and provide the proper cuing for your environment.
i hope this helps :|
0
that1guy15Commented:
Will all this in mind, QoS as i mentioned gets pretty details and really isnt a technology that you can learn as you go. This is even more true when you are trying to correctly setup your network for critical services such as VoIP. QoS also takes a while to get used to and fully understand all the elements as im sure you are seeing now.
If you really want this setup correctly and in the most efficient manor possible i would really suggest bringing in an expert in the field. A good VoIP consultant would be able to come in and get you QoS set up properly. Even though I have setup QoS within a few companies and have a good understanding of the technologies I will never be able fully understand your companies network needs.
If you do use a consultant make sure you work very closely with them to learn as much as possible about QoS.
This is just my opinion though and might not even be an option to you.
For cisco QoS and QoS in general the best book that i read on the subject is the Cisco QoS Exam Certification Guide". Unlike Cisco online docs it actually give good explanation with different real world situations.
You can also check out the design zone on cisco.
http://www.cisco.com/en/US/netsol/ns742/networking_solutions_program_category_home.html
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kavlinsAuthor Commented:
I am looking into this cisco document, hope this will help any future EE visitors
http://www.cisco.com/en/US/technologies/tk543/tk879/technologies_qas0900aecd8020a589.html
 but in the document it doesnt say to apply autoqos discovery first .maybe that doesnt make a difference ?
0
kavlinsAuthor Commented:
i appreciate your opinion. I understand how complex Qos setup can be on a real production network. I am preparing for my ONT 642-845 exam. Self Study with CBTs. Like a coincidence a Qos/Cos rebuilding matter came up and was going to Hire a consulting co. for it. Initially i felt so confident with the Qos configs, but as i went deeper n deeper i found its an ocean, esp. planning.
Like you suggested we maynot have much complicated apps , network . So AutoQos will do the job.
 
0
that1guy15Commented:
Yeah i was the same after my ONT exam. I felt this QoS stuff isnt that bad :)
For what i have setup and help others with here on EE. With basic networks that do not have many apps outside of VoIP to prioritze a simple LLQ setup on the router for WAN access has been more than plenty. Simple is alway preferred.
Im my opionion AutoQoS does too much for a basic network. It does a good job but a simple LLQ config will do the same on your router and its much simpler to troubleshoot and understand.
Just my opinion
0
kavlinsAuthor Commented:
I am going to check with our ISP on their support for classification and do the marking according to that. Decided not to use AutoQos but manually apply it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.