I reloaded the router and reapplied the QoS configuration.  No dice.  Still
not matching in the nested policy.  Very weird that it is working like a
champ in the SB router.  I've done this a couple times in the past and
never run into this issue.  I'm going to play with it a little longer, but
may have to come back to it in the morning with a fresh set of coffee
fueled eyes...


On Sun, Mar 3, 2013 at 10:07 PM, Bill <whl...@gmail.com> wrote:

> Well it looks like it is picking up the RTP header compression, shaping
> and even the service policy but not doing it.
>
> Have you tried rebooting the router or copy, delete then reapply ?
>
>
> Sent from my iPad
>
> On Mar 3, 2013, at 8:43 PM, Jason Lee <jas7...@gmail.com> wrote:
>
> All,
>
> Was wondering if I could get a second set of eyes on my Class Based
> Shaping configuration.  I just implemented between SA and SB.  The same
> configuration is used on both.  On SB I see the packets being captured in
> both policy maps.  On SA I don't see traffic being captured in the nested
> policy-map containing voice and signaling configuration.  Heres the
> output...
>
>
> r3800-2j-a(config)#do sh policy-map inter s0/2/0.1
>  Serial0/2/0.1: DLCI 201 -
>
>   Service-policy output: shape-policy-map
>
>     Class-map: class-default (match-any)
>       3234 packets, 563006 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) 0/0/0
>       (pkts output/bytes output) 3234/545846
>       shape (average) cir 384000, bc 3840, be 0
>       target shape rate 384000
>         lower bound cir 0,  adapt to fecn 0
>       compress:
>           header ip rtp
>           UDP/RTP (compression on, Cisco, RTP)
>             Sent:    455 total, 452 compressed,
>                      17160 bytes saved, 10140 bytes sent
>                      2.69 efficiency improvement factor
>                      99% hit ratio, five minute miss rate 0 misses/sec, 0
> max
>                      rate 0 bps
>
>
>       Service-policy : llq
>
>         queue stats for all priority classes:
>
>           queue limit 64 packets
>           (queue depth/total drops/no-buffer drops) 0/0/0
>           (pkts output/bytes output) 0/0
>
>  r3800-2j-a(config)#do sh policy-map inter s0/2/0.1
>  Serial0/2/0.1: DLCI 201 -
>
>   Service-policy output: shape-policy-map
>
>     Class-map: class-default (match-any)
>       3234 packets, 563006 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) 0/0/0
>       (pkts output/bytes output) 3234/545846
>       shape (average) cir 384000, bc 3840, be 0
>       target shape rate 384000
>         lower bound cir 0,  adapt to fecn 0
>       compress:
>           header ip rtp
>           UDP/RTP (compression on, Cisco, RTP)
>             Sent:    455 total, 452 compressed,
>                      17160 bytes saved, 10140 bytes sent
>                      2.69 efficiency improvement factor
>                      99% hit ratio, five minute miss rate 0 misses/sec, 0
> max
>                      rate 0 bps
>
>
>       Service-policy : llq
>
>         queue stats for all priority classes:
>
>           queue limit 64 packets
>           (queue depth/total drops/no-buffer drops) 0/0/0
>           (pkts output/bytes output) 0/0
>
>         Class-map: voice (match-all)
>           0 packets, 0 bytes
>           5 minute offered rate 0 bps, drop rate 0 bps
>           Match: ip dscp ef (46)
>           Match: protocol rtp
>           Match: protocol rtcp
>           Priority: 24 kbps, burst bytes 1500, b/w exceed drops: 0
>
>
>         Class-map: signal (match-all)
>           0 packets, 0 bytes
>           5 minute offered rate 0 bps, drop rate 0 bps
>           Match: ip dscp cs3 (24)
>           Match: protocol sip
>           Match: protocol h323
>           Match: protocol mgcp
>           Match: protocol skinny
>           Queueing
>           queue limit 64 packets
>           (queue depth/total drops/no-buffer drops) 0/0/0
>           (pkts output/bytes output) 0/0
>           bandwidth 18 kbps
>
>         Class-map: class-default (match-any)
>           3234 packets, 563006 bytes
>           5 minute offered rate 0 bps, drop rate 0 bps
>           Match: any
>
>           queue limit 64 packets
>           (queue depth/total drops/no-buffer drops) 0/0/0
>           (pkts output/bytes output) 3234/545846
> r3800-2j-a(config)#
>           5 minute offered rate 0 bps, drop rate 0 bps
>           Match: ip dscp ef (46)
>           Match: protocol rtp
>           Match: protocol rtcp
>           Priority: 24 kbps, burst bytes 1500, b/w exceed drops: 0
>
>
> *        Class-map: signal (match-all)*
> *          0 packets, 0 bytes*
>           5 minute offered rate 0 bps, drop rate 0 bps
>           Match: ip dscp cs3 (24)
>           Match: protocol sip
>           Match: protocol h323
>           Match: protocol mgcp
>           Match: protocol skinny
>           Queueing
>           queue limit 64 packets
>           (queue depth/total drops/no-buffer drops) 0/0/0
>           (pkts output/bytes output) 0/0
>           bandwidth 18 kbps
>
>         Class-map: class-default (match-any)
>           3234 packets, 563006 bytes
>           5 minute offered rate 0 bps, drop rate 0 bps
>           Match: any
>
>           queue limit 64 packets
>           (queue depth/total drops/no-buffer drops) 0/0/0
>           (pkts output/bytes output) 3234/545846
> r3800-2j-a(config)#
>
>
>
>
> Here's my config:
>
>
> r3800-2j-a#sh run
> Building configuration...
>
>
> Current configuration : 6530 bytes
> !
> ! Last configuration change at 18:42:14 PST Sun Mar 3 2013
> ! NVRAM config last updated at 15:00:54 PST Fri Mar 1 2013
> !
> version 12.4
> service timestamps debug datetime msec
> service timestamps log datetime msec
> no service password-encryption
> !
> hostname r3800-2j-a
> !
> boot-start-marker
> boot system flash c3825-adventerprisek9_ivs_li-mz.124-24.T4.bin
> boot-end-marker
> !
> card type t1 0 0
> logging message-counter syslog
> no logging buffered
> no logging console
> enable password cisco
> !
> no aaa new-model
> clock timezone PST -8
> network-clock-participate wic 0
> network-clock-select 1 T1 0/0/0
> !
> dot11 syslog
> ip source-route
> ip cef
> !
> !
> ip dhcp excluded-address 192.168.102.0 192.168.102.49
> ip dhcp excluded-address 192.168.102.60 192.168.102.255
> ip dhcp excluded-address 192.168.104.0 192.168.104.49
> ip dhcp excluded-address 192.168.104.60 192.168.104.255
> ip dhcp excluded-address 192.168.106.0 192.168.106.49
> ip dhcp excluded-address 192.168.106.60 192.168.106.255
> !
> ip dhcp pool sa
>    network 192.168.102.0 255.255.255.0
>    default-router 192.168.102.1
>    option 150 ip 192.168.100.101 192.168.100.100
> !
> ip dhcp pool sb
>    network 192.168.104.0 255.255.255.0
>    default-router 192.168.104.1
>    option 150 ip 192.168.100.101 192.168.100.100
> !
> ip dhcp pool sc
>    network 192.168.106.0 255.255.255.0
>    default-router 192.168.106.1
>    option 150 ip 192.168.100.101 192.168.100.100
> !
> !
> no ip domain lookup
> ip domain name cisco.com
> no ipv6 cef
> !
> multilink bundle-name authenticated
> !
> !
> !
> !
> isdn switch-type primary-ni
> !
> voice-card 0
>  dsp services dspfarm
> !
> !
> !
> voice service voip
>  allow-connections h323 to h323
>  allow-connections h323 to sip
>  allow-connections sip to h323
>  allow-connections sip to sip
>  fax protocol cisco
> !
> !
> !
> voice class codec 1
>  codec preference 1 g711ulaw
>  codec preference 2 g729r8
> !
> !
> !
> !
> voice class h323 1
>   h225 timeout tcp establish 3
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> !
> archive
>  log config
>   hidekeys
> !
> !
> !
> !
> !
> controller T1 0/0/0
>  cablelength long 0db
>  pri-group timeslots 1-3,24 service mgcp
> !
> controller T1 0/0/1
>  cablelength long 0db
> !
> !
> class-map match-all signal
>  match ip dscp cs3
>  match protocol sip
>  match protocol h323
>  match protocol mgcp
>  match protocol skinny
> class-map match-all voice
>  match ip dscp ef
>  match protocol rtp
>  match protocol rtcp
> !
> !
> policy-map llq
>  class voice
>     priority 24
>  class signal
>     bandwidth 18
> policy-map shape-policy-map
>  class class-default
>     shape average 384000 3840 0
>    compress header ip rtp
>   service-policy llq
> !
> !
> !
> !
> !
> interface Loopback0
>  ip address 192.168.96.10 255.255.255.255
>  h323-gateway voip interface
>  h323-gateway voip id VIA ipaddr 192.168.96.10 1719
>  h323-gateway voip h323-id CUBE
>  h323-gateway voip bind srcaddr 192.168.96.10
> !
> interface GigabitEthernet0/0
>  no ip address
>  duplex full
>  speed 100
>  media-type rj45
> !
> interface GigabitEthernet0/0.100
>  encapsulation dot1Q 100 native
>  ip address 192.168.100.1 255.255.255.0
> !
> interface GigabitEthernet0/0.101
>  encapsulation dot1Q 101
>  ip address 192.168.101.1 255.255.255.0
> !
> interface GigabitEthernet0/0.102
>  encapsulation dot1Q 102
>  ip address 192.168.102.1 255.255.255.0
> !
> interface GigabitEthernet0/1
>  description Lab_GW_DO_NOT_DISABLE
>  ip address 172.16.1.251 255.255.0.0
>  load-interval 30
>  duplex auto
>  speed auto
>  media-type rj45
> !
> interface FastEthernet0/3/0
> !
> interface FastEthernet0/3/1
> !
> interface FastEthernet0/3/2
> !
> interface FastEthernet0/3/3
> !
> interface Serial0/0/0:23
>  no ip address
>  encapsulation hdlc
>  isdn switch-type primary-ni
>  isdn incoming-voice voice
>  isdn bind-l3 ccm-manager
>  isdn outgoing display-ie
>  no cdp enable
> !
> interface Serial0/2/0
>  no ip address
>  encapsulation frame-relay
>  frame-relay lmi-type ansi
> !
> interface Serial0/2/0.1 point-to-point
>  description FR-WAN TO r2800-2j-a - DLCI 201
>  ip address 192.168.111.5 255.255.255.252
>  ip ospf mtu-ignore
>  frame-relay interface-dlci 201
>   class shape-map-class
> !
> interface Serial0/2/0.2 point-to-point
>  description FR-WAN TO r2800-2j-b - DLCI 202
>  ip address 192.168.111.9 255.255.255.252
>  ip ospf mtu-ignore
>  frame-relay interface-dlci 202
> !
> interface Serial0/2/1
>  no ip address
>  encapsulation ppp
>  shutdown
>  clock rate 2000000
> !
> interface Vlan1
>  no ip address
> !
> router ospf 1
>  log-adjacency-changes
>  network 192.168.0.0 0.0.255.255 area 0
> !
> ip forward-protocol nd
> ip route 0.0.0.0 0.0.0.0 172.16.1.1 name LAB_GW_DO_NOT_REMOVE
> ip route 192.168.110.0 255.255.255.0 192.168.101.2 name PSTN_LAN
> no ip http server
> no ip http secure-server
> !
> !
> !
> !
> map-class frame-relay shape-map-class
>  frame-relay fragment 480
>  frame-relay fair-queue
>  service-policy output shape-policy-map
> !
> !
> !
> !
> !
> !
> control-plane
> !
> !
> !
> voice-port 0/0/0:23
> !
> voice-port 0/1/0
> !
> voice-port 0/1/1
> !
> ccm-manager redundant-host 192.168.100.100
> ccm-manager mgcp
> no ccm-manager fax protocol cisco
> ccm-manager music-on-hold
> ccm-manager config server 192.168.100.100
> !
> mgcp
> mgcp call-agent 192.168.100.101 2427 service-type mgcp version 0.1
> mgcp dtmf-relay voip codec all mode out-of-band
> mgcp modem passthrough voip mode nse
> mgcp package-capability rtp-package
> mgcp package-capability sst-package
> mgcp package-capability pre-package
> mgcp default-package mt-package
> no mgcp timer receive-rtcp
> mgcp sdp simple
> mgcp fax t38 ecm
> mgcp fax t38 inhibit
> mgcp bind control source-interface Loopback0
> mgcp bind media source-interface Loopback0
> !
> mgcp profile default
> !
> sccp local Loopback0
> sccp ccm 192.168.100.101 identifier 1 version 7.0
> sccp ccm 192.168.100.100 identifier 2 version 7.0
> sccp
> !
> sccp ccm group 1
>  associate ccm 1 priority 1
>  associate ccm 2 priority 2
>  associate profile 1 register sa-xcode
>  associate profile 2 register sa-conf
> !
> dspfarm profile 1 transcode
>  codec g711ulaw
>  codec g711alaw
>  codec g729ar8
>  codec g729abr8
>  codec g729r8
>  maximum sessions 4
>  associate application SCCP
> !
> dspfarm profile 2 conference
>  codec g711ulaw
>  codec g711alaw
>  codec g729ar8
>  codec g729abr8
>  codec g729r8
>  codec g729br8
>  maximum sessions 2
>  associate application SCCP
> !
> !
> dial-peer voice 9167 voip
>  voice-class h323 1
>  incoming called-number 9167
>  dtmf-relay h245-alphanumeric
>  no vad
> !
> dial-peer voice 91671 voip
>  destination-pattern 9167
>  session target ras
>  dtmf-relay h245-alphanumeric
>  no vad
> !
> !
> gateway
>  timer receive-rtp 1200
> !
> !
> !
> gatekeeper
>  zone local USUK ipexpert.com 192.168.96.10
>  zone local VIA ipexpert.com
>  zone remote INDIA ipexpert.com 192.168.101.2 1719 outvia VIA
>  zone prefix INDIA 9167*
>  no shutdown
> !
> !
> line con 0
> line aux 0
> line vty 0 4
>  password cisco
>  login
> !
> scheduler allocate 20000 1000
> ntp server 172.16.1.1
> end
>
> r3800-2j-a#
>
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
> Are you a CCNP or CCIE and looking for a job? Check out
> www.PlatinumPlacement.com
>
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to