04-29-2019 05:40 AM - edited 04-29-2019 05:42 AM
Hi,
we are using Cisco Nexus 5672 switches as our core switches and would like to use NetFlow to export flows. However, all ports on the switches are layer 2 switchports and NX-OS 7.0 does not even show the needed commands for attaching a flow monitor (ip flow monitor my_monitor input) when being in interface configuraton mode. When changing the switchport to a layer 3 port, the commands are available however.
We have another switch running Cisco IOS-XE which allows me to export NetFlow data even for layer 2 interfaces. Is it indeed not possible to perform this with NX-OS?
It would at least align with the documentation which states:
Ingress layer 2 NetFlow is supported on the following types of interfaces:
Layer 2 switch interface/port channel
FEX interface
Ingress layer 3 NetFlow is supported on the following types of interfaces:
Layer 3 interface/port channel
Layer 3 sub-interface/port channel sub-interface
SVI
Is it correct that generating layer 3 flows with NetFlow on layer 2 interfaces is not supported in NX-OS?
Thanks
Michael
04-29-2019 06:29 AM
04-29-2019 06:48 AM
Hi Mark,
I acually don't have any layer 3 interfaces and would like to use NetFlow on a layer 2 interface - but not collect only layer 2 information but also layer 3.
If I attach my NetFlow monitor which has layer 3 matches configured to a layer 2 interface using "layer2-switched flow monitor my_monitor input" I receive the error "ERROR: Protocol for record and monitor do not match". So I guess on layer 2 interfaces we only can use NetFlow for layer fields and not layer 3 as possible in IOS or IOS-XE for example :(
Thanks
Michael
04-29-2019 07:04 AM
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