show port operstatuscause

Use this command to display the causes configured to place operating status to a down or dormant state for one or more ports.

Syntax

show port operstatuscause [admin | any | cos | dot1x | flowlimit | init | lag | linkflap | linkloss | modifiable | oam | oamlb | vsb | lstrk | uld | txqmn | policy | self] [port-string]

Parameters

port-string (Optional) Displays causes for specific port(s).
admin (Optional) Displays ports down due to adminStatus.
any (Optional) Displays a table of all causes.
cos (Optional) Displays ports down due to Class of Service constraint.
dot1x (Optional) Displays ports dormant due to 802.1X enforcement.
flowlimit (Optional) Displays ports down due to a flow limiting constraint.
init (Optional) Displays ports in initialization phase.
lag (Optional) Displays ports dormant due to Link Aggregation Group (LAG) membership.
linkflap (Optional) Displays ports down due to link flap violation.
linkloss (Optional) Displays ports down due to link loss.
modifiable (Optional) Displays a table of modifiable causes.
oam (Optional) Displays ports down due to ethernet OAM. A port‘s OAM operStatusCause flag will be set if the link-monitoring function determines an event has occurred on a port, and the disable-port option has been configured for that event using set port oam link-monitor.
oamlb (Optional) Displays ports down due to ethernet OAM loopback. See the usage section for oamlb bit set details (S-, K-Series).
lstrk (Optional) Displays ports down due to link state trunk (S-, K-Series).
uld (Optional) Displays ports down due to Unidirectional Link Detection.
txqmn (Optional) Displays ports down due to transmit queue monitoring (7100-Series).
policy (Optional) Displays ports down due to policy restriction.
self (Optional) Displays ports down due to a hardware cause.

Defaults

If no options are specified, causes for all ports will be displayed.

Mode

All command modes.

Usage

There are 3 OAM loopback states for which the oamlb bit is set: initiating loopback, terminating loopback, and local loopback.

For the port that initiates or terminates remote loopback, the oamlb bit is briefly set as the port passes through the initiating or terminating loopback state, unless a problem communicating with the peer exists. Once remote loopback state is acquired or terminated, the oamlb bit clears.

The oamlb bit is also set if the peer port has initiated remote loopback, which puts the local port in local loopback. The oamlb bit is set for the client being put into loopback for the entire time that remote loopback is in effect. The oamlb bit clears once loopback is torn down between the two clients.

The oamlb and lstrk options are supported on the S- and K-Series platforms.

The txqmn option is supported on the 7100-Series platform.

Example

This example shows how to display operation status causes for all ports:

S- and K-Series

System(rw)->show port operstatuscause
             +---------------------------------------------+
             | A  L  L                 D        O     L    |
             | D  L  F  S  I  F        O        A     S    |
             | M  O  L  E  N  L  P  C  T  L  O  M  V  T  U |
             | I  S  A  L  I  O  O  O  1  A  A  L  S  R  L |
Port         | N  S  P  F  T  W  L  S  X  G  M  B  B  K  D |
-------------+---------------------------------------------+
vlan.0.101   | .  .  .  .  .  .  .  .  .  .  .  .  .     . |
vlan.0.201   | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
vlan.0.666   | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
vlan.0.1000  | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
vlan.0.2000  | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
vlan.0.4093  | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
lo.0.1       | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
loop.0.1     | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
host.0.1     | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
ge.1.1       | .  .  .  .  .  .  .  .  .  .  .  .  .  .  . |
ge.1.2       | .  X  .  .  .  .  .  .  .  .  .  X  .  .  . |
ge.1.3       | .  X  .  .  .  .  .  .  .  .  .  .  .  .  . |
ge.1.4       | .  X  .  .  .  .  .  .  .  .  .  .  .  .  . |
ge.1.5       | .  X  .  .  .  .  .  .  .  .  X  .  .  .  . |

7100-Series

System(rw)->show port operstatuscause
             +--------------------------------------+
             | A  L  L                 D          T |
             | D  L  F  S  I  F        O          X |
             | M  O  L  E  N  L  P  C  T  L  O V  Q |
             | I  S  A  L  I  O  O  O  1  A  A L  M |
Port         | N  S  P  F  T  W  L  S  X  G  M D  N |
-------------+--------------------------------------+
tg.1.1       | .  .  .  .  .  .  .  .  .  .  . .  . |
tg.1.2       | .  .  .  .  .  .  .  .  .  .  . .  X |
tg.1.3       | .  X  .  .  .  .  .  .  .  .  . .  . |
tg.1.4       | .  X  .  .  .  .  .  .  .  .  . .  . |
tg.1.5       | .  X  .  .  .  .  .  .  .  .  X .  . |