Displaying Statistics for  vFlows for all Switches in the Fabric


To create vFlows across the entire fabric, configure the vFlow with the scope fabric and stats enable option. By using these parameters, you can enable statistics for the flow on all switches that are members of the fabric and you can display the statistics for any switch in the fabric.


For example, to create a vFlow for VLAN1 with the scope fabric, use the following command:


CLI (network-admin@Leaf1) >  vflow-create name example_fabric_flow1 scope fabric log-stats enable vlan 1

 

To display the statistics for the new vFlow for a switch in the fabric, use the following syntax:

CLI (network-admin@Leaf1) >  switch switch-name vflow-stats-show name example_fabric_flow1

name                          packets bytes cpu-packets cpu-bytes

------------------- ------- ----- ----------- ---------

example_fabric_flow1 51.4K  13.8M 50.1K       13.1M

 

If you omit the switch name, all vFlow statistics for the fabric are displayed.


name                       packets  bytes  cpu-packets cpu-bytes

-----------------    -------  -----  ----------- ---------

example_fabric_flow1  1.32K    305K   1.29K       291K

example_fabric_flow1  910      256K   884         243K


 

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south