我有三台交换机想要配置成一个环路 - 一台 Cisco 堆叠 (3750s) 和两台 HP 2900 系列。每台交换机都通过某种形式的 10 千兆背板连接到下一台交换机。
我该如何在这些系统上配置生成树才能使其正常运行?从我看过的文档来看,我需要将两组硬件都设置为使用 MST 模式,但我不确定是否能超过这个点。中继等都是根据需要设置的。
HP Switch 1 A4 连接到 Cisco 1/0/1。HP Switch 2 B2 连接到 Cisco 2/0/1。HP Switch 1 A2 连接到 HP Switch 2 A1。
HP 交换机 1
show spanning-tree
Multiple Spanning Tree (MST) Information
STP Enabled : Yes
Force Version : MSTP-operation
IST Mapped VLANs : 1-4094
Switch MAC Address : 0021f7-126580
Switch Priority : 32768
Max Age : 20
Max Hops : 20
Forward Delay : 15
Topology Change Count : 352,485
Time Since Last Change : 2 secs
CST Root MAC Address : 0018ba-c74268
CST Root Priority : 1
CST Root Path Cost : 200000
CST Root Port : 1
IST Regional Root MAC Address : 0021f7-126580
IST Regional Root Priority : 32768
IST Regional Root Path Cost : 0
IST Remaining Hops : 20
Root Guard Ports :
TCN Guard Ports :
BPDU Protected Ports :
BPDU Filtered Ports :
PVST Protected Ports :
PVST Filtered Ports :
| Prio | Designated Hello
Port Type | Cost rity State | Bridge Time PtP Edge
----- --------- + --------- ---- ---------- + ------------- ---- --- ----
...
A1 | Auto 128 Disabled |
A2 10GbE-CX4 | 2000 128 Forwarding | 0021f7-126580 2 Yes No
A3 10GbE-CX4 | Auto 128 Disabled |
A4 10GbE-SR | 2000 128 Forwarding | 0021f7-126580 2 Yes No
惠普交换机2
show spanning-tree
Multiple Spanning Tree (MST) Information
STP Enabled : Yes
Force Version : MSTP-operation
IST Mapped VLANs : 1-4094
Switch MAC Address : 0024a8-cd6000
Switch Priority : 32768
Max Age : 20
Max Hops : 20
Forward Delay : 15
Topology Change Count : 19,623
Time Since Last Change : 32 secs
CST Root MAC Address : 0018ba-c74268
CST Root Priority : 1
CST Root Path Cost : 202000
CST Root Port : A1
IST Regional Root MAC Address : 0024a8-cd6000
IST Regional Root Priority : 32768
IST Regional Root Path Cost : 0
IST Remaining Hops : 20
Root Guard Ports :
TCN Guard Ports :
BPDU Protected Ports :
BPDU Filtered Ports :
PVST Protected Ports :
PVST Filtered Ports :
| Prio | Designated Hello
Port Type | Cost rity State | Bridge Time PtP Edge
----- --------- + --------- ---- ---------- + ------------- ---- --- ----
...
A1 10GbE-CX4 | 2000 128 Forwarding | 0021f7-126580 2 Yes No
A2 10GbE-CX4 | Auto 128 Disabled |
B1 SFP+SR | 2000 128 Blocking | a44c11-a67c80 2 Yes No
B2 | Auto 128 Disabled |
思科堆栈 1
show spanning-tree
... (additional VLANs)
VLAN0100
Spanning tree enabled protocol ieee
Root ID Priority 1
Address 0018.bac7.426e
Cost 2
Port 107 (TenGigabitEthernet2/1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32868 (priority 32768 sys-id-ext 100)
Address a44c.11a6.7c80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/1 Desg FWD 2 128.53 P2p
Te2/1/1 Root FWD 2 128.107 P2p
答案1
答案2
要配置 Cisco 3750 以使用 MST(多生成树),请使用以下命令:
spanning-tree mode mst
spanning-tree mst configuration
name MY_MST
revision 10
instance 0 vlan 1-4094
!
在 Procurve 端使用此配置:
spanning-tree mode mst
name MY-MST
revision 10
instance 0 vlan 1-4094
这将使它们使用相同类型的 STP。您可以使用 MST 通过在 VLAN 之间划分实例来平衡链路上的 VLAN 负载。