Specifications

Switching set stp port 8-163
Software Release 2.7.3
C613-03098-00 REV A
If the STP mode is rapid, then the values specified for the portpriority
parameter must be multiples of 16. If a user specifies a value that is not a
multiple of 16, it is rounded down to the nearest multiple of 16. The rounding
scheme is identified in Table 8-33 on page 8-163.
The edgeport parameter specifies whether the port is an edge port. An edge
port is a port that attaches to a LAN that is known to have no other bridges
attached. If no is specified, then the port is not considered to be an edge port.
The values no, off, and false are equivalent. If yes is specified, then the port is
considered to be an edgeport. The values yes, on, and true are equivalent. If
edgeport is set to yes and an RST BPDU is received on the port, which
indicates that another bridge is connected to the LAN, then the port is no
longer treated as an edge port. The default is no. If STP is running in rapid
mode, then the rapid transition of a port to the forwarding state depends on the
port being considered an edgeport or part of a Point-to-Point link.
The ptp parameter specifies whether the port has a point-to-point connection
with another bridge. If auto is specified, then the point-to-point status of the
port is determined automatically by the switch. If yes is specified, then the port
is treated as a point-to-point LAN segment. The values yes, on, and true are
equivalent. If no is specified, then the port is not treated as a point-to-point
LAN segment. The values no, off, and false are equivalent. If STP is running in
rapid mode, then the rapid transition of a port to the forwarding state depends
on the port being considered an edgeport or part of a Point-to-Point link. The
default is auto.
Examples To set a port priority of 42 for port 10 in STP1, use the command:
set stp=1 port=10 portpriority=42
To set a path cost of 120 for all ports on all STPs, use the command:
set stp=all port=all pathcost=120
Table 8-33: Rounding scheme for portpriority value when the mode is rapid
Lower boundary Upper boundary Rounded Value
0150
16 31 16
32 47 32
48 63 48
64 69 64
80 95 80
96 111 96
112 127 112
128 143 128
144 159 144
160 175 160
176 191 176
192 207 192
208 223 208
224 239 224
240 255 240