Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

Problemy związane ze switchingiem
Wiadomość
Autor
melek18
fresh
fresh
Posty: 3
Rejestracja: 25 paź 2017, 11:43

Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#1

#1 Post autor: melek18 »

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

dante999
wannabe
wannabe
Posty: 54
Rejestracja: 26 mar 2015, 14:12

Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#2

#2 Post autor: dante999 »

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:

Kod: Zaznacz cały

spanning-tree vlan 1 root primary 
Wtedy link który masz skreślony będzie nieużywany.

Awatar użytkownika
drake
CCIE
CCIE
Posty: 1593
Rejestracja: 06 maja 2005, 01:32
Lokalizacja: Dortmund, DE
Kontakt:

Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#3

#3 Post autor: drake »

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! :)
Never stop exploring :)

https://iverion.de

melek18
fresh
fresh
Posty: 3
Rejestracja: 25 paź 2017, 11:43

Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#4

#4 Post autor: melek18 »

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...

Awatar użytkownika
drake
CCIE
CCIE
Posty: 1593
Rejestracja: 06 maja 2005, 01:32
Lokalizacja: Dortmund, DE
Kontakt:

Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#5

#5 Post autor: drake »

melek18 pisze: 25 paź 2017, 15:26
Poproszę o dokładniejsze wyjaśnienie...
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! ;)
Never stop exploring :)

https://iverion.de

Awatar użytkownika
PatrykW
wannabe
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

#6

#6 Post autor: PatrykW »

np spanning-tree vlan 1 priority 24576 *


* 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

Awatar użytkownika
frontier
wannabe
wannabe
Posty: 1861
Rejestracja: 16 lis 2004, 13:55
Lokalizacja: Edinburgh

Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#7

#7 Post autor: frontier »

Jest pelno filmów na YT jak to zrobic, to naprawde nic trudnego.
Jeden konfig wart więcej niż tysiąc słów

melek18
fresh
fresh
Posty: 3
Rejestracja: 25 paź 2017, 11:43

Re: Spanning tree protocol (STP), 3 switche, wymuszenie ścieżki

#8

#8 Post autor: melek18 »

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

ODPOWIEDZ