xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
89
config stp mst_config_id
Parameters
revision_level <int 0–65535>
– Enter a number between
0
and
65535
to identify the MSTP
region. This value, along with the name will identify the MSTP region configured on the
Switch. The default setting is
0
.
name <string>
– Enter an alphanumeric string of up to 32 characters to uniquely identify
the MSTP region on the Switch. This
name
, along with the
revision_level
value will
identify the MSTP region configured on the Switch. If no
name
is entered, the default
name will be the MAC address of the device.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the MSTP region of the Switch with
revision_level
10 and the
name
“Trinity”:
D G S – 3 4 2 6 : 5 # c o n f i g s t p m s t _ c o n f i g _ i d r e v i s i o n _ l e v e l 1 0 n a m e T r i n i t y
C o m m a n d : c o n f i g s t p m s t _ c o n f i g _ i d r e v i s i o n _ l e v e l 1 0 n a m e T r i n i t y
S u c c e s s .
D G S – 3 4 2 6 : 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>} (1)
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–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 and Operator-level users can issue this command.
Example usage: