Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
40-15
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 40 Configuring Fibre Channel Routing Services and Protocols
Flow Statistics Configuration
About Flow Statistics
If you enable flow counters, you can enable a maximum of 1000 entries for aggregate flow and flow
statistics. Be sure to assign an unused flow index for each new flow. The number space for flow index is
shared between the aggregate flow statistics and the flow statistics.
Counting Aggregated Flow Statistics
To count the aggregated flow statistics for a VSAN, perform this task:
Counting Individual Flow Statistics
To count the flow statistics for a source and destination FC ID in a VSAN, perform this task:
Clearing FIB Statistics
Use the clear fcflow stats command to clear the aggregated flow counter. The following example clears
the aggregated flow counters:
switch# clear fcflow stats aggregated index 1
The following example clears the flow counters for source and destination FC IDs:
switch# clear fcflow stats index 1
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# fcflow stats aggregated
index value vsan vsan-id
Enables the aggregated flow counter.
switch(config)# no fcflow stats
aggregated index value vsan vsan-id
Disables the aggregated flow counter.
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# fcflow stats index value
dest-fcid source-fcid netmask vsan
vsan-id
Enables the flow counter.
Note The source ID and the destination ID are
specified in FC ID hex format (for example,
0x123aff). The mask can be one of 0xff0000
or 0xffffff.
switch(config)# no fcflow stats
aggregated index value vsan vsan-id
Disables the flow counter.