12-26-2009 06:43 AM - edited 03-11-2019 09:51 AM
Hi, I would like do use Priority Queuing for voice on the OUTSIDE interface. As far as I know the QOS meganism only kicks in when there is congestion on the interface. But my ASA 5505 is connected to a 80mbps down and 10 mbps up cable modem. How can I tell the ASA that it is not connected to an interface with 100/100 mbps bandwidth?
On a router I would use the bandwidth command, but this is not available on the ASA as far as I know.
Thanks!
Solved! Go to Solution.
12-27-2009 07:24 AM
You are correct.
Traffic shaping is used to match device and link speeds, thereby controlling packet loss, variable delay, and link saturation, which can cause jitter and delay.
http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/qos.html#wp1065649
Example: Shaping outside interface traffic to 2 Mbps and provide priority queueing for VoIP traffic that is tagged with DSCP EF and AF13:
class-map voice_traffic
match dscp EF AF13
policy-map qos_class_policy
class voice_traffic
priority
policy-map qos_outside_policy
class class-default
shape average 2000000 16000
service-policy qos_class_policy
service-policy qos_outside_policy interface outside
-KS
12-27-2009 07:24 AM
You are correct.
Traffic shaping is used to match device and link speeds, thereby controlling packet loss, variable delay, and link saturation, which can cause jitter and delay.
http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/qos.html#wp1065649
Example: Shaping outside interface traffic to 2 Mbps and provide priority queueing for VoIP traffic that is tagged with DSCP EF and AF13:
class-map voice_traffic
match dscp EF AF13
policy-map qos_class_policy
class voice_traffic
priority
policy-map qos_outside_policy
class class-default
shape average 2000000 16000
service-policy qos_class_policy
service-policy qos_outside_policy interface outside
-KS
12-31-2009 07:07 AM
Sorry for my late response, but thanks a lot, I'm looking into it and see if it works.
02-27-2010 06:26 AM
Hi,
I've just tried to configure like you said, but for some reason no traffic is matching classes other than class-default.
priority-queue OUTSIDE
service-policy OUTSIDE_PM interface OUTSIDE
policy-map OUTSIDE_PM
class class-default
shape average 4504000
service-policy SHAPED_OUTSIDE_PM
policy-map SHAPED_OUTSIDE_PM
class VOICE_CM
priority
class LLQ_ACL_CM
priority
class IKE_ACL_CM
priority
class class-default
class-map VOICE_CM
match dscp cs3 af31 ef
class-map IKE_ACL_CM
match access-list IKE_ACL
class-map LLQ_ACL_CM
match access-list LLQ_ACL
access-list IKE_ACL line 1 extended permit udp any eq isakmp any
access-list IKE_ACL line 2 extended permit udp any any eq isakmp
access-list LLQ_ACL line 1 extended permit udp any eq 9987 any
I'm trying to achieve the following:
I let this configuration running for a while, then I did a "show service-policy int OUTSIDE" and it turned out that only the class class-default had any matches:
Interface OUTSIDE:
Service-policy: OUTSIDE_PM
Class-map: class-default
shape (average) cir 4504000, bc 18016
(pkts output/bytes output) 85882/21745072
(total drops/no-buffer drops) 99/0
Service-policy: SHAPED_OUTSIDE_PM
Class-map: VOICE_CM
priority
Queueing
queue limit 75 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
Class-map: LLQ_ACL_CM
priority
Queueing
queue limit 75 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
Class-map: IKE_ACL_CM
priority
Queueing
queue limit 75 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
Class-map: class-default
Default Queueing
queue limit 75 packets
(queue depth/total drops/no-buffer drops) 0/99/0
(pkts output/bytes output) 85884/21745154
Can anyone tell my why this is happening and why the other classes are not being matched?
Thanks!
12-28-2009 03:50 PM
You can also look at that has a similar example as KS's.
https://supportforums.cisco.com/docs/DOC-1230#Traffic_Policing_with_Prioritization
I hope it helps.
PK
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