Counting Individual Flow Statistics; Clearing Fib Statistics; Displaying Flow Statistics - HP Cisco MDS 9020 - Fabric Switch Configuration Manual

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

Chapter 25
Configuring Fibre Channel Routing Services and Protocols
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

Counting Individual Flow Statistics

To count the flow statistics for a source and destination FC ID in a VSAN, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# fcflow stats module 1 index 1
0x145601 0x5601ff 0xffffff vsan 1
switch(config)#
switch(config)# no fcflow stats aggregated module
2 index 1001 vsan 2
switch(config)#

Clearing FIB Statistics

Use the clear fcflow stats command to clear the aggregated flow counter (see Examples
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
Example 25-4 Displays Aggregated Flow Details for the Specified Module
switch# show fcflow stats aggregated module 2
Idx
---- ---- -------- -------
0000 4
0001 6
Example 25-5 Displays Flow Details for the Specified Module
switch# show fcflow stats module 2
Idx
---- ---- ----------- ----------- -----
0000 4
0001 6
OL-16184-01, Cisco MDS SAN-OS Release 3.x
VSAN # frames # bytes
387,653
674,235,875
34,402
2,896,628
VSAN D ID
S ID
032.001.002 007.081.012 ff.ff.ff
004.002.001 019.002.004 ff.00.00
Purpose
Enters configuration mode.
Enables the flow counter.
Note
Disables the flow counter.
mask
# frames # bytes
-------- -------
387,653
674,235,875
34,402
2,896,628
Cisco MDS 9000 Family CLI 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.
25-2
25-4
to 25-6).
and 25-3).
25-19

Advertisement

Table of Contents
loading

Table of Contents