beautypg.com

Set stp port – Allied Telesis AT-S39 User Manual

Page 101

background image

AT-S39 Command Line Interface User’s Guide

101

SET STP PORT

Syntax

set stp port=port [default]
[portcost=auto|portcost]
[portpriority=portpriority]
[fastmode=enable|disable][participate=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 STP settings to the default values.
This parameter should not be used with any other
command parameter. STP must be disabled in order
for you to use this parameter. To disable STP, use the
DISABLE STP command.

portcost

Specifies the 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 default value for this parameter is AUTO, which
sets port cost according to port speed. The default
values are 100 for a 10 Mbps port, 10 for a 100 Mbps
port, and 4 for a 1 Gbps port. The range is 1 to 65535.

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 default value
for priority is 128. The range is 0 to 255.

fastmode

Specifies a edge port, which is a port that is not
connected to another node that is actively running
STP. A port where fast mode is enabled skips the
STP Listening and Learning states, and goes
directly from Blocking to Forwarding. Options for
this parameter are:

enable

Fast mode is enabled. The port skips
Listening and Learning states.

disable

Fast mode is disabled. This is the default
setting.