Link to home
Start Free TrialLog in
Avatar of bts86
bts86

asked on

Apply Cisco QoS to outside interface

I have a new cisco 891 router that I am trying to configure for QoS.

I have some experience with cisco ios just not qos.

What I am trying to accomplish is to guarantee at least 2mbps bandwidth to the VoIP vlan and limit a guest vlan to 2mbps maximum. There are other vlans and they should have the remaining bandwidth.

I configured class maps and policy maps as follows:

class-map match-any guest-class-map
 match access-group 40
class-map match-any voice-class-map
 match access-group 20
!
policy-map default-policy
 class class-default
  bandwidth remaining percent 100
policy-map voice-traffic
 class voice-class-map
  bandwidth 2048
policy-map guest-traffic
 class guest-class-map
  police cir 2097000
   exceed-action drop
!

access-list 20 permit 10.3.99.0 0.0.0.255
access-list 40 permit 10.6.99.0 0.0.0.255

I believe these are correct for what I am looking to accomplish. Correct me if they are not.

The question I have is how to apply these policies to my outside interface?

It only allows me to attach one policy to output.

It does not allow me to attach any to input. Says bandwidth command not allowed at parent level in input direction.
ASKER CERTIFIED SOLUTION
Avatar of Hassan Besher
Hassan Besher
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bts86
bts86

ASKER

Ok, I will try that.

I have a question about priority, it is unclear to me in cisco's documentation.

If i allocate 2048K to the voice class, is that bandwidth still available to the default class if it is not being used? And can the voice class utilize more bandwidth if it needs to?
your priority option will make sure that you have the specific bandwidth you say and not more also it will make sure to always put voip traffic in the first of the queue (Strict queue).