[c-nsp] VLAN traffic shaping on Cat6500/SUP720
Vladimir Ivashchenko
hazard at francoudi.com
Mon Jun 27 10:55:34 EDT 2005
Hi Jeff,
This was just an example to show that traffic shaping isn't working.
Initially I tried to make it work with something like this:
class-map match-all CES_traffic
match input-interface Vlan500
class-map match-all VoIP_traffic
match access-group name VoIP_ACL
!
policy-map DS3_voice
class CES_traffic
priority 3000
class VoIP_traffic
priority 4000
policy-map DS3
class class-default
shape peak 43000000 172000 172000
service-policy DS3_voice
On Mon, 2005-06-27 at 15:07 +0200, Tantsura, Jeff wrote:
> 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
More information about the cisco-nsp
mailing list