Brocade Fibre Channel Networking Community

Expand all | Collapse all

TX/RX traffic on AG switches

  • 1.  TX/RX traffic on AG switches

    Posted 12-03-2019 09:00 AM

    I want to know what does the frame tx and frame rx from portstatsshow on a AG switch mode, shows.

    On a regular SAN switch, TX is a counter for all the frames which are sent outside the SAN switch via that port.
    For example if the ServerA is connected to port 19 on a SAN switch, All the HOST Read IOs will be countered as TX traffic (data are transmitted from the SAN port 19 to ServerA)
    In the same way, RX means everything which goes from the host to the SAN Switch.

    Now I want to understand how the TX and RX are considered in a AG mode switch.
    Is RX considered the traffic which comes from Core SAN switch to the NPIV AG switch port? or the Traffic from NPIV port of AG switch to internal/slot port on the chassis?

    I need this info because of the following situation:
    - on of the NPIV ports on an AG Switch reports a lot of B2B Credit Zero (tim_txcrd_z -Time TX Credit Zero )
    - I don't know if the port is running out of TX credits while is sending frames outside, to the CORE Switch or while is sending data to internal pors

    ag_switch> portstatsshow 19
    stat_wtx 2447983723 4-byte words transmitted
    stat_wrx 4054345448 4-byte words received
    stat_ftx 119188933 Frames transmitted
    stat_frx 306558906 Frames received
    stat_c2_frx 0 Class 2 frames received
    stat_c3_frx 306558906 Class 3 frames received
    stat_lc_rx 0 Link control frames received
    stat_mc_rx 0 Multicast frames received
    stat_mc_to 0 Multicast timeouts
    stat_mc_tx 0 Multicast frames transmitted
    tim_rdy_pri 0 Time R_RDY high priority
    tim_txcrd_z 42783068 Time TX Credit Zero (2.5Us ticks)
    tim_txcrd_z_vc 0- 3: 1345214 0 14068884 9646616
    tim_txcrd_z_vc 4- 7: 14112480 3609874 0 0
    tim_txcrd_z_vc 8-11: 0 0 0 0
    tim_txcrd_z_vc 12-15: 0 0 0 0
    er_enc_in 0 Encoding errors inside of frames
    er_crc 0 Frames with CRC errors
    er_trunc 0 Frames shorter than minimum
    er_toolong 0 Frames longer than maximum
    er_bad_eof 0 Frames with bad end-of-frame
    er_enc_out 0 Encoding error outside of frames
    er_bad_os 0 Invalid ordered set
    er_rx_c3_timeout 0 Class 3 receive frames discarded due to timeout
    er_tx_c3_timeout 0 Class 3 transmit frames discarded due to timeout
    er_c3_dest_unreach 0 Class 3 frames discarded due to destination unreachable
    er_other_discard 0 Other discards
    er_type1_miss 0 frames with FTB type 1 miss
    er_type2_miss 0 frames with FTB type 2 miss
    er_type6_miss 0 frames with FTB type 6 miss
    er_zone_miss 0 frames with hard zoning miss
    er_lun_zone_miss 0 frames with LUN zoning miss
    er_crc_good_eof 0 Crc error with good eof
    er_inv_arb 0 Invalid ARB
    open 0 loop_open
    transfer 0 loop_transfer
    opened 0 FL_Port opened
    starve_stop 0 tenancies stopped due to starvation
    fl_tenancy 0 number of times FL has the tenancy
    nl_tenancy 0 number of times NL has the tenancy
    zero_tenancy 0 zero tenancy
    phy_stats_clear_ts 12-03-2019 CET Tue 08:37:00 Timestamp of phy_port stats clear
    lgc_stats_clear_ts 12-03-2019 CET Tue 08:37:00 Timestamp of lgc_port stats clear

    Thank you

  • 2.  RE: TX/RX traffic on AG switches

    Posted 12-06-2019 10:42 AM
    RX and TX are the same for host ports on an AG switch as they are for a standard switch. You can confirm this by looking at the stats for the ISLs.