LAB 4.5: (1) Kiểm tra và hiệu chỉnh Root Bridge trên các Cisco Switch trong giao thức Spanning-Tree

By , 0 View

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 50

VLAN0050
  Spanning tree enabled protocol ieee
  Root ID    Priority    32818
             Address     001e.49e5.5700
             Cost        19
             Port        221 (FastEthernet5/0/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32818  (priority 32768 sys-id-ext 50)
             Address     6c50.4d18.a680
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa5/0/3             Root FWD 19        128.221  P2p 
Fa5/0/4             Altn BLK 19        128.222  P2p 
Fa5/0/5             Desg FWD 19        128.223  P2p 
Fa5/0/6             Back BLK 19        128.224  P2p 

DS1#

AS1#show spanning-tree vlan 50

VLAN0050
  Spanning tree enabled protocol ieee
  Root ID    Priority    32818
             Address     001e.49e5.5700
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32818  (priority 32768 sys-id-ext 50)
             Address     001e.49e5.5700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/5            Desg FWD 19        128.5    P2p 
Gi0/1            Desg FWD 19        128.25   P2p 
Gi0/2            Desg FWD 19        128.26   P2p 

AS1#

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 50

VLAN0050
  Spanning tree enabled protocol ieee
  Root ID    Priority    4146
             Address     6c50.4d18.a680
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4146   (priority 4096 sys-id-ext 50)
             Address     6c50.4d18.a680
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  15  sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa5/0/3             Desg FWD 19        128.221  P2p 
Fa5/0/4             Desg FWD 19        128.222  P2p 
Fa5/0/5             Desg FWD 19        128.223  P2p 
Fa5/0/6             Desg LIS 19        128.224  P2p 

DS1#

AS1#show spanning-tree vlan 50

VLAN0050
  Spanning tree enabled protocol ieee
  Root ID    Priority    4146
             Address     6c50.4d18.a680
             Cost        19
             Port        25 (GigabitEthernet0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32818  (priority 32768 sys-id-ext 50)
             Address     001e.49e5.5700
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 15 

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1            Root FWD 19        128.25   P2p 
Gi0/2            Altn BLK 19        128.26   P2p 

AS1#

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. 

You Might Also Like

0 comments