D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
92
config stp mst_ports
Purpose Used to update the port configuration for a MSTP instance.
Syntax
config stp mst_ports <portlist> instance_id <value 0-15>
{internalCost [auto | <value 1-20000000>] priority <value 0-240>}
Description This command will update the port configuration for a STP instance_id. If
a loop occurs, the MSTP function will use the port priority to select an
interface to put into the forwarding state. Set a higher priority value for
interfaces to be selected for forwarding first. In instances where the
priority value is identical, the MSTP function will implement the lowest
port number into the forwarding state and other interfaces will be
blocked. Remember that lower priority values mean higher priorities for
forwarding packets.
Parameters <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. Non-
contiguous portlist entries are separated by a comma. (ex: 1:1-1:3,1:7-
1:9)
instance_id <value 0-15> - Enter a numerical value between 0 and 15 to
identify the instance_id previously configured on the Switch. An entry of
0 will denote the CIST (Common and Internal Spanning Tree.
internalCost – This parameter is set to represent the relative cost of
forwarding packets to specified ports when an interface is selected within
a STP instance. The default setting is auto. There are two options:
auto – Selecting this parameter for the internalCost will set
quickest route automatically and optimally for an interface. The
default value is derived from the media speed of the interface.
value 1-2000000 – Selecting this parameter with a value in the
range of 1-2000000 will set the quickest route when a loop
occurs. A lower internalCost represents a quicker transmission.
priority <value 0-240> - Enter a value between 0 and 240 to set the
priority for the port interface. A higher priority will designate the interface
to forward packets first. A lower number denotes a higher priority.
Restrictions Only administrator-level users can issue this command.
Example usage:
To designate ports 1 to 2 on, with instance ID 1, to have an auto internalCost and a priority of 0:
DGS-3600:4#config stp mst_ports 1:1-1:2 instance_id 1 internalCost auto priority 0
Command: config stp mst_ports 1:1-1:2 instance_id 1 internalCost auto priority 0
Success.
DGS-3600:4#
show stp instance_id
Purpose Used to display the Switch’s current STP configuration.
Syntax
show stp
Description This command displays the Switch’s current STP configuration.
Parameters None.