BLADE OS™ Command Reference HP GbE2c L2/L3 Ethernet Blade Switch Version 5.1 Advanced Functionality Software

BLADE OS 5.1 Command Reference
BMD00114, August 2009 Chapter 6: The Configuration Menu
283
/cfg/l2/stp <STP Group Index>/port <port number>
Spanning Tree Port Configuration Menu
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.
[Spanning Tree Port 1 Menu]
prior - Set port Priority (0-255)
cost - Set port Path Cost (1-65535 (802.1D) /
1-200000000 (MSTP/RSTP) /0 for auto)
link - Set port link type (auto, p2p, or shared; default: auto)
edge - Enable/disable edge port
on - Turn port's Spanning Tree ON
off - Turn port's Spanning Tree OFF
cur - Display current port Spanning Tree parameters
Table 145 Spanning Tree Port Menu Options (/cfg/l2/stg/port)
Command Syntax and Usage
prior <port 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.
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.