[c-nsp] VLAN traffic shaping on Cat6500/SUP720

Tantsura, Jeff jtantsura at ugceurope.com
Mon Jun 27 09:07:54 EDT 2005


There's no hierarchy in your example.
Hierarchical means a child policy-map within a parent policy-map and should
be configured like:

Router(config)# policy-map child
Router(config-pmap)# class voice
Router(config-pmap-c)# priority 50

Router(config)# policy-map parent
Router(config-pmap)# class class-default
Router(config-pmap-c)# shape average 10000000
Router(config-pmap-c)# service-policy child

--
Jeff Tantsura  CCIE# 11416
Senior IP Network Engineer


-----Original Message-----
From: Vladimir Ivashchenko [mailto:hazard at francoudi.com] 
Sent: 27 June 2005 12:04
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] VLAN traffic shaping on Cat6500/SUP720

Hi,

Is there a way to make hierarchical traffic shaping work on VLAN
interface on Cat6500 with SUP720? I understand that traffic shaping is
not supported by PFC, so we issued "no mls switching" command and from
"show policy-map interface" I see that packets are passing through.
However, it seems that no shaping is done, as the policy is passing 2
mbps of traffic even though I have set "shape average 512000" on it. We
tried it on 12.2(17d)SXB1 and 12.2(17d)SXB8.

no mls switching
!
class-map match-all Any_traffic
  match any
!
policy-map Test
  class Any_traffic
    shape average 512000 2048 2048
!
interface Vlan809
 service-policy output Test

sw-bbone1.lim#sh policy-map interface
 Vlan809

  Service-policy output: Test

    Class-map: Any_traffic (match-all)
      157886 packets, 129493500 bytes
      5 minute offered rate 1800000 bps, drop rate 0 bps
      Match: any
      queue size 0, queue limit 128
      packets output 0, packet drops 0
      tail/random drops 0, no buffer drops 0, other drops 0
      shape (average) cir 512000 bc 2048 be 2048
      target shape rate 512000

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any

-- 
Best Regards,
Vladimir Ivashchenko
Telecom Systems Design & Engineering
Thunderworx Cyprus - www.thunderworx.com


_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list