For more details, please see ourCookie Policy.


Fibre Channel (SAN)

Reply
New Contributor
Posts: 2
Registered: ‎01-24-2016

Please let me know the scenarios of using Portcfgportcredits and portcfglongdistance

Please let me know portcfglong resits and portcfglongdistance what scenario's this is applied please explain
Super Contributor
Posts: 320
Registered: ‎04-04-2018

Re: Please let me know the scenarios of using Portcfgportcredits and portcfglongdistance

Hello,

 

please review adminsitration guide everything is well documented well. In case that you checked this please specify your question more.

Please mark this response as "Accept as Solution" if it answers your question.

Marian Bezeg
Highlighted
New Contributor
Posts: 2
Registered: ‎01-24-2016

Re: Please let me know the scenarios of using Portcfgportcredits and portcfglongdistance

In one fabric we tried increasing the isl buffer credit by running c. Please find the output for the same port.

 

portstatsshow 0
stat_wtx 394261674938 4-byte words transmitted
stat_wrx 350432200915 4-byte words received
stat_ftx 1063857769 Frames transmitted
stat_frx 953058276 Frames received
stat_c2_frx 0 Class 2 frames received
stat_c3_frx 953066857 Class 3 frames received
stat_lc_rx 323 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 5 Time R_RDY high priority
tim_txcrd_z 403632 Time TX Credit Zero (2.5Us ticks)
tim_txcrd_z_vc 0- 3: 403623 0 9 0
tim_txcrd_z_vc 4- 7: 0 0 0 0
tim_txcrd_z_vc 8-11: 0 0 0 0
tim_txcrd_z_vc 12-15: 0 0 0 0
tim_latency_vc 0- 3: 1 1 1 1
tim_latency_vc 4- 7: 1 1 1 1
tim_latency_vc 8-11: 1 1 1 1
tim_latency_vc 12-15: 1 1 1 1

 

Please find the output of porterrshow for the same port.

 

frames enc crc crc too too bad enc disc link loss loss frjt fbsy c3timeout pcs uncor
tx rx in err g_eof shrt long eof out c3 fail sync sig tx rx err err
0: 1.0g 958.5m 0 0 0 0 0 0 0 39 0 0 0 0 0 0 0 0 0

 

After increasing the buffer credit using portcfglongdistance we got 39 C3 discard error

In this case we got 126 buffer credits using ls mode 15 KM 

----------------------------------------------------------------------------------------------------------------------

In other fabric we tried the isl buffer credit by running Portcfgportcredits . Please find the output for the same port

portstatsshow 0

stat_wtx 597510131 4-byte words transmitted
stat_wrx 4191102980 4-byte words received
stat_ftx 935247078 Frames transmitted
stat_frx 320443622 Frames received
stat_c2_frx 0 Class 2 frames received
stat_c3_frx 320442646 Class 3 frames received
stat_lc_rx 873 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 84974808 Time TX Credit Zero (2.5Us ticks)
tim_txcrd_z_vc 0- 3: 0 0 26160 39433
tim_txcrd_z_vc 4- 7: 91 84909124 0 0
tim_txcrd_z_vc 8-11: 0 0 0 0
tim_txcrd_z_vc 12-15: 0 0 0 0
tim_latency_vc 0- 3: 1 1 1 1
tim_latency_vc 4- 7: 1 1 1 1
tim_latency_vc 8-11: 1 1 1 1
tim_latency_vc 12-15: 1 1 1 1

 

porterrshow 0



frames enc crc crc too too bad enc disc link loss loss frjt fbsy c3timeout pcs
tx rx in err g_eof shrt long eof out c3 fail sync sig tx rx err
0: 944.7m 324.8m 0 0 0 0 0 0 0 20 0 0 0 0 0 0 0 0

 

 

After increasing the buffer credit using Portcfgportcredits we got 20 discard error .

In this case we got buffer credit of 166 with 5 km .

 

Which is the effective way to configure port buffer credits

 

 

 

 

Join the Broadcom Support Community

Get quick and easy access to valuable resources across the Broadcom Community Network.