我想讨论一下stp(生成树协议)

网络工程 转变
2022-02-27 07:31:09

我想问一下是否所有的用户流量都通过根交换机。如果有冗余链接可用,则 stp(生成树协议)会阻止该链接以防止环路。因此,没有任何选择,流量只会通过剩下的其他方式。但是您说没有流量通过根交换机。

3个回答

根据拓扑和端点,用户流量不需要遍历根桥(例如:同一或相邻交换机上的两个端点是/不是根桥)。

然而,根网桥是确定所有网桥之间活动链路的基础。

请参阅每 VLAN 生成树 ( PVST ) 和每 VLAN 生成树 Plus ( PVST+ )。这将允许您通过冗余第 2 层链路发送一些流量。

NOTES:    
Spanning Tree Protocol - (IEEE)
    802.1D STP (Spanning Tree Protocol)
    801.1s MSTP (Multiple Spanning Trees Protocol)
    802.1w RSTP (Rapid Spanning Tree Protocol)

    Permits only a single path toward the root bridge
    Is outdated, replaced by 802.1q-2014(.aq Shortest Path Bridging, SPB)

    Path Cost determined by the access speeds of the links determine the path cost

    * Don't Deploy STP
    MLAG Multi-Chassis Link Aggregation Groups
        VSS
        Cross-Stack Etherchannel
        FabricPath (uses IS-IS at layer 2)
        VPC (Virtual Port Channel) 
        Brocade’s VCS (Virtual Cluster Switching)   
    IETF TRILL (Transparent Interconnection of Lots of Links)
    IEEE 802.1aq (Shortest Path Bridging – SPB)

不一定所有用户流量都会在到达目的地之前通过根。

每个交换机或 vlan 将只有一个到达根的最佳路径。如果您设置好并查看每条路径,您将看到“树”在 STP 中的来源。