Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
Configuring Spanning Tree Parameters
Sample Spanning Tree Configuration
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 13-41
• The path cost for each port connection defaults to a value based on the link speed. For example, the 
connection between Switch B and Switch C is a 100 Mbps link, which defaults to a path cost of 19.
• VLAN 255 on Switch D is configured with a Bridge ID priority value of 10, which is less than the 
same value for VLAN 255 configured on the other switches. As a result, VLAN 255 was elected the 
Spanning Tree root bridge for the VLAN 255 broadcast domain. 
• A root port is identified for VLAN 255 on each switch, except the root VLAN 255 switch. The root 
port identifies the port that provides the best path to the root VLAN. 
• VLAN 255 on Switch A was elected the designated bridge because it offers the best path cost for 
Switch B to the root VLAN 255 on Switch D.
• Port 2/9 on Switch A is the designated port for the Switch A to Switch B connection because Switch A 
is the designated bridge for Switch B.
• Redundant connections exist between Switch D and Switch C. Ports 2/2 and 3/9 are in a discarding 
(blocking) state because this connection has a higher path cost than the connection provided through 
ports 2/3 and 3/8. As a result, a network loop condition is avoided.
• Redundant connections also exist between Switch A and Switch B. Although the path cost value for 
both of these connections is the same, ports 2/8 and 3/3 are in a discarding state because their port 
priority values (not shown) are higher than the same values for ports 2/10 and 3/1. 
• The ports that provide the connection between Switch B and Switch C are in a discarding (blocking) 
state, because this connection has a higher path cost than the other connections leading to the root 
VLAN 255 on Switch D. As a result, a network loop is avoided. 
Example Network Configuration Steps
The following steps provide a quick tutorial that configures the active Spanning Tree network topology 
shown in the diagram on 
Create VLAN 255 on Switches A, B, C, and D with “Marketing IP Network” for the VLAN descrip-
tion on each switch using the following command:
-> vlan 255 name "Marketing IP Network"
Assign the switch ports that provide connections between each switch to VLAN 255. For example, the 
following commands entered on Switches A, B, C, and D, respectively, assign the ports shown in the 
example network diagram on 
 to VLAN 255:
-> vlan 255 port default 2/8-10
-> vlan 255 port default 3/1-3
-> vlan 255 port default 3/8-10
-> vlan 255 port default 2/1-3
Change the Spanning Tree protocol for VLAN 255 to 802.1w (rapid reconfiguration) on each switch 
using the following command:
-> bridge 255 protocol 1w