Spanning Tree Commands
4-291
4
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• When enabled, BPDUs are flooded to all other ports on the switch or to all
other ports within the receiving port’s native VLAN as specified by the
spanning-tree system-bpdu-flooding
command (page 4-279).
• The
spanning-tree system-bpdu-flooding
command has no effect if BPDU
flooding is disabled on a port by the
spanning-tree
port-bpdu-flooding
command.
Example
This command prevents a designated port
28
from taking superior BPDUs into
account and allowing a new STP root port to be elected. Use the
no
form to disable
this feature.
Syntax
[
no
]
spanning-tree
root-guard
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• 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.
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree port-bpdu-flooding
Console(config-if)#
28. See Port Role under ?$paratext>? on page 3-202.
Содержание 6152PL2 FICHE
Страница 2: ......
Страница 6: ...vi ...
Страница 8: ...viii ...
Страница 32: ...Tables xxxii ...
Страница 38: ...Figures xxxviii ...
Страница 56: ...Initial Configuration 2 10 2 ...
Страница 378: ...Configuring the Switch 3 322 3 ...
Страница 651: ...Address Table Commands 4 273 4 Example Console show mac address table aging time Aging time 100 sec Console ...
Страница 817: ......
Страница 818: ...SMC6128PL2 SMC6152PL2 149100000007A R01 ...