Reference Guide

366 Brocade Fabric OS Command Reference
53-1004112-02
flow
To display the statistics for the Flow Mirror feature in learning mode:
switch:admin> flow --show mirFlow -feature mirror
Name : mirFlow Features: mir(Activated)
Definition: EgrPort(17),DstDev(0x051100),BiDir
Flow Mirror:
------------------------------------------------------------ \
| SID(*) | DID(*) | OXID | RXID | SOF | EOF | Frame_type \
------------------------------------------------------------ \
| 051600 | 051100 | 0883 | ffff | SOFi3 | EOFt | SCSIRead \
| 051600 | 051100 | 0191 | 0bce | SOFn3 | EOFn | Data \
| 051600 | 051100 | 0c8f | ffff | SOFi3 | EOFt | SCSIWrite \
| 051600 | 051100 | 0017 | ffff | SOFi3 | EOFt | SCSIWrite \
| 051600 | 051100 | 0191 | 0bce | SOFn3 | EOFn | Data \
------------------------
| Dir| Time-Stamp |
------------------------
| Tx | Jun 10 11:08:10 |
| Tx | Jun 10 11:08:10 |
| Tx | Jun 10 11:08:10 |
| Tx | Jun 10 11:08:10 |
| Tx | Jun 10 11:08:10 |
To display all the devices zoned with device at port '11' (F_Port) as destination:
switch:admin> flow --show -allzoned -src "*" -dst 0x190b00 -egr 11
Active Flows:
----------------------------------------------------------
| SrcDev | DstDev |
----------------------------------------------------------
| 0x21400 0x21e00 0x21f00 0x31000 0x31100 | 0x190b00 |
----------------------------------------------------------
To display all the devices zoned with device at port 11 (F_Port) as source:
switch:admin> flow --show -allzoned -src "*" -dst * -ing 11
Active Flows:
--------------------------------------------------------
| SrcDev | DstDev |
--------------------------------------------------------
| 0x190b00 | 0x21400 0x21e00 0x21f00 0x31000 0x31100 |
--------------------------------------------------------
To display all the zoned devices for port 15 (E_Port):
switch:admin> flow --show -allzoned -src "*" -dst "*" -ing 15
Active Flows:
--------------------------------------------------------
| SrcDev | DstDev |
--------------------------------------------------------
| 0x190a00 | 0x21400 0x21e00 0x21f00 0x31000 0x31100 |
--------------------------------------------------------
| 0x190b00 | 0x21400 0x21e00 0x21f00 0x31000 0x31100 |
--------------------------------------------------------