Specifications

Switching set stp port 8-161
Software Release 2.7.3
C613-03098-00 REV A
set stp port
Syntax SET STP[={stp-name|ALL}] POrt={port-list|ALL}
[Pathcost=pathcost] [PORTPRIority=0..255]
[EDGEport={YES|NO|ON|OFF|True|False}] [PTP={Auto|ON|
OFF|YES|NO|True|False}]
SET STP[={stp-name|ALL}] POrt={port-list|ALL} DEFault
where:
stp-name is a character string 1 to 15 characters long. Valid characters are
uppercase and lowercase letters, digits, the underscore, and the hyphen.
port-list is a port number, range (specified as n-m), or comma-separated list
of numbers and/or ranges. Port numbers start at 1 and end at m, where m
is the highest numbered switch Ethernet port, including uplink ports.
pathcost is a value from 1 to 1,000,000 if STP is running in standard mode,
and 1 to 200,000,000 if STP is running in rapid mode.
Description This command sets various parameters used by the Spanning Tree Algorithm
for the specified ports, or all ports within the specified STP, or all STPs.
A port can belong to a single STP, except on the Rapier i series switches. This
means that when the port is member of multiple VLANs, all these VLANs
must belong to the same STP.
On the Rapier i Series switches only, a port can belong to multiple STPs when
the port is a member of more than one VLAN.
The STP parameter specifies an STP name. If no parameter is entered, the
default is all.
Non-default STP parameter values configured for a port are not retained when
the VLAN to which the port belongs is moved to another STP by using the add
stp vlan or delete stp vlan commands.
The port parameter specifies a list of ports that can belong to any STP. The
default is all.
The default parameter sets the pathcost and portpriority parameters back to
their defaults. This parameter cannot be specified with either of the pathcost
and portpriority parameters. The edgeport and ptp parameters are not affected
by this command.
The pathcost parameter sets the path cost for each port. The pathcost for a
LAN port should be set to a maximum of 1,000,000 in standard mode and
200,000,000 in rapid mode. If the port is to be the root port then this value
determines the total cost from the switch to the Root Bridge. Each STP has its
own independent pathcost parameter for each member port. The default
pathcost values and the range of recommended pathcost values depend on the
port speed and mode (see Table 8-31 on page 8-162 and Table 8-32 on
page 8-162).