180
DCS-3950 series Ethernet switch manual
Function: Set the spanning-tree mode in the switch; The command ‘no spanning-tree
mode’ restores the default setting.
Parameter: mstp sets the switch in IEEE802.1s MSTP mode; stp sets the switch in
IEEE802.1D STP mode.
Command mode: Global Mode
Default: The switch is in the MSTP mode by default.
Usage Guide: When the switch is in IEEE802.1D STP mode, it only sends standard
IEEE802.1D BPDU and TCN BPDU. It drops any MSTP BPDUs.
Example: Set the switch in the STP mode.
Switch(Config)#spanning-tree mode stp
10.2.2.14 spanning-tree mst configuration
Command: spanning-tree mst configuration
no spanning-tree mst configuration
Function: Enter the MSTP mode. Under the MSTP mode, the MSTP attributes can be set.
The command ‘no spanning-tree mst configuration’ restores the attributes of the MSTP
to their default values.
Command mode: Global Mode
Default: The default values of the attributes of the MSTP region are listed as below:
MSTP Parameters Default Values
Instance There is only the instance 0. All the VLANs (1~4094) are
mapped to the instance 0.
Name MAC address of the bridge
Revision 0
Usage Guide: Whether the switch is in the MSTP region mode or not, users can enter the
MSTP mode, configure the attributes, and save the configuration. When the switch is
running in the MSTP mode, the system will generate the MST configuration identifier
according to the MSTP configuration. Only the switches with the same MST configuration
identifier are considered as in the same MSTP region.
Example: Enter MSTP region mode.
Switch(Config)#spanning-tree mst configuration
Switch(Config-Mstp-Region)#
10.2.2.15 spanning-tree mst cost
Command: spanning-tree mst <instance-id> cost <cost>
no spanning-tree mst <instance-id> cost
Function: Set path cost of the current port in the specified instance; The command ‘no
spanning-tree mst <instance-id> cost’ restores the default setting.
Parameter: <instance-id> sets the instance ID. The valid range is from 0 to 48. <cost>
sets path cost. The valid range is from 1 to 200,000,000.