Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
Distributed Spanning Tree Commands
OmniSwitch CLI Reference Guide
September 2009
page 15-67
bridge slot/port path cost
Configures the Spanning Tree path cost value for a single port or an aggregate of ports that applies to the 
specified flat mode Common and Internal Spanning Tree (CIST) instance or a 1x1 mode VLAN instance. 
This value is the contribution of this port to the path cost towards the Spanning Tree root bridge that 
includes this port. Path cost is a measure of the distance of the listed port from the root bridge in the 
number of hops.
bridge instance {slot/port | logical_port} path cost path_cost
Syntax Definitions
instance
The flat mode CIST instance or an existing VLAN ID number (1–4094).
slot/port
Enter the slot number for the module and the physical port number on 
that module (e.g., 3/1 specifies port 1 on slot 3).
logical_port
Link aggregate ID number (0–31).
path_cost
Path cost value (0 - 65535 for 16-bit, 0–200000000 for 32-bit). 
Defaults
By default, the path cost is set to zero.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Specifying an instance number with this command when the switch is running in the 1x1 Spanning 
Tree mode implies a VLAN ID and configures the port path cost for the associated VLAN instance.
• If the switch is running in the flat mode and STP (802.1D) or RSTP (802.1W) is the active protocol, 
enter 1 to specify the CIST instance. If MSTP is the active protocol, however, entering 1 for the 
instance number is not accepted. In this case, use the 
• Note that when the Spanning Tree protocol is changed to/from MSTP, the bridge priority and port path 
cost values for the flat mode CIST instance are reset to their default values.
• Use the 
 command to automatically select the path cost value based on the 
active Spanning Tree protocol (16-bit for STP and RSTP, 32-bit for MSTP) or to use a 32-bit path cost 
value regardless of which protocol is active.
• If a 32-bit path cost value is in use and the path_cost is set to zero, the following recommended default 
path cost values based on link speed are used: