===== NetFlow and sFLow =====
{{tag>General Brocade Cisco ASA}}
=== ASA NetFlow ===
fw01(config)# flow-export destination inside 172.16.5.166 2055
fw01(config)# flow-export delay flow-create 30
fw01(config)# flow-export template timeout-rate 1
fw01(config)# access-list acl-netflow extended permit ip any any
fw01(config)# class-map cmap-netflow
fw01(config-cmap)# match access-l acl-netflow
fw01(config-pmap)# policy-map global_policy
fw01(config-pmap-c)# class cmap-netflow
fw01(config-pmap-c)# flow-export event-type all destination 172.16.5.166
fw01(config)# show flow-export counters
=== Brocade sFlow ===
sw01(config)# int e 1/1/1 to 1/1/48
sw01(config-mif-1/1/1-1/1/48)# sflow forwarding
sw01(config-mif-1/1/1-1/1/48)# exit
sw01(config)# sflow destination 172.16.5.166 6343
sw01(config)# sflow sample 512
sw01(config)# sflow polling-interval 30
sw01(config)# sflow enable