Chapter 34: Spanning Tree Commands
– 1042 –
spanning-tree
port-priority
This command configures the priority for the specified interface. Use the
no
form to restore the default.
S
YNTAX
spanning-tree port-priority
priority
no spanning-tree port-priority
priority
- The priority for a port. (Range: 0-240, in steps of 16)
D
EFAULT
S
ETTING
128
C
OMMAND
M
ODE
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
U
SAGE
•
This command defines the priority for the use of a port in the Spanning
Tree Algorithm. If the path cost for all ports on a switch are the same,
the port with the highest priority (that is, lowest value) will be
configured as an active link in the spanning tree.
•
Where more than one port is assigned the highest priority, the port with
lowest numeric identifier will be enabled.
E
XAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree port-priority 0
R
ELATED
C
OMMANDS
spanning-tree
root-guard
This command prevents a designated port
3
from taking superior BPDUs
into account and allowing a new STP root port to be elected. Use the
no
form to disable this feature.
S
YNTAX
[
no
]
spanning-tree
root-guard
D
EFAULT
S
ETTING
Disabled
C
OMMAND
M
ODE
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
U
SAGE
•
A bridge with a lower bridge identifier (or same identifier and lower
MAC address) can take over as the root bridge at any time.
3. See Port Role under
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...