Chapter 1
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
switch(config)#
Step 2
switch(config)# fcflow stats aggregated index
value vsan vsan-id
switch(config)#
switch(config)# no fcflow stats aggregated index
value vsan vsan-id
switch(config)#
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
switch(config)#
Step 2
switch(config)# fcflow stats index value
dest-fcid source-fcid netmask vsan vsan-id
switch(config)#
switch(config)# no fcflow stats aggregated index
value vsan vsan-id
switch(config)#
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:
OL-16597-01
Clearing FIB Statistics, page 1-15
Displaying Flow Statistics, page 1-16
Purpose
Enters configuration mode.
Enables the aggregated flow counter.
Disables the aggregated flow counter.
Purpose
Enters configuration mode.
Enables the flow counter.
Note
Disables the flow counter.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Flow Statistics Configuration
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.
1-15