cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
643
Views
5
Helpful
10
Replies

QOS Basic Setup

Jesse Hottle
Level 1
Level 1

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.

10 Replies 10

network.king
Level 4
Level 4

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

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800bd909.html#89799

for priority queuing , search for "priority "

Hope this helps

regards

vanesh k

Hieu Cao
Level 4
Level 4

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.

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

Jesse,

What information are you looking for and not seeing?

Please post your router config with the "show policy-map interface xxx results".

hieu

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.

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

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

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

So this is per port, even if ports are associated to a vlan?

Review Cisco Networking products for a $25 gift card