03-05-2010 03:57 AM - edited 03-11-2019 10:17 AM
Hi, I have a 1,6 Mbit/sec link and wish dedicate 50kbit for specific host. The another hosts in the network can use 160kbit. Look the configuration that I did:
hostname(config)# priority-queue outside
hostname(config-priority-queue)# queue-limit 122
hostname(config-priority-queue)# tx-ring-limit 2
hostname(config)# access-list shilova permit tcp 192.168.202.77 any eq 80
hostname(config)# access-list shilova permit tcp 192.168.202.77 any eq 443
hostname(config)# class-map shilova
hostname(config-cmap)# match access-list shilova
hostname(config)# policy-map QoS_policy
hostname(config-pmap)# class shilova
hostname(config-pmap-c)# police input 50000 9000
hostname(config-pmap-c)# priority
hostname(config-pmap-c)# class class-default
hostname(config-pmap-c)# police input 160000 28000
hostname(config)# service-policy QoS_policy interface outside
The configuration is ok?
03-05-2010 04:29 AM
Follow this:
In the following example, non-voice traffic is policed to 256 kbps, whatever is left of the bandwidth is then left for voice traffic.
class-map voice_non_marked
description Match non-Marked VoIP (RTP) packets
match rtp 16384 16383
class-map inspection_default
match default-inspection-traffic
class-map voice_marked
description match Marked VoIP (RTP) packets
match dscp ef
class-map non_voice
match any
!
policy-map VoIP
description Send VoIP packets to Priority Queue
class voice_non_marked
priority
class voice_marked
priority
class non_voice
police 256000
!
policy-map asa_global_fw_policy
class inspection_default
inspect dns maximum-length 512
inspect ftp
inspect h323 h225
inspect h323 ras
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
!
service-policy asa_global_fw_policy global
! Below applies to egress VoIP traffic on outside interface
service-policy VoIP interface outside
! Below applies to egress VoIP traffic on inside interface
service-policy VoIP interface inside
priority-queue outside
priority-queue inside
Refer this: https://supportforums.cisco.com/docs/DOC-1230
-KS
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