Counting Individual Flow Statistics
You can count the flow statistics for a source and destination FC ID in a VSAN.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Enables the flow counter.
fcflow stats index value dest-fcid source-fcid
netmask vsan vsan-id
Step 2
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.
Note
Example:
switch(config)# fcflow stats index 10
0x123aff 0x070128 0xffffff vsan 15
Disables the flow counter.
no fcflow stats aggregated index value vsan
vsan-id
Step 3
Example:
switch(config)# no fcflow stats aggregated
index 11 vsan 200
Clearing FIB Statistics
Use the
clear fcflow stats
command to clear the aggregated flow counter:
switch#
clear fcflow stats aggregated index 1
The following example shows how to clear the flow counters for source and destination FC IDs:
switch#
clear fcflow stats index 1
Displaying Flow Statistics
Use the
show fcflow stats
commands to view flow statistics:
switch#
show fcflow stats aggregated
Idx
VSAN
frames
---------- ---------- ----------
6
1
42871
The following example shows how to display flow statistics:
switch#
show fcflow stats
The following example shows how to display flow index usage:
switch#
show fcflow stats usage
2 flows configured
Configured flows : 3,7
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
184
OL-30895-01
Configuring Fibre Channel Routing Services and Protocols
Flow Statistics Configuration