Main Menu

Search

Showing posts with label getportcounters. Show all posts
Showing posts with label getportcounters. Show all posts

INFINIBAND: "getportcounters" Command to check if there are any Symbol Errors, Link Issues on Switch Ports of IB Switch.

Below "getportcounters" Command can be used to check if there are any Symbol Errors, Link Issues on Switch Ports of IB Switch.
getportcounters <Switch Port>
For example if you want to check the counters on port 6 above command looks as follows:
getportcounters 6
Below is sample output of above command. If we see SymbolErrors increasing then that indicates there is an issue with the Switch port (loose cable, bad cable, bad switch port or something else)
SymbolErrors.....................0 
LinkRecovers.....................0 
LinkDowned.......................0 
RcvErrors........................0 
RcvRemotePhysErrors..............0 
RcvSwRelayErrors.................297 
XmtDiscards......................6 
XmtConstraintErrors..............0 
RcvConstraintErrors..............0 
LinkIntegrityErrors..............0 
ExcBufOverrunErrors..............0 
VL15Dropped......................0 
XmtData..........................4294967295 
RcvData..........................4294967295 
XmtPkts..........................717430186 
RcvPkts..........................634187063 
XmtWait..........................1338332 

Products to which Article Applies
Infiniband Switches

Article Author: Tarun Boyella

EXALOGIC: INFINIBAND: "getportcounters" Command to Check If there are Issues/Problems and Errors On 40Gbits/sec Internal Connector Ports of IB Switch (How To Doc)

INFINIBAND: "getportcounters" Command to Check If there are Issues/Problems and Errors On 40Gbits/sec Internal Connector Ports of IB Switch (How To Doc)

Below is getportcounters command which can be run on specific 40Gbits/sec IB Switch ports to see if there are any Symbol errors
# getportcounters <internal connector port>

In above command replace internal connector port with the connector port for which you want to check errors. Switch 40Gits/sec connector ports range is from 0A – 15A and 0B – 15B.

We should not be seeing any increase in SymbolErrors gradually or significantly over a period of time when running this command. If there is increase in SymbolErrors then it indicates that there is some issues with connector ports on the IB Switch. It may be lose cabling, bad cable, bad switch port or something else.

As an example if you want check errors on 13B, your command and sample output will look as follows:

# getportcounters 13B
Port counters for connector 13B Switch port 10
SymbolErrors.....................0
LinkRecovers.....................20
LinkDowned.......................0
RcvErrors........................0
RcvRemotePhysErrors..............0
RcvSwRelayErrors.................15
XmtDiscards......................23
XmtConstraintErrors..............0
RcvConstraintErrors..............0
LinkIntegrityErrors..............0
ExcBufOverrunErrors..............0
VL15Dropped......................0
XmtData..........................4294967295
RcvData..........................566477715
XmtPkts..........................130024470
RcvPkts..........................9198929
XmtWait..........................870


Products to which Article Applies

Infiniband Switches.


Additional References

https://docs.oracle.com/cd/E19671-01/835-0793-03/z40000471973870.html


EXALOGIC: INFINIBAND: "getportcounters" Command To Clear/Reset Errors And Port Counters IB Switch Ports (How To Doc) Connector Ports of IB Switch (How To Doc)

INFINIBAND: "getportcounters" Command To Clear/Reset Errors And Port Counters IB Switch Ports (How To Doc)

getportcounters command can be used to clear/reset errors and port counters on IB Switch ports.

If you want to reset/clear errors and  port counters on 10Gbits/sec ETH connector ports, following commands can be used based on the connector ports which are enabled and being used.

getportcounters 0a-eth -R
getportcounters 1a-eth -R



Below is example snippet of output when we run above command to clear the counters on 0a-eth connector port.
# getportcounters 0A-ETH -R
Reset port counters for connector 0A-ETH-1 Bridge-0 port Bridge-0-2
Reset port counters for connector 0A-ETH-2 Bridge-0 port Bridge-0-2
Reset port counters for connector 0A-ETH-3 Bridge-0 port Bridge-0-1
Reset port counters for connector 0A-ETH-4 Bridge-0 port Bridge-0-1

If you want to reset/clear errors and port counters on specific 40Gbits/sec IB Switch ports below command can be used.
getportcounters <switch connector ports> -R

In above command replace the connector ports with the connector port for which you want to reset/clear errors and port counters. Switch 40Gits/sec connector ports range is from 0A – 15A and 0B – 15B. So if you want to clear/reset errors and counters for 15A, your command will look as follows:
getportcounters 15A -R


Products to which Article Applies

Infiniband Switches

Additional Reference

https://docs.oracle.com/cd/E19671-01/835-0793-03/z40000471973870.html


EXALOGIC: INFINIBAND: "getportcounters" Command to Check If there are Issues/Problems and Errors On 10Gbits/sec ETH Ethernet Connector Ports of IB Switch (How To Doc)

INFINIBAND: "getportcounters" Command to Check If there are Issues/Problems and Errors On 10Gbits/sec ETH Ethernet Connector Ports of IB Switch (How To Doc)

Below are getportcounters commands which can be run on 0A-ETH and 1A-ETH Ethernet Connector ports of IB Switch to check if there are an RX, TX and CRC errors
# getportcounters 0a-eth | egrep -i "error|CRC"
# getportcounters 1a-eth | egrep -i "error|CRC"

Below is example snippet of above command.
# getportcounters 0a-eth | egrep -i "error|CRC"
RX CRC...........................0
RX errors........................0
TX errors........................0
RX CRC...........................0
RX errors........................0
TX errors........................0
RX CRC...........................0
RX errors........................0
TX errors........................0
RX CRC...........................0
RX errors........................0
TX errors........................0

If we see any gradual or significant increase of RX/TX errors and RX CRC errors over a period of time, then it indicates that there is some issues with 0A/1A ETH connector ports on the IB Switch. It may be lose cabling, bad cable, bad switch port or something else.



Products to which Article Applies

Infiniband Switches.

Additional References

https://docs.oracle.com/cd/E19671-01/835-0793-03/z40000471973870.html