User`s guide

DES-3226S Layer 2 Switch CLI Reference
112
config stp ports
Purpose Used to setup STP on the port level.
Syntax
config stp ports <portlist> {cost
<value>|priority <value>| migrate [yes|no]|
edge [true|false]| p2p [true|false]| state
[enabled|disabled]
Description This command is used to create and configure
STP for a group of ports.
Parameters
cost <value> This defines a metric that
indicates the relative cost of forwarding packets
to the specified port list. Port cost can be set
from 1 to 200000000. The lower the number,
the greater the probability the port will be
chosen to forward packets.
Default port cost: 100Mbps port = 200000
Gigabit port = 20000
priority <value> Port Priority can be from 0 to
240. The lower the number, the greater the
probability the port will be chosen as the Root
Port. Default = 128.
<portlist> Specifies a range of ports to be
configured. The port list is specified by listing
the lowest switch number and the beginning
port number on that switch, separated by a
colon. Then the highest switch number, and the
highest port number of the range (also
separated by a colon) are specified. The
beginning and end of the port list range are
separated by a dash. For example, 1:3 specifies
switch number 1, port 3. 2:4 specifies switch
number 2, port 4. 1:3-2:4 specifies all of the
ports between switch 1, port 3 and switch 2, port
4 in numerical order.
migrate [yes|no] – yes will enable the port to
migrate from 802.1d STP status to 802.1w