Page 476 / 757 Scroll up to view Page 471 - 475
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
472
63
MULTIPLE SPANNING TREE PROTOCOL (MSTP) COMMANDS
This Switch supports three versions of the Spanning Tree Protocol; 802.1D STP, 802.1D 2004 RSTP, 802.1Q 2005
MSTP. Multiple Spanning Tree Protocol, or MSTP, is a standard defined by the IEEE community that allows multiple
VLANs to be mapped to a single spanning tree instance, which will provide multiple pathways across the network.
Therefore, these MSTP configurations will balance the traffic load, preventing wide scale disruptions when a single
spanning tree instance fails. This will allow for faster convergences of new topologies for the failed instance. Frames
designated for these VLANs will be processed quickly and completely throughout interconnected bridges utilizing either of
the three spanning tree protocols (STP, RSTP or MSTP). This protocol will also tag BPDU packets so receiving devices
can distinguish spanning tree instances, spanning tree regions and the VLANs associated with them. These instances will
be classified by an instance_id. MSTP will connect multiple spanning trees with a Common and Internal Spanning Tree
(CIST). The CIST will automatically determine each MSTP region, its maximum possible extent and will appear as one
virtual bridge that runs a single spanning tree. Consequentially, frames assigned to different VLANs will follow different
data routes within administratively established regions on the network, continuing to allow simple and full processing of
frames, regardless of administrative errors in defining VLANs and their respective spanning trees.
Each switch utilizing the MSTP on a network will have a single MSTP configuration that will have the following three
attributes:
A configuration name defined by an alphanumeric string of up to 32 characters (defined in the config stp mst_config_id
command as name <string>).
A configuration revision number (named here as a revision_level) and;
A 4096 element table (defined here as a vid_range) which will associate each of the possible 4096 VLANs supported by
the Switch for a given instance.
To utilize the MSTP function on the Switch, three steps need to be taken:
The Switch must be set to the MSTP setting (config stp version)
The correct spanning tree priority for the MSTP instance must be entered (config stp priority).
VLANs that will be shared must be added to the MSTP Instance ID (config stp instance_id).
The Multiple Spanning Tree Protocol (MSTP) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Page 477 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
473
Command
Parameters
show stp
show stp instance
<value 0-15>
show stp ports
{<portlist>}
show stp mst_config_id
create stp instance_id
<value 1-15>
delete stp instance_id
<value 1-15>
config stp instance_id
<value 1-15> [add_vlan | remove_vlan] <vidlist>
config stp mst_config_id
{name <string> | revision_level <int 0-65535>}
enable stp
disable stp
config stp version
[mstp | rstp | stp]
config stp priority
<value 0-61440> instance_id <value 0-15>
config stp
{maxage <value 6-40> | maxhops <value 1-40> | hellotime <value 1-10> |
forwarddelay <value 4-30> | txholdcount <value 1-10> | fbpdu
[enable(3)|disable(2)] | lbd [enable(1)|disable(0)] | lbd_recover_timer [<value 0> |
<value 60-1000000>] | nni_bpdu_addr [dot1d | dot1ad]}(1)
config stp ports
<portlist> {externalCost [auto | <value 1-200000000>] | hellotime <value 1-10> |
migrate [yes | no] | edge [true | false | auto] | p2p [true | false | auto] | state
[enable | disable] | restricted_role [true |f alse] | restricted_tcn [true | false] | lbd
[enable | disable] | fbpdu [enable | disable]}(1)
config stp mst_ports
<portlist> instance_id <value 0-15> {internalCost [ auto | <value 1-200000000>] |
priority <value 0-240>}
Each command is listed, in detail, in the following sections.
show stp
Purpose
Used to show the bridge parameters global settings. (CIST or msti id=0)
Syntax
show stp
Description
The show stp command is used to show the bridge parameters global settings.
Parameters
None.
Restrictions
None.
Example usage:
To show stp:
Page 478 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
474
DGS-3627:admin# show stp
Command: show stp
STP Bridge Global Settings
-----------------------------
STP Status
: Enabled
STP Version
: MSTP
Max Age
: 20
Forward Delay
: 15
Max Hops
: 20
TX Hold Count
: 3
Forwarding BPDU
: Enabled
LoopBack Detection : Enabled
NNI BPDU Address
: dot1d
DGS-3627:admin#
show stp instance
Purpose
Used to show each instance parameters settings.
Syntax
show stp instance <value 0-15>
Description
This command displays each instance parameters settings. Value means the instance id, if
there is no input of this value, all instance will be shown.
Parameters
instance
- MSTP instance id . Instance 0 represents for default instance
CIST. The bridge
support total 16 Instance
0-15
at most.
Restrictions
None.
Example usage:
To show stp instance:
DGS-3627:admin# show stp instance
Command: show stp instance
STP Instance Settings
---------------------------
Instance Type
: CIST
Instance Status
: Enabled
Instance Priority
: 32768(Bridge Priority : 32768, SYS ID Ext : 0 )
STP Instance Operational Status
--------------------------------
Designated Root Bridge : 32768/00-22-22-22-22-00
External Root Cost
: 0
Regional Root Bridge
: 32768/00-22-22-22-22-00
Internal Root Cost
: 0
Designated Bridge
: 32768/00-22-22-22-22-00
Root Port
: None
Max Age
: 20
Forward Delay
: 15
Last Topology Change
: 2430
Topology Changes Count : 0
DGS-3627:admin#
Page 479 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
475
show stp ports
Purpose
Used to show the port information includes parameters setting and operational value.
Syntax
show stp ports {<portlist>}
Description
This command displays each port's parameters settings. If not input the portlist, all ports will
be shown . If there are multi instances on this bridge , the parameters of the port on different
instances will be shown.
Parameters
ports
- To show parameters of the designated port numbers , to be distinguish ed from
showing parameters of the bridge.
portlist
- One of CLI Value Type , restrict the input value and format of the ports, refer to
section 1-4 Switch Numerical Ranges.
instance_id
- specifies the stp instance id.
Restrictions
None.
Example usage:
To show stp ports:
DGS-3627:admin#
show stp ports
Command: show stp ports
MSTP Port Information
Port Index
: 1
, Hello Time: 2 /2 , Port STP : Enabled
, LBD : No
External PathCost : Auto/20000
, Edge Port : False/No , P2P : Auto /Yes
Port RestrictedRole : False,
Port RestrictedTCN : False
Port Forward BPDU : Disabled
Msti
Designated Bridge
Internal PathCost
Prio
Status
Role
-----
------------------
-----------------
----
----------
----------
0
N/A
200000
128
Disabled
Disabled
2
N/A
200000
128
Disabled
Disabled
DGS-3627:admin#
show stp mst_config_id
Purpose
Used to show the MST Configuration Identification.
Syntax
show stp mst_config_id
Description
Show the 3 elements of the MST configuration Identification, including: Configuration
NameRevision Level, and MST configuration Table. The default Configuration name is the
MAC address of the bridge.
Parameters
mst_config_id
- If two bridges has the same three elements in mst_config_id, that means
they are in the same MST region.
Restrictions
None.
Example usage:
show stp mst_config_id:
Page 480 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
476
DGS-3627:admin#
show stp mst_config_id
Command: show stp mst_config_id
Current MST Configuration Identification
----------------------------------------
Configuration Name : 00-22-22-22-22-00
Revision Level :0
MSTI ID
Vid list
-------
-----------
CIST
1-4094
DGS-3627:admin#
create stp instance_id
Purpose
To create an MST Instance without mapping the corresponding VLANs yet.
Syntax
create stp instance_id <value 1-15>
Description
To create a new MST instance independent from the default Instance: CIST (Instance 0).
After creating the MST instance, need to do the configuration of VLANs, or this newly created
MST instance will still be in disable state.
Parameters
instance_id
- MSTP instance id. Instance 0 represents for default instance, CIST. The DUT
support 16 Instance (0-15) at most.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create mstp instance:
DGS-3627:admin#
create stp instance_id 2
Command: create stp instance_id 2
Success.
DGS-3627:admin#
delete stp instance_id
Purpose
Used to delete MST Instance.
Syntax
delete stp instance_id <value 1-15>
Description
To delete the specified MST Instance . CIST (Instance 0) can not be deleted and only can
delete one instance at a time.
Parameters
instance_id
- MSTP instance id. Instance 0 represents for default instance, CIST. The DUT
support 16 Instance (0-15) at most.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete mstp instance:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top