BLADE OS™ ISCLI Reference HP GbE2c L2/L3 Ethernet Blade Switch Version 5.1 Advanced Functionality Software
BLADE OS 5.1 ISCLI Reference
254
Chapter 4: Configuration Commands BMD00115, August 2009
Spanning Tree Port Configuration
By default for STP/PVST+, Spanning Tree is turned off for downlink ports and management
ports, and turned on for cross-connect ports and uplink ports. By default for RSTP/MSTP,
Spanning Tree is turned off for downlink ports and management ports, and turned on for uplink
ports, with downlink ports configured as edge ports. STG port parameters include:
Port priority
Port path cost
The port option of STG is turned on by default.
Table 143 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:
100Mbps = 19
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 <STG number> link {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