Spanning-tree mst instance path-cost – Allied Telesis AT-DC2552XS User Manual

Page 374

Advertising
background image

Chapter 14: STP Commands

374

Section II: Layer 2 Switching

SPANNING-TREE MST INSTANCE PATH-COST

Syntax

spanning-tree mst instance

mst-instance

path-cost

path-cost

Parameters

mst-instance

Specifies the ID of an existing MST instance. The range is 1 to 15.

path-cost

Specifies the cost of a port to the root bridge of the MST instance.
The range is 1 to 200,000,000. By default, the path costs are 2000
for 10Gbps ports and 1400 for 40Gbps ports.

Mode

Port Interface mode

Description

Use this command to specify the cost of a port to the root bridge of the
MST instance. This cost is combined with the costs of the other ports in
the path to the root bridge, to determine the total path cost. A lower path
cost gives the port a higher priority.

Note

This command is applicable only when MSTP is enabled.

To restores the default path cost, use the NO SPANNING-TREE MST
INSTANCE PATH-COST command.

Confirmation Command

“SHOW SPANNING-TREE” on page 344

Example

This example assigns a port cost of 500 for MST instance 2 on port 1.0.2:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# spanning-tree mst instance 2 path-cost
500

Advertising