Technical data

BLADEOS 6.3 Command Reference
278
Chapter 4: Configuration Commands BMD00186-B, April 2010
Spanning Tree Port Configuration
By default, Spanning Tree is turned off for management ports, and turned on for data ports.
STG port parameters include:
Port priority
Port path cost
For more information about port Spanning Tree commands, see “Port Spanning Tree
Configuration” on page 249.
Table 164 Spanning Tree Port commands
Command Syntax and Usage
spanning-tree stp <STG number> priority <0-255>
Configures the port priority. The port priority helps determine which bridge port becomes the
designated port. In a network topology that has multiple bridge ports connected to a single
segment, the port with the lowest port priority becomes the designated port for the segment.
The default value is 128.
RSTP/MSTP: The range is 0 to 240, in steps of 16 (0, 16, 32...) and the default is 128.
Command mode: Interface port
spanning-tree stp <STG number> path-cost <1-65535, 0 for default)>
Configures the port path cost. The port path cost is used to help determine the designated port
for a segment. Port path cost is based on the port speed, and is calculated as follows:
1Gbps = 4
10Gbps = 2
The default value of 0 (zero) indicates that the default path cost will be computed for an auto
negotiated link speed.
Command mode: Interface port
spanning-tree stp link-type {auto|p2p|shared}
Defines the type of link connected to the port, as follows:
auto: Configures the port to detect the link type, and automatically match its settings.
p2p: Configures the port for Point-To-Point protocol.
shared: Configures the port to connect to a shared medium (usually a hub).
Command mode: Interface port