Technical data

RackSwitch G8124 Command Reference
148
Chapter 4: Configuration Commands BMD00076, January 2009
Spanning Tree Port Configuration
By default, Spanning Tree is enabled on all ports. STG port parameters include:
Port priority
Port path cost
The port option of STG is turned on by default.
Table 4-35 Spanning Tree Port Commands
Command Syntax and Usage
[no] spanning-tree edge
Enables this port as an edge port. An edge port is not connected to a bridge, and can begin forward-
ing traffic as soon as the link is up. Configure server ports as edge ports (enabled).
Command mode: Interface port
spanning-tree 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).
The default link type is auto.
Command mode: Interface port
[no] spanning-tree pvst-protection
Enables PVST+ protection in Multiple Spanning Tree mode. The default value is enabled.
Command mode: Interface port
spanning-tree stp {<1-128>} priority {<0-240, in steps of 16>}
Configures the port priority. The port priority helps determine which bridge port becomes the des-
ignated 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.
Command mode: Interface port
spanning-tree stp {<1-128>} path-cost {<0-200000000>}
Configures the port path cost. The port path cost is used to help determine the designated port for a
segment.
Command mode: Interface port