我有两个 3560 交换机,我有 2 个上行链路。目标是使每台交换机的两个端口上的一个链接变为绿色,另一个链接变为黄色(备用),因此当我拉出活动的绿色链接时,另一个备用链接需要 30 秒才能成为新的活动链接。我迷失了我所缺少的东西。我制作了一个根交换机和 VLAN 以及所有东西。我不确定如何使一个链接处于活动状态而另一个处于备用状态,
昏昏欲睡的人:
second#sh span
VLAN0005
Spanning tree enabled protocol ieee
Root ID Priority 28677
Address 001a.e3cd.9e80
Cost 19
Port 26 (GigabitEthernet0/26)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28677 (priority 28672 sys-id-ext 5)
Address 0023.abcd.b900
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/26 Root FWD 19 32.26 P2p
Gi0/28 Altn BLK 19 128.28 P2p
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 28682
Address 001a.e3cd.9e80
Cost 19
Port 26 (GigabitEthernet0/26)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28682 (priority 28672 sys-id-ext 10)
Address 0023.abcd.b900
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/26 Root FWD 19 32.26 P2p
Gi0/28 Altn BLK 19 128.28 P2p
VLAN0015
Spanning tree enabled protocol ieee
Root ID Priority 28687
Address 001a.e3cd.9e80
Cost 19
Port 26 (GigabitEthernet0/26)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28687 (priority 28672 sys-id-ext 15)
Address 0023.abcd.b900
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/26 Root FWD 19 32.26 P2p
Gi0/28 Altn BLK 19 128.28 P2p
VLAN0020
Spanning tree enabled protocol ieee
Root ID Priority 28692
Address 001a.e3cd.9e80
Cost 19
Port 26 (GigabitEthernet0/26)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28692 (priority 28672 sys-id-ext 20)
Address 0023.abcd.b900
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/26 Root FWD 19 32.26 P2p
Gi0/28 Altn BLK 19 128.28 P2p
second#
new#sh span
VLAN0005
Spanning tree enabled protocol ieee
Root ID Priority 28677
Address 001a.e3cd.9e80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28677 (priority 28672 sys-id-ext 5)
Address 001a.e3cd.9e80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/24 Desg FWD 19 32.26 P2p
Fa0/26 Desg FWD 19 128.30 P2p
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 28682
Address 001a.e3cd.9e80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28682 (priority 28672 sys-id-ext 10)
Address 001a.e3cd.9e80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/24 Desg FWD 19 32.26 P2p
Fa0/26 Desg FWD 19 128.30 P2p
VLAN0015
Spanning tree enabled protocol ieee
Root ID Priority 28687
Address 001a.e3cd.9e80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28687 (priority 28672 sys-id-ext 15)
Address 001a.e3cd.9e80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/24 Desg FWD 19 32.26 P2p
Fa0/26 Desg FWD 19 128.30 P2p
VLAN0020
Spanning tree enabled protocol ieee
Root ID Priority 28692
Address 001a.e3cd.9e80
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28692 (priority 28672 sys-id-ext 20)
Address 001a.e3cd.9e80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/24 Desg FWD 19 32.26 P2p
Fa0/26 Desg FWD 19 128.30 P2p