---
name: "ibcheckportstate"
section: "8"
platform: "linux"
package: "infiniband-diags"
version: "1.6.7-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ibcheckportstate"
---

# ibcheckportstate(8)

validate IB port for LinkUp and not Active state

## NAME

ibcheckportstate - validate IB port for LinkUp and not Active state

## SYNOPSIS

**ibcheckportstate** \[-h\] \[-v\] \[-N \| -nocolor\] \[-G\] \[-C ca\_name\] \[-P ca\_port\] \[-t(imeout) timeout\_ms\] \<lid\|guid\> \<port\>

## DESCRIPTION

Check connectivity and check the specified port for proper port state (Active) and port physical state (LinkUp). Port address is a lid unless -G option is used to specify a GUID address.

## OPTIONS

\-G      use GUID address argument. In most cases, it is the Port GUID.\
         Example:\
         "0x08f1040023"

\-v      increase the verbosity level

\-N \| -nocolor use mono rather than color mode

\-C \<ca\_name\>    use the specified ca\_name.

\-P \<ca\_port\>    use the specified ca\_port.

\-t \<timeout\_ms\> override the default timeout for the solicited mads.

## EXAMPLE

ibcheckportstate 2 3         # check lid 2 port 3

## SEE ALSO

**[smpquery(8)](/smpquery/8.md),** **[ibaddr(8)](/ibaddr/8.md)**

## AUTHOR

- Hal Rosenstock

  \<*halr@voltaire.com*\>
