beautypg.com

Spanning-tree port- priority, Spanning-tree root- guard, Spanning-tree port-priority – LevelOne GTL-2691 User Manual

Page 1082: Spanning-tree root-guard

background image

C

HAPTER

37

| Spanning Tree Commands

– 1082 –

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 cost (1074)

spanning-tree root-

guard

This command prevents a designated port

23

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)

23. See Port Role under

"Displaying Interface Settings for STA" on page 255

.