[c-nsp] VoIP + QOS

Eusebio López eusebio at palmanet.net
Mon Mar 13 07:53:40 EST 2006


Router#show policy-map interface
 ATM0.1: VC 8/36 -
  Service-policy output: VOICE-LLQ
    Class-map: voice (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group 100
      Queueing
        Strict Priority
        Output Queue: Conversation 40
        Bandwidth 100 (kbps) Burst 2500 (Bytes)
        (pkts matched/bytes matched) 0/0
        (total drops/bytes drops) 0/0
    Class-map: class-default (match-any)
      19100942 packets, 4910026366 bytes
      5 minute offered rate 250000 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) 1/39/0
         exponential weight: 9
  class    Transmitted      Random drop      Tail drop    Minimum Maximum  Mark
           pkts/bytes       pkts/bytes       pkts/bytes    thresh  thresh  prob
      0 19100991/4910119901     39/7828           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     370/30026           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
 

	 
	 
	-----Mensaje original----- 
	De: Oliver Boehmer (oboehmer) [mailto:oboehmer at cisco.com] 
	Enviado el: lun 13/03/2006 13:33 
	Para: Eusebio López; cisco-nsp at puck.nether.net 
	CC: 
	Asunto: RE: [c-nsp] VoIP + QOS
	
	

	can you pls include a "show policy-map interface" output? Are you sure your Voice packets are marked correctly and are matched by the class-map?

	Is the ATM traffic shaping set up correctly? I.e. are you sure you have 320kBit upstream available? 

	        oli 
	  
	Eusebio López <mailto:eusebio at palmanet.net> wrote on Monday, March 13, 2006 1:26 PM: 

	> Hi, 
	> 
	> I have proven the configuration that your you command me and I 
	> believe that something does not work. 
	> I have saturated the line with a program p2p, and the calls have 
	> cuts.  I send the configuration to you of my router in case I badly 
	> have something formed.  
	> 
	> Cheers 
	> 
	> Current configuration : 1404 bytes 
	> ! 
	> version 12.2 
	> no service pad 
	> service timestamps debug uptime 
	> service timestamps log uptime 
	> service password-encryption 
	> ! 
	> hostname Router 
	> ! 
	> logging queue-limit 100 
	> ! 
	> username 
	> aaa new-model 
	> ! 
	> ! 
	> aaa session-id common 
	> ip subnet-zero 
	> ! 
	> ! 
	> ! 
	> ! 
	> class-map match-all voice 
	>   match access-group 100 
	> ! 
	> ! 
	> policy-map VOICE-LLQ 
	>   class voice 
	>     priority 100 
	>   class class-default 
	>    fair-queue 
	>    random-detect 
	> ! 
	> ! 
	> ! 
	> interface Ethernet0 
	>  ip address 10.0.0.9 255.255.255.0 
	>  no cdp enable 
	>  hold-queue 100 out 
	> ! 
	> interface ATM0 
	>  no ip address 
	>  no atm ilmi-keepalive 
	>  dsl operating-mode auto 
	>  hold-queue 224 in 
	> ! 
	> interface ATM0.1 point-to-point 
	>  ip address 10.10.0.58 255.255.255.252 
	>  pvc 8/36 
	>   vbr-nrt 320 320 
	>   tx-ring-limit 3 
	>   oam-pvc manage 
	>   encapsulation aal5snap 
	>   service-policy output VOICE-LLQ 
	>  ! 
	> ! 
	> ip classless 
	> ip route 0.0.0.0 0.0.0.0 ATM0.1 
	> ip http server 
	> ! 
	> access-list 1 permit 10.0.0.0 0.0.0.255 
	> access-list 100 permit ip any any precedence critical 
	> no cdp run 
	> ! 
	> radius-server authorization permit missing Service-Type 
	> ! 
	> line con 0 
	>  stopbits 1 
	> line vty 0 4 
	> ! 
	> scheduler max-task-time 5000 
	> ! 
	> end 
	> 
	> 
	>       -----Mensaje original----- 
	>       De: Oliver Boehmer (oboehmer) [mailto:oboehmer at cisco.com] 
	>       Enviado el: lun 06/03/2006 12:46 
	>       Para: Eusebio López; cisco-nsp at puck.nether.net 
	>       CC: 
	>       Asunto: RE: [c-nsp] VoIP + QOS 
	> 
	> 
	> 
	>       Eusebio López <mailto:eusebio at palmanet.net> wrote on Monday, March 
	> 06, 2006 12:27 PM: 
	> 
	>       > router is a Cisco 827 h, and the ios Version 12.2(13)ZH2 
	> 
	>       then, as a starter, a simple configuration: 
	> 
	>       access-list 100 permit <match-your-voice-packets-here> 
	>       ! 
	>       class-map voice 
	>        match access-group 100 
	>       ! 
	>       ! reserve 100 kBit for voice, do LLQ 
	>       ! and do WRED for your other traffic 
	>       policy-map VOICE-LLQ 
	>        class voice 
	>         priority 100 
	>        class class-default 
	>         random-detect 
	>       ! 
	>       int atm0.1 
	>        pvc 0/35 
	>         vbr-nrt ... 
	>          service-policy output VOICE-LLQ 
	>          tx-ring-limit 3 
	> 
	>       Others may chime in.. 
	> 
	>               oli 




More information about the cisco-nsp mailing list