© Copyright Lenovo 2017
Chapter 10: Spanning Tree Protocols
175
Port Priority
The
port
priority
helps
determine
which
bridge
port
becomes
the
root
port
or
the
designated
port.
The
case
for
the
root
port
is
when
two
switches
are
connected
using
a
minimum
of
two
links
with
the
same
path
‐
cost.
The
case
for
the
designated
port
is
in
a
network
topology
that
has
multiple
bridge
ports
with
the
same
path
‐
cost
connected
to
a
single
segment,
the
port
with
the
lowest
port
priority
becomes
the
designated
port
for
the
segment.
Use
the
following
commands
to
configure
the
port
priority:
where
priority
value
is
a
number
from
0
to
240,
in
increments
of
16
(such
as
0,
16,
32,
and
so
on).
If
the
specified
priority
value
is
not
evenly
divisible
by
16,
the
value
will
be
automatically
rounded
down
to
the
nearest
valid
increment
whenever
manually
changed
in
the
configuration.
Root Guard
The
root
guard
feature
provides
a
way
to
enforce
the
root
bridge
placement
in
the
network.
It
keeps
a
new
device
from
becoming
root
and
thereby
forcing
STP
re
‐
convergence.
If
a
root
‐
guard
enabled
port
detects
a
root
device,
that
port
will
be
placed
in
a
blocked
state.
You
can
configure
the
root
guard
at
the
port
level
using
the
following
commands:
The
default
state
is
none
(disabled).
Loop Guard
In
general,
STP
resolves
redundant
network
topologies
into
loop
‐
free
topologies.
The
loop
guard
feature
performs
additional
checking
to
detect
loops
that
might
not
be
found
using
Spanning
Tree.
STP
loop
guard
ensures
that
a
non
‐
designated
port
does
not
become
a
designated
port.
To
globally
enable
loop
guard,
enter
the
following
command:
Note:
The
global
loop
guard
command
will
be
effective
on
a
port
only
if
the
port
‐
level
loop
guard
command
is
set
to
default
as
shown
below:
CN 4093(config-if)# spanning-tree guard loop none
To
enable
loop
guard
at
the
port
level,
enter
the
following
command:
The
default
state
is
“none”,
i.e.
disabled.
CN 4093(config)#
interface port
<port
alias
or
number>
CN 4093(config-if)#
spanning-tree stp
<1
‐
128>
priority
<0
‐
65535>
CN 4093(config)#
interface port
<port
alias
or
number>
CN 4093(config-if)#
spanning-tree guard root
CN 4093(config)#
spanning-tree loopguard
CN 4093(config)#
interface port
<port
alias
or
number>
CN 4093(config-if)#
spanning-tree guard loop
Summary of Contents for Flex System Fabric CN4093
Page 27: ... Copyright Lenovo 2017 27 Part 1 Getting Started ...
Page 28: ...28 CN4093 Application Guide for N OS 8 4 ...
Page 58: ...58 CN4093 Application Guide for N OS 8 4 ...
Page 72: ...72 CN4093 Application Guide for N OS 8 4 ...
Page 85: ... Copyright Lenovo 2017 85 Part 2 Securing the Switch ...
Page 86: ...86 CN4093 Application Guide for N OS 8 4 ...
Page 98: ...98 CN4093 Application Guide for N OS 8 4 ...
Page 112: ...112 CN4093 Application Guide for N OS 8 4 ...
Page 136: ...136 CN4093 Application Guide for N OS 8 4 ...
Page 156: ...156 CN4093 Application Guide for N OS 8 4 ...
Page 192: ...192 CN4093 Application Guide for N OS 8 4 ...
Page 228: ...228 CN4093 Application Guide for N OS 8 4 ...
Page 229: ... Copyright Lenovo 2017 229 Part 4 Advanced Switching Features ...
Page 230: ...230 CN4093 Application Guide for N OS 8 4 ...
Page 298: ...298 CN4093 Application Guide for N OS 8 4 ...
Page 382: ...382 CN4093 Application Guide for N OS 8 4 ...
Page 392: ...392 CN4093 Application Guide for N OS 8 4 ...
Page 416: ...416 CN4093 Application Guide for N OS 8 4 ...
Page 452: ...452 CN4093 Application Guide for N OS 8 4 ...
Page 466: ...466 CN4093 Application Guide for N OS 8 4 ...
Page 496: ...496 CN4093 Application Guide for N OS 8 4 ...
Page 508: ...508 CN4093 Application Guide for N OS 8 4 ...
Page 510: ...510 CN4093 Application Guide for N OS 8 4 ...
Page 514: ...514 CN4093 Application Guide for N OS 8 4 ...
Page 538: ...538 CN4093 Application Guide for N OS 8 4 ...
Page 539: ... Copyright Lenovo 2017 539 Part 7 Network Management ...
Page 540: ...540 CN4093 Application Guide for N OS 8 4 ...
Page 554: ...554 CN4093 Application Guide for N OS 8 4 ...
Page 576: ...576 CN4093 Application Guide for N OS 8 4 ...
Page 596: ...596 CN4093 Application Guide for N OS 8 4 ...
Page 604: ...604 CN4093 Application Guide for N OS 8 4 ...
Page 609: ... Copyright Lenovo 2017 609 Part 9 Appendices ...
Page 610: ...610 CN4093 Application Guide for N OS 8 4 ...
Page 626: ...626 CN4093 Application Guide for N OS 8 4 ...
Page 633: ......
Page 634: ...Part Number 00MY375 Printed in USA IP P N 00MY375 ...