show spantree portpri
Enterasys C3 Configuration Guide 13-39
Example
This example shows how to display port admin status for ge.1.1:
C3(ro)->show spantree portadmin port ge.1.1
Port ge.1.1 has portadmin set to enabled
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
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
Switch command, read-only.
Example
This example shows how to display the port priority for ge.2.7:
C3(su)->show spantree portpri port ge.2.7
Port ge.2.7 has a Port Priority of 128 on SID 0
set spantree portpri
Use this command to set a port’s Spanning Tree priority.
Syntax
set spantree portpri port-string priority [sid sid]
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” on page 11-1.
sid sid (Optional) Displays port priority for a specific Spanning Tree identifier.
Valid values are 0 - 4094. If not specified, SID 0 is assumed.