DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 265
Example usage:
To configure the MSTP region of the Switch with
revision_level
10 and the
name
“Trinity”:
DGS-3700-12:5#config stp mst_config_id revision_level 10 name Trinity
Command : config stp mst_config_id revision_level 10 name Trinity
Success.
DGS-3700-12:5#
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-200000000>] 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 MAC address 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 port or range of ports to be configured.
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. This value must be divisible by 16. The
default setting is 128.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To designate ports 1 through 5, with instance id 2, to have an auto internalCost and a priority of 16: