Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Netflow on a Native IOS 6509 running 12.1(20)E2

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!

4 REPLIES
New Member

Re: Netflow on a Native IOS 6509 running 12.1(20)E2

Try the following command:

ip flow export layer2-switched

Maybe it helps ;o)

Peter

New Member

Re: Netflow on a Native IOS 6509 running 12.1(20)E2

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

New Member

Re: Netflow on a Native IOS 6509 running 12.1(20)E2

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

New Member

Re: Netflow on a Native IOS 6509 running 12.1(20)E2

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

http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a0080721701.shtml#confios1

-tom

217
Views
0
Helpful
4
Replies
CreatePlease login to create content