beautypg.com

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

Page 849

background image

AT-8100 Switch Command Line User’s Guide

849

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. The lower the numeric value, the higher
the priority of a path. The range is 1 to 200000000.

Confirmation Command

“SHOW SPANNING-TREE” on page 838

Example

This example assigns a port cost of 22 to port 2:

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