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.

Thanks for the marvelous posting! I seriously enjoyed reading it, you can be a great author.I will be sure to bookmark your blog and may come back later in life. I want to encourage that you continue your great posts, have a nice holiday weekend!
LikeLike
I really appreciate this post. I have been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thanks again
LikeLike