[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cisco-nsp
Subject:    Re: [c-nsp] service-policy on 2960 apply policy
From:       Nikolay Shopik <shopik () inblock ! ru>
Date:       2011-07-29 17:02:40
Message-ID: 4E32E7B0.4090008 () inblock ! ru
[Download RAW message or body]

Yeah my bad. I do mean policing, NOT shaping of course.

On 29.07.2011 20:21, Mack McBride wrote:
> 2960s only shape on queues, not on policy maps.
> Policy maps are policing not shaping.
> They also do not provide reliable counters as noted by the responder.
> 
> Mack
> 
> -----Original Message-----
> From: cisco-nsp-bounces@puck.nether.net [mailto:cisco-nsp-bounces@puck.nether.net] \
>                 On Behalf Of Andriy Bilous
> Sent: Friday, July 29, 2011 10:09 AM
> To: Nikolay Shopik
> Cc: cisco-nsp@puck.nether.net
> Subject: Re: [c-nsp] service-policy on 2960 doesn't shape
> 
> 'show policy-map interface' just doesn't work on 3560/3750/2960
> 
> http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_55_se/configuration/guide/swqos.html
>  (at the very end of the document)
> 
> Note Do not use the show policy-map interface privileged EXEC command
> to display classification information for incoming traffic. The
> control-plane and interface keywords are not supported, and the
> statistics shown in the display should be ignored.
> 
> And before you try and bind permit ip any any to class-map and police
> that - be advised access-list won't show any hits either. You have to
> test your config by other means.
> 
> On Fri, Jul 29, 2011 at 5:40 PM, Nikolay Shopik<shopik@inblock.ru>  wrote:
> > I'm trying to configure service policy on interface but it seems not working
> > at all. While same config working on old 2950. Here is sample of it. 2960
> > running on 12.2(55)SE3. Any ideas?
> > 
> > policy-map 10Mbit
> > class class-default
> > police 10000000 512000 exceed-action drop
> > 
> > interface FastEthernet0/4
> > switchport access vlan 4
> > spanning-tree portfast
> > service-policy input 10Mbit
> > 
> > And output of command show policy-map int.
> > 
> > show policy-map int
> > FastEthernet0/4
> > 
> > Service-policy input: 10Mbit
> > 
> > Class-map: class-default (match-any)
> > 0 packets, 0 bytes
> > 5 minute offered rate 0 bps, drop rate 0 bps
> > Match: any
> > 0 packets, 0 bytes
> > 5 minute rate 0 bps
> > 
> > Before this config I did tried configure it with access-list with same
> > result, so I trying just match anything.
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp@puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> > 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic