Spanning-Tree Root-Guard - Edge-Core ECS4810-12M Layer 2 Management Manual

Hide thumbs Also See for ECS4810-12M Layer 2:
Table of Contents

Advertisement

C
OMMAND
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
spanning-tree cost (1053)
This command prevents a designated port
spanning-tree
into account and allowing a new STP root port to be elected. Use the no
root-guard
form to disable this feature.
S
YNTAX
[no] spanning-tree root-guard
D
EFAULT
Disabled
C
OMMAND
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
A bridge with a lower bridge identifier (or same identifier and lower
MAC address) can take over as the root bridge at any time.
When Root Guard is enabled, and the switch receives a superior BPDU
on this port, it is set to the Discarding state until it stops receiving
superior BPDUs for a fixed recovery period. While in the discarding
state, no traffic is forwarded across the port.
Root Guard can be used to ensure that the root bridge is not formed at
a suboptimal location. Root Guard should be enabled on any designated
port connected to low-speed bridges which could potentially overload a
slower link by taking over as the root port and forming a new spanning
tree topology. It could also be used to form a border around part of the
network where the root bridge is allowed.
When spanning tree is initialized globally on the switch or on an
interface, the switch will wait for 20 seconds to ensure that the
spanning tree has converged before enabling Root Guard.
23. See Port Role under
U
SAGE
C
OMMANDS
S
ETTING
M
ODE
U
SAGE
"Displaying Interface Settings for STA" on page
– 1061 –
| Spanning Tree Commands
C
34
HAPTER
from taking superior BPDUs
23
256.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecs4810-12m

Table of Contents