Prerequisites for Flexible NetFlow
-
Flexible NetFlow is supported on the Catalyst 2960-X Switch and the Catalyst 2960-XR Switch with a Cisco ONE for Access license. Catalyst 2960-XR is not stackable with the Catalyst 2960-X platform.
-
One of the following must be enabled on your device and on any interfaces on which you want to enable Flexible NetFlow: Cisco Express Forwarding or distributed Cisco Express Forwarding.
-
The targets for attaching a NetFlow monitor are the following:
-
Port—Monitor attachment is only supported on physical interfaces and not on logical interfaces, such as EtherChannels. The physical interface could be a routed port or a switched port.
-
VLAN—Monitor attachment is supported on VLAN interfaces only (SVI) and not on a Layer 2 VLAN.
-
-
You are familiar with the Flexible NetFlow key fields as they are defined in the following commands:
-
match datalink —Datalink (layer2) fields
-
match ipv4 —IPv4 fields
-
match ipv6 —IPv6 fields
-
match transport —Transport layer fields
-
-
You are familiar with the Flexible NetFlow non key fields as they are defined in the following commands:
-
collect counter —Counter fields
-
collect flow —Flow identifying fields
-
collect interface —Interface fields
-
collect timestamp —Timestamp fields
-
collect transport —Transport layer fields
-