S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
25-19
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 25 Configuring Fibre Channel Routing Services and Protocols
Flow Statistics Configuration
Counting Individual Flow Statistics
To count the
flow statistics for a source and destination FC ID in a VSAN
, follow these steps:
Clearing FIB Statistics
Use the
clear fcflow stats
command to clear the aggregated flow counter (see Examples
25-2
and
25-3
).
Example 25-2 Clears Aggregated Flow Counters
switch#
clear fcflow stats aggregated module 2 index 1
Example 25-3 Clears Flow Counters for Source and Destination FC IDs
switch#
clear fcflow stats module 2 index 1
Displaying Flow Statistics
Use the
show fcflow stats
commands to view flow statistics (see Example
25-4
to
25-6
).
Example 25-4 Displays Aggregated Flow Details for the Specified Module
switch#
show fcflow stats aggregated module 2
Idx VSAN # frames # bytes
---- ---- -------- -------
0000 4 387,653 674,235,875
0001 6 34,402 2,896,628
Example 25-5 Displays Flow Details for the Specified Module
switch#
show fcflow stats module 2
Idx VSAN D ID S ID mask # frames # bytes
---- ---- ----------- ----------- ----- -------- -------
0000 4 032.001.002 007.081.012 ff.ff.ff 387,653 674,235,875
0001 6 004.002.001 019.002.004 ff.00.00 34,402 2,896,628
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
fcflow stats module 1 index 1
0x145601 0x5601ff 0xffffff vsan 1
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 module
2 index 1001 vsan 2
switch(config)#
Disables the flow counter.