cisco — Creating a Customized Flow Monitor

Configuring Flexible NetFlow Creating a Customized Flow Monitor Command or Action Purpose Step 3 flow monitor monitor-name Example: Device(config)# flow monitor FLOW-MONITOR-1 Creates a flow monitor and enters Flexible NetFlow flow monitor configuration mode. • This command also allows you to modify an existing flow monitor. Step 4 description description Example: Device(config-flow-monitor)# description Used for basic ipv4 traffic analysis (Optional) Creates a description for the flow monitor. Step 5 record {record-name | netflow-original | netflow {ipv4 | ipv6} record [peer]} Example: Device(config-flow-monitor)# record FLOW-RECORD-1 Specifies the record for the flow monitor.

Step 6 cache {timeout {active | inactive | update | rate-limit} seconds | type normal } Example: Device(config-flow-monitor)# cache type normal Device(config-flow-monitor)# cache timeout active (Optional) Modifies the flow monitor cache parameters such as timeout values, and the cache type. Associates a flow cache with the specified flow monitor. Step 7 Repeat Step 6 as required to finish modifying the cache parameters for this flow monitor. — Step 8 statistics packet protocol Example: Device(config-flow-monitor)# statistics packet protocol (Optional) Enables the collection of protocol distribution statistics for Flexible NetFlow monitors. Step 9 statistics packet size Example:

Device(config-flow-monitor)# statistics packet size (Optional) Enables the collection of size distribution statistics for Flexible NetFlow monitors. Step 10 exporter exporter-name Example: Device(config-flow-monitor)# exporter EXPORTER-1 (Optional) Specifies the name of an exporter that was created previously. Configuring Flexible NetFlow 26