Netflow on Cisco 3850
Posted: Thu Mar 30, 2017 8:57 am
I am using Cisco 3850 switches (IOS-XE CAT3K_CCA-UNIVERSALK9-M 03.06.04.E) where all interfaces are configured as switchports. How can I get netflow info from each interface? Where I am running into problems is when I try to configure the Source in this Cisco recommended config:
SUMMARY STEPS
1. configure terminal
2. flow exporter name
3. description string
4. destination {ipv4-address|ipv6-address}
5. dscp value
6. source { source type }
7. transport udp number
8. ttl seconds
9. export-protocol {netflow-v9 | ipfix}
10. end
11. show flow exporter [name record-name]
12. copy running-config startup-config
When I enter an Source interface that is configured as Switchport I get an error message "Cannot use a switchport as source". Is there another way?
SUMMARY STEPS
1. configure terminal
2. flow exporter name
3. description string
4. destination {ipv4-address|ipv6-address}
5. dscp value
6. source { source type }
7. transport udp number
8. ttl seconds
9. export-protocol {netflow-v9 | ipfix}
10. end
11. show flow exporter [name record-name]
12. copy running-config startup-config
When I enter an Source interface that is configured as Switchport I get an error message "Cannot use a switchport as source". Is there another way?