Main Menu

Search

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




tarun boyella


No comments:

Post a Comment