xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
94
config stp mst_ports
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 beginning
and end of the port list range are separated by a dash.
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-200000000
– Selecting this parameter with a value in
the range of 1-200000000 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
and operator-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-3627:5#config stp mst_ports 1-2 instance_id 1 internalCost auto priority 0
Command: config stp mst_ports 1-2 instance_id 1 internalCost auto priority 0
Success.
DGS-3627:5#
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.
Restrictions None.
Example usage:
To display the status of STP on the Switch:
Status 1: STP enabled with STP compatible version
DGS-3627:5#show stp
Command: show stp
STP Bridge Global Settings
-----------------------------------------