Курс Cisco, Routing and Switching. Шаг 17 Основы настройки STP протокола на коммутаторах Cisco. p.1 HD
Рассматриваются основы настройки протоколов STP и RSTP на коммутаторах компании Cisco. Листинг команд для настройки рутового коммутатора SW1 имеет вид: 1. Просмотр состояния STP протокола на коммутаторе SW1 SW1#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 32769 Address 0001.438C.047A Bridge ID Priority 32769 Address 00D0.5857.9114 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- ------- Fa0/1 Desg FWD 19 128.1 P2p Fa0/11 Altn BLK 19 128.11 P2p Fa0/13 Root FWD 19 128.13 P2p 2. Установка коммутатора SW1 в качестве рутового SW1#conf t SW1(config)#spanning-tree vlan 1 priority 0 SW1(config)#exit SW1#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 1 Address 00D0.5857.9114 Bridge ID Priority 1 Address 00D0.5857.9114 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- ------- Fa0/1 Desg FWD 19 128.1 P2p Fa0/11 Desg FWD 19 128.11 P2p Fa0/13 Desg FWD 19 128.13 P2p 3. Запуск RSTP протокола на коммутаторе SW1 SW1#configure terminal SW1(config)#spanning-tree mode rapid-pvst SW1(config)#do show spanning-tree VLAN0001 Spanning tree enabled protocol rstp Root ID Priority 1 Address 00D0.5857.9114 This bridge is the root Bridge ID Priority 1 (priority 0 sys-id-ext 1) Address 00D0.5857.9114 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------- Fa0/1 Desg FWD 19 128.1 P2p Fa0/11 Desg FWD 19 128.11 P2p Fa0/13 Desg FWD 19 128.13 P2p SW1(config)# Примечание. Протокол RSTP необходимо запустить на всех коммутаторах сети