class-map match-all CM4-Priority-Apps
description ***** Priority-Applications Class Map *****
match access-group 100
class-map match-all CM5-VoIP-RTP
description ******* Avaya VoIP RTP Class Map ********
match access-group 100
class-map match-any VOICE
match ip precedence 5
match ip dscp ef
class-map match-any VOICE_SIGNALING
match ip precedence 3
match ip dscp af31
class-map match-all CM3-VoIP-Control
description ******** VoIP Control Class Map *********
match access-group 100
!
!
policy-map VOIP_WAN
class VOICE
priority percent 40
class VOICE_SIGNALING
bandwidth percent 5
class class-default
fair-queue
random-detect
policy-map QoS-Policy
description ***** Ensured Marking *****
class CM5-VoIP-RTP
set ip dscp ef
access-list 100 permit ip 172.16.11.0 0.0.0.255 any
access switch
interface GigabitEthernet1/0/2
switchport trunk native vlan 10
switchport mode trunk
srr-queue bandwidth share 10 10 60 20
queue-set 2
priority-queue out
mls qos trust dscp
auto qos voip trust
core switch (router connects to this guy)
interface GigabitEthernet4/24
description **** SL MPLS ROUTER ****
switchport mode access
switchport nonegotiate
service-policy output autoqos-voip-policy
speed 1000
duplex full
qos trust dscp
auto qos voip trust
tx-queue 3
bandwidth percent 33
priority high
shape percent 33
spanning-tree portfast
spanning-tree bpduguard enable
end
c3845-MPLS#sh policy-map int multilink1
Multilink1
Service-policy output: VOIP_WAN
Class-map: VOICE (match-any)
14826 packets, 1033595 bytes
5 minute offered rate 83000 bps, drop rate 0 bps
Match: ip precedence 5
14826 packets, 1033595 bytes
5 minute rate 83000 bps
Match: ip dscp ef (46)
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 40 (%)
Bandwidth 2304 (kbps) Burst 57600 (Bytes)
(pkts matched/bytes matched) 14531/1012187
(total drops/bytes drops) 0/0
Class-map: VOICE_SIGNALING (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip precedence 3
0 packets, 0 bytes
5 minute rate 0 bps
Match: ip dscp af31 (26)
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
Output Queue: Conversation 265
Bandwidth 5 (%)
Bandwidth 288 (kbps)Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Class-map: class-default (match-any)
71405 packets, 76937191 bytes
5 minute offered rate 3598000 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 256
(total queued/total drops/no-buffer drops) 35/19/0
exponential weight: 9
class Transmitted Random drop Tail drop Minimum Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh thresh prob
0 71364/76911090 19/24738 0/0 20 40 1/10
1 0/0 0/0 0/0 22 40 1/10
2 0/0 0/0 0/0 24 40 1/10
3 0/0 0/0 0/0 26 40 1/10
4 0/0 0/0 0/0 28 40 1/10
5 0/0 0/0 0/0 30 40 1/10
6 22/1363 0/0 0/0 32 40 1/10
7 0/0 0/0 0/0 34 40 1/10
rsvp 0/0 0/0 0/0 36 40 1/10
c3845-MPLS#
class-map match-all CM4-Priority-Apps
description ***** Priority-Applications Class Map *****
match access-group 100
class-map match-all CM5-VoIP-RTP
description ******* Avaya VoIP RTP Class Map ********
match access-group 100
class-map match-any VOICE
match ip precedence 5
match ip dscp ef
class-map match-any VOICE_SIGNALING
match ip precedence 3
match ip dscp af31
class-map match-all CM3-VoIP-Control
description ******** VoIP Control Class Map *********
match access-group 100
!
!
policy-map VOIP_WAN
class VOICE
priority percent 40
class VOICE_SIGNALING
bandwidth percent 5
class class-default
fair-queue
random-detect
policy-map QoS-Policy
description ***** Ensured Marking *****
class CM5-VoIP-RTP
set ip dscp ef
all the things related to QOs and COs has given..pls read the document