Configure Netflow on Cisco Catalyst WS-C3650-48PD

DR-Switch(config)# flow record record-1
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match transport icmp ipv4 type
match transport icmp ipv4 code
match flow direction
collect transport tcp flags
collect counter bytes long
collect counter packets long
DR-Switch(config)#flow exporter exporter-1
destination X.X.X.X
source VlanX
transport udp 9996
DR-Switch(config)# flow monitor monitor-1
exporter exporter-1
record record-1
DR-Switch(config)#sampler sampler-1
mode random 1 out-of 10

  • After you finish the configuration you need to apply it on the interface that you want.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.