show spantree portpri

Use this command to show the Spanning Tree priority for one or more ports. Port priority is a component of the port ID, which is one element used in determining Spanning Tree port roles.

Syntax

show spantree portpri [port port-string] [sid sid]

Parameters

port port-string (Optional) Specifies the port(s) for which to display Spanning Tree priority. For a detailed description of possible port-string values, refer to Port String Syntax Used in the CLI in the S-, K-, and 7100 Series Configuration Guide.
sid sid (Optional) Displays port priority for a specific Spanning Tree identifier. Valid values are 0 - 4094. If not specified, SID 0 is assumed.

Defaults

  • If port-string is not specified, port priority will be displayed for all Spanning Tree ports.
  • If sid is not specified, port priority will be displayed for Spanning Tree 0.

Mode

All command modes.

Example

This example shows how to display the port priority for ge.2.7:

System(rw)->show spantree portpri port ge.2.7
Port ge.2.7 has a Port Priority of 128 on SID 0