beautypg.com

Spanning-tree priority (port priority) – Allied Telesis AT-DC2552XS User Manual

Page 384

background image

Chapter 14: STP Commands

384

Section II: Layer 2 Switching

SPANNING-TREE PRIORITY (Port Priority)

Syntax

spanning-tree priority

priority

Parameter

priority

Specifies the priority value for a port. The range is 0 to 240, in
increments of 16. Specify 0, 16, 32, 48, 64, 80, 96, 112, 128, 144,
160, 176, 192, 208, 224, or 240. The default value is 128.

Mode

Port Interface mode

Description

Use this command to set the priority value of a port. The port priority is
used as a tie breaker to decide the port role when two or more ports have
equal costs to the root bridge. A lower port priority value gives a port the
higher priority.

When MSTP is enabled, this command sets the value to the CIST
(instance 0).

To restore the default value, 128, use the NO SPANNING-TREE
PRIORITY command in the Port Interface mode.

Confirmation Command

“SHOW SPANNING-TREE” on page 344

Example

This example assigns ports 1.0.16 and 1.0.17 a port priority value of 112:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.16,port1.0.17
awplus(config-if)# spanning-tree priority 112