01-03-2007 10:01 AM - edited 03-03-2019 03:14 PM
Hello,
I need a basic configuration for QOS that will prioritize all VOIP, WEB, FTP, and email traffic. I want all other traffic to be allowed, but I want the traffic above to have priority.
I am new to this, so I am not sure who to setup this policy.
Thanks for any suggestions.
01-03-2007 10:17 AM
Hi
It would be useful if you have three classes rather than two classes with one prioritised
and other left to default
You can have three classes , one for Voice with priority , other spefified ones in another class with some dedicated bandwidth
and left ones in the default class.
Pls refer this link for basic QOS Config
for priority queuing , search for "priority "
Hope this helps
regards
vanesh k
01-03-2007 05:08 PM
I dont' know what router you're using, but here's the basic config that you can use if your router can support NBAR.
class-map match-all VOIP
match ip dscp ef
class-map match-any Call-Signaling
match ip dscp cs3
class-map match-any Critical-Data
match protocol http
match protocol ftp
match protocol smtp
class-map match-any Network-Control
match ip dscp cs6
class-map match-all Scavenger
match ip dscp cs1
policy-map LAN-QoS
class VOIP
priority percent (% of bandwith you want to allocate)
class Call-Signaling
bandwidth percent 5
class Network-Control
bandwidth percent 5
class Critical-Data
set ip dscp af21
bandwidth percent (% of bandwith you want to allocate)
random-detect dscp-based
class Scavenger
bandwidth percent 1
class class-default
bandwidth percent (% of bandwith you want to allocate)
random-detect dscp-based
Then apply this policy-map LAN-QoS to your interface:
- service-policy output LAN-QoS.
By default, Cisco only allows 75% of configured bandwidth, so if you want to use 100% of it, you will need to add this command "max-reserved bandwith 100" to the same interface that you're applying the policy-map.
After applying the policy, you can use this command "sh policy-map interface xxx" to monitor packet hits.
HTH,
hieu
pls rate post if it helps.
01-04-2007 11:02 AM
Hello,
Thanks for the post. How can I tell if this is actually working? I can see the statistics, but there is not a lot of informative information.
Jesse
01-04-2007 12:23 PM
Jesse,
What information are you looking for and not seeing?
Please post your router config with the "show policy-map interface xxx results".
hieu
01-04-2007 01:44 PM
Maybe I need to clarify more. I am trying to prevent users from behind this router from hogging all available bandwidth (normally p2p traffic) and allocating a defined amount ofr bandwidth for http, https, ftp, email, dns, etc..
Also, I am getting ready to change this network to a multiple vlan and router sub-interfaces setup. Right now the current config is for testing.
Thanks, I am very new to this.
01-04-2007 05:00 PM
Your current QoS is working as you've defined it. When you issue the command "show policy-map int f0/0", you're seeing the packet hits against the class-map that you specified as shown in network, critical-data, and default.
I think what you're not seeing is the packet hits for the "class-map match-any PTP". The reason why you don't see it is because you've 3 different policy-maps specified (qos, block-PTP, and port-limit), but only the "qos" is applied to your f0/0 interface, and the "class PTP" is not listed in the "qos" policy.
What you can do is to move the class PTP
police 8000 1000 1000 conform-action drop exceed-action drop violate-action, under policy-map qos.
Take a look at this link and look for "Enterprise QoS Solution Reference Network Design Guide Version 3.3". It'll give you some good info on QoS.
http://www.cisco.com/en/US/netsol/ns656/networking_solutions_program_category_home.html
HTH,
hieu
01-10-2007 09:03 AM
I also have a L3 3550 I would like to configure QOS on, but these commands do not work on this switch. Anyway to do this on a 3550 also?
Thanks again.
jesse
01-10-2007 09:31 AM
On the swith, QoS is configured a little different than in the router.
You enable QoS globally by entering "mls qos" command, then use "mls qos trust dscp/cos" for individual switch port.
or you can use Auto QoS and issue "auto qos voip ciscophone" at the port level.
HTH,
hieu
01-10-2007 06:17 PM
So this is per port, even if ports are associated to a vlan?
01-11-2007 09:15 AM
That's correct. Refer to this link for more info on configuring qos on your switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide