Set stp port – Allied Telesis AT-S63 User Manual
Page 581

AT-S63 Management Software Command Line User’s Guide
Section V: Spanning Tree Protocols
581
SET STP PORT
Syntax
set stp port=
port
[pathcost|portcost=auto|
portcost
]
[portpriority=
portpriority
]
Parameters
port
Specifies the port you want to configure. You can
configure more than one port at a time. For instructions,
refer to “Port Numbers in Commands” on page 48.
pathcost or
Specifies the port’s cost. The parameters are
portcost
equivalent. The spanning tree algorithm uses the cost
parameter to decide which port provides the lowest cost
to the root bridge. This parameter can take the range of
1 to 65,535, or AUTO. The default setting is AUTO, for
Automatic Update, which automatically sets port cost
according to the speed of the port. Table 13 lists the
STP port costs with Auto-Detect.
Table 14 lists the STP port costs with Auto-Detect when
a port is part of a port trunk.
portpriority
Specifies the port’s priority. This parameter is used as a
tie breaker when two or more ports are determined to
have equal costs to the root bridge. The range is 0 to
240 in increments of 16, for a total of 16 increments as
shown in Table 15. You specify the increment of the
desired value. The default is 128 (increment 8).
Table 13. STP Auto-Detect Port Costs
Port Speed
Port Cost
10 Mbps
100
100 Mbps
10
1000 Mbps
4
Table 14. Auto-Detect Port Trunk Costs
Port Speed
Port Cost
10 Mbps
4
100 Mbps
4
1000 Mbps
1
Command
Available
AlliedWare Plus