beautypg.com

Set rstp port – Allied Telesis AT-S39 User Manual

Page 112

background image

Chapter 12: Rapid Spanning Tree Protocol Commands

112

SET RSTP PORT

Syntax

set rstp port=port [default]
[portcost=auto|portcost]
[portpriority=portpriority][edgeport=yes|no]
[pointtopoint=yes|no|autoupdate]
[migrationcheck=yes|no]

Parameters

port

Specifies the port you want to configure. You can
specify more than one port at a time. The ports can be
specified individually (e.g., 1,2,5,8), as a range (e.g., 2-
5), or both (e.g., 11-13,18).

default

Returns the port’s RSTP settings to their default values.
This parameter should not be used with any other
command parameter. RSTP must be disabled in order
for you to use this parameter. To disable RSTP, use the
DISABLE RSTP command.

portcost

Specifies the port’s port cost. The spanning tree
algorithm uses the cost parameter to decide which
port provides the lowest cost path to the root bridge
for that LAN. The range is 0 to 20 000 000. The default
setting is AUTO, for Auto-Detect, which automatically
sets port cost according to the speed of the port. Table
2 lists the ports co
st with Auto-Detect.

Table 2 RSTP Auto-Detect Port Costs

Port Speed

Port Cost

10 Mbps

2 000 000

100 Mbps

200 000

1000 Mbps

20 000