beautypg.com

Set rstp port – Allied Telesis AT-S39 User Manual

Page 108

background image

Chapter 12: Rapid Spanning Tree Protocol Commands

108

SET RSTP PORT

Syntax

set rstp port=port|all [default]
[pathcost=pathcost]
[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). To configure all ports,
specify ALL.

default

Returns the port’s RSTP settings to their default values.
This parameter performs the same function as the
RESET RSTP command.

pathcost

Specifies the port’s path 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-Detect, which automatically sets port
cost according to the speed of the port Table 2 lists
the ports cost 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