Creating Multiple vFlows

1. You can create multiple vFlows and add precedence values to the vFlows. The packet is matched to the vFlow with the highest precedence. Create the first vFlow:

CLI network-admin@Leaf1>vflow-create name client-flow1 scope fabric  bw flow-class meter bw-max 2g

Create the second vFlow:

CLI network-admin@Leaf1>vflow-create name client-flow2 scope fabric  bw flow-class meter bw-max 5g src-ip 192.168.20.1

vflow-create: Flow conflicts with Flow client-flow1, ID68: specify fields to make flows mutually exclusive or change the flow precedence

 

The error message is generated because the vFlow configurations conflict with each other. To differentiate between the two flows, assign a different precedence to client-flow2:

CLI network-admin@Leaf1>vflow-create name client-flow2 scope fabric  bw flow-class meter bw-max 5g src-ip 192.168.20.1 precedence 5