CBWFQ su ATM

Voice su IP

Moderatore: Federico.Lagni

Rispondi
andITcsco
Cisco fan
Messaggi: 63
Iscritto il: mer 05 apr , 2006 4:06 pm

Ciao a tutti,

sto cercando di implementare QoS su un Cisco 837 IOS 12.4.
Ho impostato access-list, classi e policy-map per CBWFQ-LLQ.

Non riesco ad applicare il comando service-policy output VoIP sull'interfaccia atm.
Mi restituisce il messaggio CBWFQ non supportato.

Qualcuno mi può aiutare?Posto la conf.

Grazie.
!
version 12.4
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname xxxx
!
boot-start-marker
boot-end-marker
!
enable secret 5
!
no aaa new-model
!
resource policy
!
!
!
ip cef
!
class-map match-all SIP
match access-group 102
class-map match-all RTP
match access-group 103
!
!
policy-map VoIP
class SIP
priority 128
class RTP
priority 128

!
!
!
!
!
!
!
interface Loopback0
description Loopback di NAT
ip address 6x.xxx.xxx.xxx 255.xxx.xxx.xxx
!
interface Ethernet0
ip address 192.168.0.253 255.255.255.0
ip nat inside
no ip virtual-reassembly
hold-queue 100 out
!
interface Ethernet2
no ip address
no ip virtual-reassembly
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
no atm auto-configuration
no atm ilmi-keepalive
no atm address-registration
no atm ilmi-enable
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0.35 point-to-point
ip address 21.xxx.xxx.xxx 255.xxx.xxx.xxx
ip nat outside
no ip virtual-reassembly
no snmp trap link-status
pvc 8/35
oam-pvc manage
encapsulation aal5snap
!
!
interface FastEthernet1
duplex auto
speed auto
!
interface FastEthernet2
duplex auto
speed auto
!
interface FastEthernet3
duplex auto
speed auto
!
interface FastEthernet4
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 ATM0.35
no ip http server
no ip http secure-server
!
no ip nat service sip tcp port 5060
no ip nat service sip udp port 5060
!
access-list 101 permit ip 192.168.0.0 0.0.0.255 any
access-list 102 permit udp any any eq 5060
access-list 103 permit udp any range 60000 65000 <ip sip Proxy>
!
control-plane
!
!
line con 0
password
login
no modem enable
line aux 0
password
login
line vty 0 4
password
login
!
scheduler max-task-time 5000
Avatar utente
TheIrish
Site Admin
Messaggi: 1840
Iscritto il: dom 14 mar , 2004 11:26 pm
Località: Udine
Contatta:

Potresti postare uno show ver?
andITcsco
Cisco fan
Messaggi: 63
Iscritto il: mer 05 apr , 2006 4:06 pm

Cisco IOS Software, C837 Software (C837-K9O3Y6-M), Version 12.4(5b), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 19-Apr-06 05:59 by ssearch

ROM: System Bootstrap, Version 12.2(11r)YV3, RELEASE SOFTWARE (fc2)

XXXX uptime is 3 days, 41 minutes
System returned to ROM by power-on
System image file is "flash:c837-k9o3y6-mz.124-5b.bin"
andITcsco
Cisco fan
Messaggi: 63
Iscritto il: mer 05 apr , 2006 4:06 pm

Mi sono documentato un pò al seguente URL

http://www.cisco.com/univercd/cc/td/doc ... osh_bk.pdf

Non è che il comando

Codice: Seleziona tutto

service-poliy output <name>
va applicato al PVC?Devo anche configurare vbr-nrt?
Ho trovato questa configurazione di esempio (pag880).

Codice: Seleziona tutto

class-map class1
match access-group 101

class-map class2
match access-group 102

policy-map policy1
class class1
bandwidth 500
queue-limit 30

class class2
bandwidth 1000

interface ATM1/1/0.46 multipoint
ip address 200.126.186.2 255.255.255.0
pvc cisco 46
  vbr-nrt 2000 2000
  encap aal5snap
  service policy output policy1
andITcsco
Cisco fan
Messaggi: 63
Iscritto il: mer 05 apr , 2006 4:06 pm

Niente da fare, finchè sulla ATM passa solo traffico VoIP SIP la qualità delle chiamate è buona.
Appena faccio partire del traffico dati in upload verso Internet la qualità della voce si degrada pesantemente.
Tengo a precisare che io sento bene dal mio IP-Phone, è il chiamato esterno che sente male.

Qualcuno ha qualche idea?
Posto la mia ultima configurazione e l'output relativo alla policy.

Ricordo che l'accesso DSL di BT su cui sto lavorando ha queste caratteristiche:

2Mbit/s con MCR 256 Kbit/s

Codice: Seleziona tutto

sh run
Building configuration...

Current configuration : 3245 bytes
!
version 12.4
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname XXXX
!
boot-start-marker
boot-end-marker
!
enable secret 
!
no aaa new-model
!
resource policy
!
!
!
ip cef
!
!
!
!
class-map match-any SIP-calls
 match access-group 102
 match access-group 103
!
!
policy-map VoIP
 class SIP-calls
  priority 128
 class class-default
  fair-queue
!
! 
!
!
!
interface Loopback0
 description Loopback di NAT
 ip address 6x.xxx.xxx.xxx 255.xxx.xxx.xxx
!
interface Ethernet0
 ip address 192.168.0.253 255.255.255.0
 ip nat inside
 no ip virtual-reassembly
 hold-queue 100 out
!
interface Ethernet2
 no ip address
 shutdown
 hold-queue 100 out
!
interface ATM0
 no ip address
 no atm auto-configuration
 no atm ilmi-keepalive
 no atm address-registration
 no atm ilmi-enable
 dsl operating-mode auto
 hold-queue 224 in
!
interface ATM0.35 point-to-point
 ip address 2xx.xxx.xxx.xxx 255.xxx.xxx.xxx
 ip nat outside
 no ip virtual-reassembly
 no snmp trap link-status
 pvc 8/35 
  vbr-nrt 800 256
  oam-pvc manage
  encapsulation aal5snap
  service-policy output VoIP
 !
!
interface FastEthernet1
 duplex auto
 speed auto
!
interface FastEthernet2
 duplex auto
 speed auto
!
interface FastEthernet3
 duplex auto
 speed auto
!
interface FastEthernet4
 duplex auto
 speed auto
!
ip route 0.0.0.0 0.0.0.0 ATM0.35
no ip http server
no ip http secure-server
!
no ip nat service sip tcp port 5060
no ip nat service sip udp port 5060
ip nat inside source list 101 interface Loopback0 overload
!
access-list 101 permit ip 192.168.0.0 0.0.0.255 any
access-list 102 permit udp any any eq 5060
access-list 103 permit udp any range 60000 65000 <ip pubblico Proxy-SIP operatore VoIP>
!
control-plane
!
!
line con 0
 password 
 login
 no modem enable
line aux 0
 password 
 login
line vty 0 4
 password 
 login
!
scheduler max-task-time 5000

Ecco cosa vedo sulla policy dopo un pò di chiamate VoIP:

Codice: Seleziona tutto

Service-policy output: VoIP

    Class-map: SIP-calls (match-any)
      49630 packets, 3664140 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group 102
        150 packets, 101580 bytes
        5 minute rate 0 bps
      Match: access-group 103
        49480 packets, 3562560 bytes
        5 minute rate 0 bps
      Queueing
        Strict Priority
        Output Queue: Conversation 40
        Bandwidth 128 (kbps) Burst 3200 (Bytes)
        (pkts matched/bytes matched) 8183/594189
        (total drops/bytes drops) 0/0

    Class-map: class-default (match-any)
      19278 packets, 10064404 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
Match: any
      Queueing
        Flow Based Fair Queueing
        Maximum Number of Hashed Queues 32
        (total queued/total drops/no-buffer drops) 0/0/0
Rispondi