beautypg.com

Set stp port – Allied Telesis AT-S60 User Manual

Page 147

background image

AT-S60 Command Line User’s Guide

145

SET STP PORT

Syntax

set stp port=port|all [default]
[portcost=portcost] [portpriority=portpriority]

Parameters

port

Specifies the port (that is, slot.port) you want to
configure. You can specify more than one port at a
time. To configure all ports, enter ALL. (For
information on how to enter ports, refer to Specifying
Ports
on page 17.)

default

Returns the port’s STP settings to the default values.
This parameter can only be used when STP is enabled
on the switch and it cannot be used with any other
command parameter.

portcost

Specifies the port’s cost. The spanning tree algorithm
uses the cost parameter to decide which port provides
the lowest cost to the root bridge for that LAN. The
range is 0 (Auto-Detect) to 200,000,000. The default
setting is Auto-Detect, which automatically sets port
cost according to the speed of the port. The default
settings for Auto-Detect are 100 for a 10 Mbps port, 10
for a 100 Mbps port, and 4 for a 1 Gbps port.

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. There are sixteen increments.
The increments are listed in Table 4. You specify the
increment of the desired value. The default is 128
(increment 8).