DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide
112
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports <portlist> {cost [auto
|<value1-20000000>|priority <value0-
240>|migrate [yes | no] | edge [true |
false] | p2p [true | false | auto] | state
[enable|disable]}(1)
Description
This command is used to create and
configure STP for a group of ports.
Parameters
<portlist>
−
specifies a range of ports to be
configured. The port list is specified by
listing the beginning port number and the
highest port number of the range.
The DGS3224SR is a stackable switch and
each port is designated as belonging to a
particular switch in the stack. For example,
port 2 in switch 5 in a stack is listed as 2-
5. A range of ports would be shown as 2-5,
3-6 (port 3 in switch 6), with the beginning
and the end of the range of switches
separated by a comma.
state [enable|disable]
−
Allows STP to be
enabled or disabled for the ports specified
in the port list. The default is disabled.
cost <value>
−
This defines a metric that
indicates the relative cost of forwarding
packets to the specified port list. The
default cost for a 1000 Mbps port is
20,000, a 100 Mbps port is 200,000, and
for a 10 Mbps port the default cost is