Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Cześć i z góry dzięki za wszystkie odpowiedzi
Mam taką sytucję jak poniżej. Chce wymusić ruch, aby przechodził przez switch "old"... wszystkie moje próby nie powiodły się. Podpowiedźcie proszę jak powinienem skonfigurować STP lub inne opcje...?
Schemat:
http://farm5.staticflickr.com/4456/3789 ... c527_b.jpg
Konfiguracje STP:
http://farm5.staticflickr.com/4504/3792 ... d6cd_b.jpg
http://farm5.staticflickr.com/4487/3786 ... 475d_b.jpg
http://farm5.staticflickr.com/4459/3792 ... e1c8_b.jpg
Mam taką sytucję jak poniżej. Chce wymusić ruch, aby przechodził przez switch "old"... wszystkie moje próby nie powiodły się. Podpowiedźcie proszę jak powinienem skonfigurować STP lub inne opcje...?
Schemat:
http://farm5.staticflickr.com/4456/3789 ... c527_b.jpg
Konfiguracje STP:
http://farm5.staticflickr.com/4504/3792 ... d6cd_b.jpg
http://farm5.staticflickr.com/4487/3786 ... 475d_b.jpg
http://farm5.staticflickr.com/4459/3792 ... e1c8_b.jpg
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Tak na szybko to wystarczy zjechać priorytetem na "old" tak żeby stał się Root Bridge (ustaw poniżej 24577 - taki masz priorytet na obecnym RB), albo na wklep:
Wtedy link który masz skreślony będzie nieużywany.
Kod: Zaznacz cały
spanning-tree vlan 1 root primary
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Eeee tam, nie trzeba zmieniac root bridge. Do takiej zabawy to sa "STP port priority" i "STP port cost", zaleznie gdzie i co chcesz ustawiac oraz osiagnac (wplynac na domene STP czy na lokalny przelacznik).
Pozdruffka!
Pozdruffka!
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
no własnie bawiłem się spanning-tree vlan port-priority i nie za wiele to dało...
to jest konfiguracja nr root
BB-PL-WAR#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.0C47.A544
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)
Address 0090.0C47.A544
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/2 Desg FWD 19 240.2 P2p
Fa0/24 Desg FWD 19 128.24 P2p
Fa0/1 Desg FWD 19 128.1 P2p
to na old przez który powinien iść ruch:
old#sh spa
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.0C47.A544
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28673 (priority 28672 sys-id-ext 1)
Address 0001.633B.7509
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
a to jest swich gdzie ruch powinien dotrzeć:
ruchliwa#sh spa
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.0C47.A544
Cost 19
Port 2(FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00D0.FFC6.5840
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/24 Desg FWD 19 128.24 P2p
Fa0/1 Altn BLK 19 128.1 P2p
Fa0/2 Root FWD 19 144.2 P2p
Poproszę o dokładniejsze wyjaśnienie...
to jest konfiguracja nr root
BB-PL-WAR#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.0C47.A544
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)
Address 0090.0C47.A544
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/2 Desg FWD 19 240.2 P2p
Fa0/24 Desg FWD 19 128.24 P2p
Fa0/1 Desg FWD 19 128.1 P2p
to na old przez który powinien iść ruch:
old#sh spa
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.0C47.A544
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 28673 (priority 28672 sys-id-ext 1)
Address 0001.633B.7509
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
a to jest swich gdzie ruch powinien dotrzeć:
ruchliwa#sh spa
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.0C47.A544
Cost 19
Port 2(FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00D0.FFC6.5840
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/24 Desg FWD 19 128.24 P2p
Fa0/1 Altn BLK 19 128.1 P2p
Fa0/2 Root FWD 19 144.2 P2p
Poproszę o dokładniejsze wyjaśnienie...
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Prosze o wygooglowanie, toz to mega prosta sprawa. STP port priority uzywasz jesli idziesz od roota w dol drzewa, natomiast STP cost jesli idziesz od galezi (przelacznika) w strone root bridge.
Podanie gotowej recepty nie przyda ci sie dlugoterminowo.
Pozdruffka!
- PatrykW
- wannabe
- Posty: 1742
- Rejestracja: 31 paź 2008, 16:05
- Lokalizacja: UI.PL / Ubiquiti Polska.pl
- Kontakt:
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
np spanning-tree vlan 1 priority 24576 *
* dostosuj do swojego designu o odpowiednia wartosc vlan id
* dostosuj do swojego designu o odpowiednia wartosc vlan id
.ılı..ılı.
http://www.linkedin.com/in/pwojtachnio
Potrzebujesz projektu na studia z zakresu Cisco Packet Tracer & GNS ? Just give me call
Integrujemy i wspieramy IT
https://www.ui.pl | https://facebook.com/UIPolska
Jedyne rozwiązania Ubiquiti Networks w Polsce!
https://ubiquitipolska.pl | https://www.facebook.com/groups/Ubiquiti.Polska
http://www.linkedin.com/in/pwojtachnio
Potrzebujesz projektu na studia z zakresu Cisco Packet Tracer & GNS ? Just give me call
Integrujemy i wspieramy IT
https://www.ui.pl | https://facebook.com/UIPolska
Jedyne rozwiązania Ubiquiti Networks w Polsce!
https://ubiquitipolska.pl | https://www.facebook.com/groups/Ubiquiti.Polska
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Jest pelno filmów na YT jak to zrobic, to naprawde nic trudnego.
Jeden konfig wart więcej niż tysiąc słów
Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki
Poniżej dane z real live pomogła zmiana STP cost...
inne opcje nie działały... lub źle interpretowałem wasze podpowiedzi... jeżeli chodzi o STP priority chodziło o wartość: Root ID Priority 4097 czy Prio.nbr 128.55
(ruchliwa) SW-PL-WAR-04-01(config)#do sh spa vlan 1
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 4097
Address 5475.d0bc.cd00
Cost 4
Port 55 (TenGigabitEthernet1/1/3)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 70d3.7910.de80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/3 Root FWD 2 128.55 P2p Peer(STP) => bb
Gi2/0/1 Altn BLK 6 128.65 P2p => old
(old) SW-PL-WAR-02-02#sh spa vlan 1
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 4097
Address 5475.d0bc.cd00
Cost 2
Port 55 (TenGigabitEthernet1/1/3)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 70d3.7911.0780
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/3 Root FWD 2 128.55 P2p => bb
Te1/1/4 Desg FWD 2 128.56 P2p => ruchliwa
BB-PL-WAR1(config-if)#do sh spa vlan 1
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 4097
Address 5475.d0bc.cd00
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 4097 (priority 4096 sys-id-ext 1)
Address 5475.d0bc.cd00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te5/4 Desg FWD 2 128.516 P2p Peer(STP) => old
Gi1/9 Desg FWD 4 128.9 P2 => ruchliwa
inne opcje nie działały... lub źle interpretowałem wasze podpowiedzi... jeżeli chodzi o STP priority chodziło o wartość: Root ID Priority 4097 czy Prio.nbr 128.55
(ruchliwa) SW-PL-WAR-04-01(config)#do sh spa vlan 1
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 4097
Address 5475.d0bc.cd00
Cost 4
Port 55 (TenGigabitEthernet1/1/3)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 70d3.7910.de80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/3 Root FWD 2 128.55 P2p Peer(STP) => bb
Gi2/0/1 Altn BLK 6 128.65 P2p => old
(old) SW-PL-WAR-02-02#sh spa vlan 1
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 4097
Address 5475.d0bc.cd00
Cost 2
Port 55 (TenGigabitEthernet1/1/3)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 70d3.7911.0780
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te1/1/3 Root FWD 2 128.55 P2p => bb
Te1/1/4 Desg FWD 2 128.56 P2p => ruchliwa
BB-PL-WAR1(config-if)#do sh spa vlan 1
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 4097
Address 5475.d0bc.cd00
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 4097 (priority 4096 sys-id-ext 1)
Address 5475.d0bc.cd00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Te5/4 Desg FWD 2 128.516 P2p Peer(STP) => old
Gi1/9 Desg FWD 4 128.9 P2 => ruchliwa