Mục tiêu thực hành:
- Kiểm tra chức năng Root Bridge trên các Switch.
- Hiệu chỉnh CoreSwitch DS1 luôn đóng vai trò là Root Bridge.
Các bước thực hiện:
Kiểm tra chức năng Root Bridge trên các Switch.
- Hiện nay AccessSwitch đang đóng vai trò là Root Bridge vì có MAC thấp hơn so với CoreSwitch.
DS1#show spanning-tree vlan 50VLAN0050Spanning tree enabled protocol ieeeRoot ID Priority 32818Address 001e.49e5.5700Cost 19Port 221 (FastEthernet5/0/3)Hello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 32818 (priority 32768 sys-id-ext 50)Address 6c50.4d18.a680Hello Time 2 sec Max Age 20 sec Forward Delay 15 secAging Time 15 secInterface Role Sts Cost Prio.Nbr Type------------------- ---- --- --------- -------- --------------------------------Fa5/0/3 Root FWD 19 128.221 P2pFa5/0/4 Altn BLK 19 128.222 P2pFa5/0/5 Desg FWD 19 128.223 P2pFa5/0/6 Back BLK 19 128.224 P2pDS1#
AS1#show spanning-tree vlan 50VLAN0050Spanning tree enabled protocol ieeeRoot ID Priority 32818Address 001e.49e5.5700This bridge is the rootHello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 32818 (priority 32768 sys-id-ext 50)Address 001e.49e5.5700Hello Time 2 sec Max Age 20 sec Forward Delay 15 secAging Time 300Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Fa0/5 Desg FWD 19 128.5 P2pGi0/1 Desg FWD 19 128.25 P2pGi0/2 Desg FWD 19 128.26 P2pAS1#
Hiệu chỉnh CoreSwitch DS1 luôn đóng vai trò là Root Bridge.
- Switch nào có giá trị Priority thấp nhất thì Switch đó sẽ đóng vai trò là Root Bridge.
DS1(config)#spanning-tree vlan 1-50 priority 4096
- Kiểm tra chức năng Root Bridge của các Switch sau khi hiệu chỉnh Priority trên CoreSwitch.
DS1#show spanning-tree vlan 50VLAN0050Spanning tree enabled protocol ieeeRoot ID Priority 4146Address 6c50.4d18.a680This bridge is the rootHello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 4146 (priority 4096 sys-id-ext 50)Address 6c50.4d18.a680Hello Time 2 sec Max Age 20 sec Forward Delay 15 secAging Time 15 secInterface Role Sts Cost Prio.Nbr Type------------------- ---- --- --------- -------- --------------------------------Fa5/0/3 Desg FWD 19 128.221 P2pFa5/0/4 Desg FWD 19 128.222 P2pFa5/0/5 Desg FWD 19 128.223 P2pFa5/0/6 Desg LIS 19 128.224 P2pDS1#
AS1#show spanning-tree vlan 50VLAN0050Spanning tree enabled protocol ieeeRoot ID Priority 4146Address 6c50.4d18.a680Cost 19Port 25 (GigabitEthernet0/1)Hello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 32818 (priority 32768 sys-id-ext 50)Address 001e.49e5.5700Hello Time 2 sec Max Age 20 sec Forward Delay 15 secAging Time 15Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Gi0/1 Root FWD 19 128.25 P2pGi0/2 Altn BLK 19 128.26 P2pAS1#
Tham khảo các videos lý thuyết Hướng dẫn thực hành CCNA R&S để biết thêm thông tin chi tiết.
0 comments