Device(config)# flow monitor fm-1 Device(config-flow-monitor)# exporter fe-ipfix6 Device(config-flow-monitor)# exporter fe-ipfix Device(config-flow-monitor)# exporter fe-1 Device(config-flow-monitor)# cache timeout inactive 60 Device(config-flow-monitor)# cache timeout active 180 Device(config-flow-monitor)# record fr-1 Device(config-flow-monitor)# end Device# show running-config interface g1/0/11 Device# show running-config interface g1/0/36 Device# show running-config interface g3/0/11 Device# show flow monitor fm-1 cache format table Example: Monitoring IPv4 egress traffic Device# configure terminal Enter configuration commands, one per line. End with CNTL/Z.
Device(config)# flow record fr-1 out Device(config-flow-record)# match ipv4 source address Device(config-flow-record)# match ipv4 destination address Device(config-flow-record)# match interface output Device(config-flow-record)# collect counter bytes long Device(config-flow-record)# collect counter packets long Device(config-flow-record)# collect timestamp absolute first Device(config-flow-record)# collect timestamp absolute last Device(config-flow-record)# exit Device(config)# flow exporter fe-1 Device(config-flow-exporter)# destination 10.5.120.16 Device(config-flow-exporter)# source Vlan105 Device(config-flow-exporter)# dscp 32 Device(config-flow-exporter)# ttl 200 Device(config-flow-exporter)# transport udp 2055 Device(config-flow-exporter)# template data timeout 240 Device(config-flow-exporter)# exit Device(config)# flow exporter fe-ipfix6 Device(config-flow-exporter)# destination 2001:0:0:24::10 Device(config-flow-exporter)# source Vlan106 Device(config-flow-exporter)# transport udp 4739 Device(config-flow-exporter)# export-protocol ipfix Device(config-flow-exporter)# template data timeout 240 Device(config-flow-exporter)# exit Device(config)# flow exporter fe-ipfix Device(config-flow-exporter)# description IPFIX format collector 100.0.0.80 Device(config-flow-exporter)# destination 100.0.0.80 Device(config-flow-exporter)# dscp 30 Device(config-flow-exporter)# ttl 210 Device(config-flow-exporter)# transport udp 4739 Device(config-flow-exporter)# export-protocol ipfix Device(config-flow-exporter)# template data timeout 240 Device(config-flow-exporter)# exit Device(config)# flow monitor fm-1-output Device(config-flow-monitor)# exporter fe-1 Device(config-flow-monitor)# exporter fe-ipfix6 Configuring Flexible NetFlow Example:
Monitoring IPv4 egress traffic Configuring Flexible NetFlow 34