beautypg.com

Spanning-tree path-cost – Allied Telesis AT-8100 Series User Manual

Page 894

background image

Chapter 59: MSTP Commands

894

SPANNING-TREE PATH-COST

Syntax

spanning-tree path-cost

path-cost

Parameters

path-cost

Specifies the cost of a port to the root bridge. The range is 1 to
200000000.

Mode

Port Interface mode

Description

Use this command to specify the cost of a port to the root bridge. This cost
is combined with the costs of the other ports in the path to the root bridge,
to determine the total path cost. For MSTP, this command only applies to
the path cost for CIST. The lower the numeric value, the higher the priority
of a path. The range is 1 to 200000000. The default depends on the port
speed.

To return a port to the default value, use the no version of this command,
NO SPANNING-TREE PATH-COST.

Confirmation Command

“SHOW SPANNING-TREE” on page 883

Example

This example assigns port 2 a port cost of 22:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# spanning-tree path-cost 22