beautypg.com

Set stp port – Allied Telesis AT-S39 User Manual

Page 96

background image

Chapter 11: Spanning Tree Protocol Commands

96

SET STP PORT

Syntax

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

default

Returns the port’s STP settings to their default values.

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 default values for this parameter 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-255.

fastmode

Used to specify edge ports that are not connected
to other nodes that are 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:

enabled

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

disabled

Fast mode is disabled.

participate

Activates and deactivates STP on the port. If you select
Yes, which is the default, the port will participate in
the spanning tree. If you select No, the port will
continue to receive and transmit Ethernet frames, but
it will not participate in spanning tree.