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