Users Guide

Layer 2 Switching Commands 810
User Guidelines
Dell EMC Networking spanning tree uses long values for spanning tree costs.
The range for path cost for a port is 0-200,000,000. The range for path cost for
a VLAN is 1-200,000,000. Use the no form of the command to calculate the
cost based on the interface speed. A zero path cost causes the switch to
calculate the path cost based upon the speed of the interface.
If the VLAN parameter is given, the path cost is configured only for the
selected VLANs (applies only when pvst or rapid-pvst mode is selected).
Configuration without the VLAN parameter configures the interface path
cost for STP, RSTP, and the MSTP common instance.
If an interface is configured with both the spanning-tree vlan vlan-id cost cost
command and the spanning-tree cost cost command, the spanning-tree vlan
vlan-id cost cost value is used in the spanning tree calculation for RSTP, STP,
and MST. Use the spanning-tree vlan cost command to change the cost for
RSTP-PV and STP-PV.
Example
The following example configures the external path cost to be 8192 for
VLANs 12, 13, 24, 25, and 26.
console(config-if-Gi1/0/1)#spanning-tree vlan 12,13,24-26 cost 8192
spanning-tree disable
Use the spanning-tree disable command in Interface Configuration mode to
disable spanning-tree on a specific port. To enable spanning-tree on a port,
use the no form of this command.
Syntax
spanning-tree disable
no spanning-tree disable
Default Configuration
By default, all ports are enabled for spanning-tree.