Chapter 40
Configuring Fibre Channel Routing Services and Protocols
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
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:
Command
Step 1
switch# configuration terminal
Step 2
switch(config)# fcflow stats aggregated
index value vsan vsan-id
switch(config)# no fcflow stats
aggregated index value vsan vsan-id
Counting Individual Flow Statistics
To count the flow statistics for a source and destination FC ID in a VSAN, perform this task:
Command
Step 1
switch# configuration terminal
Step 2
switch(config)# fcflow stats index value
dest-fcid source-fcid netmask vsan
vsan-id
switch(config)# no fcflow stats
aggregated index value vsan vsan-id
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
OL-16597-01
Purpose
Enters configuration mode.
Enables the aggregated flow counter.
Disables the aggregated flow counter.
Purpose
Enters configuration mode.
Enables the flow counter.
The source ID and the destination ID are
Note
specified in FC ID hex format (for example,
0x123aff). The mask can be one of 0xff0000
or 0xffffff.
Disables the flow counter.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Flow Statistics Configuration
40-15