netflow:ciscofnf
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
netflow:ciscofnf [2023/07/17 15:59] – created veera | netflow:ciscofnf [2025/03/03 17:47] (current) – veera | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Cisco Flexible Netflow configuration ====== | ====== Cisco Flexible Netflow configuration ====== | ||
- | Flexible Netflow is a Cisco IOS technology that allows you more freedom to collect exactly the type of information you want in the Netflow records. ((https:// | + | Flexible Netflow |
+ | |||
+ | Some of the popular models that support FNF are the Catalyst range of switches such as the Catalyst 3850 series, Catalyst 4500 series, etc. This article tells you how to configure Flexible Netflow. | ||
+ | |||
+ | |||
+ | |||
+ | ===== Ingress only mode ===== | ||
+ | |||
+ | The recommended mode is to enable ingress only on all the interfaces. | ||
+ | |||
+ | < | ||
+ | Let us assume Trisul Network Analytics (R) - the " | ||
+ | </ | ||
+ | |||
+ | |||
+ | You have to configure 3 items. | ||
+ | - **Export** -- where to send the Netflow,the Collector | ||
+ | - **Record** -- what data items to match and collect and put into the netflow record. I | ||
+ | - **Monitor** -- combination of Export and Record that will be applied on interface | ||
+ | |||
+ | Then apply a Monitor on each interface. Note that if you want to use both Ingress and Egress netflow you need to create two separate records and two separate monitors. In this example we only need Ingress. | ||
+ | |||
+ | The following example taken from the Cisco Docs | ||
+ | |||
+ | <code cisco> | ||
+ | Switch(config)# | ||
+ | Switch(config-flow-exporter)# | ||
+ | Switch(config-flow-exporter)# | ||
+ | Switch(config-flow-exporter)# | ||
+ | Switch(config-flow-exporter)# | ||
+ | |||
+ | Switch(config)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | Switch(config-flow-record)# | ||
+ | |||
+ | Switch(config)# | ||
+ | Switch(config-flow-monitor)# | ||
+ | Switch(config-flow-monitor)# | ||
+ | Switch(config-flow-monitor)# | ||
+ | |||
+ | Switch(config)# | ||
+ | Switch(config-if)# | ||
+ | Switch(config-if)# | ||
+ | |||
+ | </ | ||
+ | |||
+ | Repeat the last step for every interface. Since we are using INGRESS netflow only we need to apply on each interface for best visibility. | ||
+ | |||
+ | <code cisco> | ||
+ | |||
+ | Switch(config)# | ||
+ | Switch(config-if)# | ||
+ | Switch(config-if)# | ||
+ | Switch(config-if)# | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Verifying ===== | ||
+ | |||
+ | Check the number of records sent to the collector (Trisul) | ||
+ | |||
+ | < | ||
+ | show flow exporter exportTrisul statistics | ||
+ | </ | ||
+ | |||
+ | |||
+ |
netflow/ciscofnf.1689589764.txt.gz · Last modified: 2023/07/17 15:59 by veera