Example
This example shows how to display port admin status for
D2(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
port port‐string
sid sid
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 fe.2.7:
D2(su)->show spantree portpri port
fe
Port
set spantree portpri
Use this command to set a port's Spanning Tree priority.
Syntax
set spantree portpri port-string priority [sid sid]
(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 6‐1.
(Optional) Displays port priority for a specific Spanning Tree identifier.
Valid values are 0 ‐ 4094. If not specified, SID 0 is assumed.
.2.7 has a Port Priority of 128 on SID 0
.1.1:
ge
fe
.2.7
Enterasys D-Series CLI Reference 8-35
show spantree portpri