Counting Individual Flow Statistics; Clearing Fib Statistics; Displaying Flow Statistics - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 26
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 26-2 Clears Aggregated Flow Counters
switch# clear fcflow stats aggregated module 2 index 1
Example 26-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 26-4 Displays Aggregated Flow Details for the Specified Module
switch# show fcflow stats aggregated module 2
Idx
---- ---- -------- -------
0000 4
0001 6
Example 26-5 Displays Flow Details for the Specified Module
switch# show fcflow stats module 2
Idx
---- ---- ----------- ----------- -----
0000 4
0001 6
OL-18084-01, Cisco MDS NX-OS Release 4.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.
26-2
26-4
to 26-6).
and 26-3).
26-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents