Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1104
  • Last Modified:

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.
0
bts86
Asked:
bts86
  • 2
1 Solution
 
Hassan BesherCommented:
At VOIP you should implement priority  not Bandwidth :

policy-map LLQ
 class voice-class-map
  priority  2048

 class guest-class-map
  police cir 2097000
   exceed-action drop

class class-default
  fair-queue

interface
service-policy output LLQ
0
 
bts86Author Commented:
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?
0
 
Hassan BesherCommented:
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).
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now