NetFlow Data Export on a VLAN
Use the commands below to monitor a VLAN. Replace interface
Vlan??? with GigabitEthernet1/41 or any other port that you want to monitor.
ip flow-cache timeout active 1 ! mls aging fast time 8 threshold 127 mls aging normal 32 mls flow ip full no mls flow ipv6 mls nde sender version 7 ! interface Vlan??? description **???** ip address ???.???.???.??? ???.???.???.??? ip pim sparse-dense-mode ip route-cache flow ip igmp snooping mrouter interface GigabitEthernet1/48 ! interface Vlan??? description **???** ip address ???.???.???.??? ???.???.???.??? ip pim sparse-dense-mode ip route-cache flow mls netflow sampling ! interface Vlan??? description **???** ip address ???.???.???.??? ???.???.???.??? ip helper-address ???.???.???.??? ip flow ingress ip pim sparse-dense-mode ip route-cache flow mls netflow sampling ! ip flow-export source Vlan??? ip flow-export destination ???.???.???.??? ! end