[c-nsp] Ramdom Sampled Netflow on 7200VXRs

Thomas Kernen thomas at ip-man.net
Thu Dec 16 11:53:13 EST 2004


Solved,

was the fact the "ip flow ingress" was not removed prior to applying the
"flow-sampler xyz", if you remove ip flow ingress apres flow-sampler is
still stays as unsampled.

Thomas

----- Original Message ----- 
From: "Tom Zingale" <tomz at cisco.com>
To: <cisco-nsp at puck.nether.net>
Sent: Wednesday, December 15, 2004 4:05 PM
Subject: FW: [c-nsp] Ramdom Sampled Netflow on 7200VXRs


>
>
>
> A couple of things to check:
>
> If you have 'ip flow ingress' on the interface it will take priority
over
> the sampler so you should see all flows.    If you are seeing no flows
> 'show ip cache flow' then you need to check the following:
>
>
> 1) Is cef configured?
> 2) What is the running config on the interface?  Does it have anything
along
> the lines of 'no ip route-cache cef' on it?  If so remove it and it
should
> work.
>
>
>
>
> > >
> > > > From: "Thomas Kernen" <thomas at ip-man.net>
> > > > Date: December 14, 2004 7:15:39 AM PST
> > > > To: <cisco-nsp at puck.nether.net>
> > > > Subject: [c-nsp] Ramdom Sampled Netflow on 7200VXRs
> > > >
> > > >
> > > > Question to the team,
> > > >
> > > > I'm trying to configure "random sampled netflow" on a 7200
(NPE-G1
> > > > FYI) on GE interfaces (the built-in ones) running 12.2(25)S but
it
> > > > appears that my 1 in a 100 rule is not being applied.
> > > >
> > > > I've configured the following in the main config:
> > > >
> > > > flow-sampler-map <blahblahblah>
> > > >  mode random one-out-of 100
> > > >
> > > > On the inteface (gi0/1): I've added the following:
> > > > flow-sampler peakflow-collector
> > > >
> > > > ip flow-export source FastEthernet3/0 ip flow-export version 5
ip
> > > > flow-export destination <ip add> 2055
> > > >
> > > >
> > > > Output if currently full netflow export and the flow-sampler is
> > > > the
> > > > following:
> > > >
> > > >  Sampler :<blahblahblah>, id : 1, packets matched : 0, mode
> > > : random
> > > > sampling mode
> > > >   sampling interval is : 100
> > > >
> > > > So no match on the sampler.
> > > >
> > > > I've tried with and without "ip flow ingress", also removed all
> > > > netflow related commands and started from scratch but still
> > > no success.
> > > >
> > > > Any suggestions where I went wrong?
> > > >
> > > > Cheers
> > > > Thomas
> > > >
> > > > _______________________________________________
> > > > 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/
> > > >
> > > ---------------------------------------------------------
> > > Roland Dobbins <rdobbins at cisco.com> // 408.527.6376 voice
> > >
> > >                 Suspicion breeds confidence.
> > >
> >
> _______________________________________________
> 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