12-27-2006 10:33 AM
I've got a native IOS 6509 running 12.1(20)E2 code that I would like to get netflow from on a layer 2 port.
Poor setup of the network dictates this need but if it can't be done I'll simply have to fix the network I guess (Painful)
Here is the config I have in place:
mls aging fast time 64 threshold 1
mls aging normal 32
mls flow ip interface-full
mls flow ipx destination
mls nde sender
ip flow-export version 5
ip flow-export destination <NDE> <port>
As I said; the port is a layer 2 port and in fact this Native IOS doesn't do any routing at all - just switching. But the port I need is the one that goes to our internet provider, previous Network Gump did this though I'm not quite sure why.
THANKS!
12-27-2006 02:42 PM
Try the following command:
ip flow export layer2-switched
Maybe it helps ;o)
Peter
12-28-2006 06:44 AM
Cant remember if it displays in a show output or not, but it appears that you may be missing the global "mls netflow" statement. Without it, you'll only get flow data from routed ports.
-Jeremy
01-09-2007 12:03 PM
Appreciate the input but neither of those had any effect. The first suggestion was not an option and the second doesn't show up and is apparently the default.
-Mike
01-10-2007 02:58 PM
OK, the trick here is you need to enable on both the router(MSFC) and the switch supervisor. Because you are running mls on that switch, Netflow needs to see the flow setup which hits the router before it passes the flow to mls. This link describes the config for both.
Good luck
-tom
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide