我们有上面的网络,这里是 cisco 中继配置。
Nexus 5548
interface Ethernet1/9
description F5-10G-Link
switchport mode trunk
switchport trunk allowed vlan 201
Cisco 3850(非根交换机)
interface Port-channel20
description F5-2G-Etherchannel trunk
switchport trunk allowed vlan 201
switchport mode trunk
end
interface GigabitEthernet1/0/45
description F5-1G-a
switchport trunk allowed vlan 201
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active
end
!
interface GigabitEthernet1/0/46
description F5-1G-b
switchport trunk allowed vlan 201
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active
end
链路已启动,但如果我在 cisco 上检查 STP 配置,我的 10G 链路处于阻塞模式,2G 链路处于转发模式,根据 STP 成本计算,10G 链路应该处于转发状态,因为到达根的总成本为 4 和 2G 链路root 的总成本是 5 对吗?
即使我试图增加 2G 链接的生成树成本,但链接处于 FWD 模式仍然不起作用。
SW2#sh spanning-tree int po20
Vlan Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
VLAN0201 Desg FWD 3 128.2046 P2p
Nexus#sh spanning-tree int e1/9
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0201 Altn BLK 2 128.137 P2p
如果我尝试关闭 2G 中继,然后在 Nexus 交换机上,我会看到以下生成树状态,这很奇怪
Nexus# sh spanning-tree int e1/9
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0201 Desg BKN*2 128.137 P2p *LOOP_Inc
并且这个接口永远不会进入转发状态。
我在这里做错了什么?我的 cisco 配置在中继上是错误的吗?
编辑
在 f5 端,我们有默认的 STP 设置,即“直通”,我应该将其更改为 RSTP 吗?
