Here's some weird solution.
create a policy map with a child policy which police at 24Mb exceeding that
it remarks the packet to for example af13, create a access-list which permit
af13 and log it to syslog and permit all ip packets, create a snmp trap of
that syslog message
policy-map PARANT
class class-default
shape average 30000000
service-policy CHILD
!
policy-map CHILD
class class-default
police 24000000 conform-action transmit exceed-action set-dscp-transmit
af13
!
ip access-list extended LOG-af13
permit ip any any dscp af13 log
permit ip any any
Kind regards,
Maarten Vervoorn
2010/10/28 Marko Milivojevic <markom_at_ipexpert.com>
> SNMP counters for sub-interfaces may not be available on all platforms.
>
> --
> Marko Milivojevic - CCIE #18427
> Senior Technical Instructor - IPexpert
>
> FREE CCIE training: http://bit.ly/vLecture
>
> Mailto: markom_at_ipexpert.com
> Telephone: +1.810.326.1444
> Web: http://www.ipexpert.com/
>
> On Wed, Oct 27, 2010 at 21:47, Brian McGahan <bmcgahan_at_ine.com> wrote:
> > You can do this with RMON. Find the interface index number by issuing the
> "show snmp mig ifmib ifindex" command, then create an rmon delta sampling
> for the mib ifoutoctects.x, where x is your ifindex for the subinterface.
> >
> >
> > HTH,
> >
> > Brian McGahan, CCIE #8593 (R&S/SP/Security)
> > bmcgahan_at_INE.com<mailto:bmcgahan_at_INE.com>
> >
> > Internetwork Expert, Inc.
> > http://www.INE.com <http://www.ine.com/>
> >
> > On Oct 27, 2010, at 3:56 PM, "BALAKRISHNAN Balaji" <
> Balaji.BALAKRISHNAN_at_swift.com<mailto:Balaji.BALAKRISHNAN_at_swift.com>>
> wrote:
> >
> > Hi Guys,
> >
> >
> >
> > The router gig sub-interfaces is configured with service-policy out with
> the
> > shape average of 30Mbps. Is it possible to generate an event/syslog trap
> > whenever the traffic crosses 80% ( 24 Mbps).
> >
> >
> >
> > Rgds
> >
> > Bala.
> >
> >
> > Blogs and organic groups at <http://www.ccie.net> http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu Oct 28 2010 - 08:38:15 ART
This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:06 ART