[c-nsp] QOS for VOIP 1811
Paul Stewart
paul at paulstewart.org
Mon Oct 20 19:34:36 EDT 2008
Can anyone tell me what's wrong with this configuration or a better way to
do it? It doesn't appear to be working.
1811 - Cisco IOS Software, C181X Software (C181X-ADVENTERPRISEK9-M), Version
12.4(20)T, RELEASE SOFTWARE (fc3)
3500Kb/s bi-directional connection via PPPOE - trying to give VOIP priority.
matching against destination IP address of a Session Border Controller..
class-map match-all Call-Signalling
match access-group 155
class-map match-all Voice
match access-group 155
!
!
policy-map VOIP
class Voice
priority 100
class Call-Signalling
bandwidth 10
class class-default
fair-queue
random-detect
interface FastEthernet0
bandwidth 3500
no ip address
ip mtu 1492
ip nat outside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
service-policy output VOIP
interface Dialer0
bandwidth 3500
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1452
load-interval 30
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username xxxxxxxxxxxxxx
service-policy output VOIP
As you can see, I'm trying to match in two places to cover all bases.. Also
cannot find a way to do an inbound service policy.. Of which is most likely
my problem. If I hit peak traffic my voice quality gets bad..
Can someone suggest a better way? ;) I've tried applying the QOS policy on
Vlan1 (hoping I would get traffic in and out of the router that way) and get
this:
demarc-psa(config-if)#service-policy output VOIP
Configuration failed!
It's marking the packets correctly but not keeping the voice quality intact:
demarc-psa#sh policy-map interface FastEthernet 0
FastEthernet0
Service-policy output: VOIP
queue stats for all priority classes:
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 724224/228059272
Class-map: Voice (match-all)
732132 packets, 230445897 bytes
5 minute offered rate 80000 bps, drop rate 0 bps
Match: access-group 155
Priority: 100 kbps, burst bytes 2500, b/w exceed drops: 0
Class-map: Call-Signalling (match-all)
56 packets, 42988 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 155
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 56/42988
bandwidth 10 kbps
Class-map: class-default (match-any)
3392831 packets, 378440929 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
(pkts output/bytes output) 3392833/378442341
Fair-queue: per-flow queue limit 16
Exp-weight-constant: 9 (1/512)
Mean queue depth: 0 packets
class Transmitted Random drop Tail/Flow drop Minimum
Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh
thresh prob
0 3389220/378170759 0/0 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 3613/271582 0/0 0/0
32 40 1/10
7 0/0 0/0 0/0
34 40 1/10
Thanks in advance,
Paul
More information about the cisco-nsp
mailing list