首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >STP负载平衡

STP负载平衡
EN

Network Engineering用户
提问于 2015-06-09 09:03:09
回答 1查看 1K关注 0票数 4

拓扑结构:

代码语言:javascript
复制
sw3560  gig0/23 ---> fa0/24  sw2960
sw3560  gig0/24 ---> gig0/2  sw2960 

我有一个关于STP负载平衡的问题,在我的交换机3560上配置如下:

代码语言:javascript
复制
!
interface GigabitEthernet0/23
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 200
 switchport mode trunk
 spanning-tree vlan 10,20,30,40,50,60 port-priority 16
!
interface GigabitEthernet0/24
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 200
 switchport mode trunk
 spanning-tree vlan 70,80,90,100,150 port-priority 16

这是正确的配置吗?

谢谢..。

代码语言:javascript
复制
 VLAN0001
   Spanning tree enabled protocol ieee
   Root ID    Priority    32769
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0010
   Spanning tree enabled protocol ieee
   Root ID    Priority    32778
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19         16.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0020
   Spanning tree enabled protocol ieee
   Root ID    Priority    32788
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32788  (priority 32768 sys-id-ext 20)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19         16.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0030
   Spanning tree enabled protocol ieee
   Root ID    Priority    32798
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32798  (priority 32768 sys-id-ext 30)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19         16.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0040
   Spanning tree enabled protocol ieee
   Root ID    Priority    32808
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32808  (priority 32768 sys-id-ext 40)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19         16.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0050
   Spanning tree enabled protocol ieee
   Root ID    Priority    32818
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32818  (priority 32768 sys-id-ext 50)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19         16.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0060
   Spanning tree enabled protocol ieee
   Root ID    Priority    32828
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32828  (priority 32768 sys-id-ext 60)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19         16.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
代码语言:javascript
复制
 VLAN0070
   Spanning tree enabled protocol ieee
   Root ID    Priority    32838
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32838  (priority 32768 sys-id-ext 70)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4          16.24   P2p
代码语言:javascript
复制
 VLAN0080
   Spanning tree enabled protocol ieee
   Root ID    Priority    32848
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32848  (priority 32768 sys-id-ext 80)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4          16.24   P2p
代码语言:javascript
复制
  VLAN0090
    Spanning tree enabled protocol ieee
    Root ID    Priority    32858
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32858  (priority 32768 sys-id-ext 90)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4          16.24   P2p
代码语言:javascript
复制
 VLAN0100
   Spanning tree enabled protocol ieee
   Root ID    Priority    32868
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32868  (priority 32768 sys-id-ext 100)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/12              Desg FWD 19        128.12   P2p
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4          16.24   P2p
代码语言:javascript
复制
  VLAN0150
    Spanning tree enabled protocol ieee
    Root ID    Priority    32918
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32918  (priority 32768 sys-id-ext 150)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4          16.24   P2p
代码语言:javascript
复制
 VLAN0200
   Spanning tree enabled protocol ieee
   Root ID    Priority    32968
         Address     0018.18da.8b80
         Cost        4
         Port        24 (GigabitEthernet0/24)
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

         Bridge ID  Priority    32968  (priority 32768 sys-id-ext 200)
         Address     0019.5601.7600
         Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
         Aging Time  300 sec

         Interface           Role Sts Cost      Prio.Nbr Type
         Gi0/23              Altn BLK 19        128.23   P2p
         Gi0/24              Root FWD 4         128.24   P2p
EN

回答 1

Network Engineering用户

发布于 2015-06-09 15:25:20

这种配置已经过时,因为STP已经过时,取而代之的是802.1q-2014(.aq最短路径桥接)。

*不要部署STP

MLAG多底盘链路聚合组

再发性

超临界交叉层以太通道

(使用IS-在第2层)

虚拟端口通道

虚拟集群交换( VCS )

IETF TRILL (许多链接的透明互连)

IEEE 802.1aq (最短路径桥接- SPB)

票数 -9
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/19067

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档