cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2230
Views
0
Helpful
15
Replies

is it true that spanning tree loop never occur if all links are using port channel?

martlee2
Cisco Employee
Cisco Employee

is it true that spanning tree loop never occur if all links are using port channel?

if it is true, does it mean that no need to apply loop guard and root guard for all port channels?

15 Replies 15

Mark Malone
VIP Alumni
VIP Alumni

is it true that spanning tree loop never occur if all links are using port channel? no

You can still use loopguard on an etherchannel you need to be aware as an example in pvst if you get unidirectional failure it make the po inconsistent and down for all links for that particular vlan when the issue occurs, so if link 1 fails out of 4 links then the 4 links become down state for that vlan for stp but it will still operate for other vlans and not physically shut the po

juniper engineer told me that all links are port channel from juniper with cisco switch,

so spanning tree loop impossible to occur, master and backup juniper switch are all port channels, and to cisco switch are all port channel too

i am thinking whether this is only true in mixed juniper and cisco topology but not in topology if all cisco switch, is it true?

I think what he meant was when 2 switches have multiple links together between the switches yes you can easily cause a loop if stp is not in place as traffic will loop around at layer 2

if you bundle all the links together there is only 1 path like having 1 physical link between the 2 switches so there cant really be a loop , that would only be the case though if there were ONLY 2 switches directly connected to each other by port-channels , doesn't matter whether cisco or juniper stp is a feature available on multiple platforms and works the same way generally on each as its a link loop avoidance feature

if you had multiple switches same broadcast domain with multiple port channels a loop could still form if not planned correctly at stp

in our case, they said our case is to not separate vlans into different STP, 

mixed with cisco switch, it can not use MSTP, it need RSTP

MSTP is a "better" variant of RSTP.

Juniper supports RSTP, but again, (I recall) they don't support per VLAN RSTP.

they said that MSTP approach is not feasible if connecting with juniper

if distribution layer switch is juniper , access switch is cisco

is it true that cisco switch not need to configure loop guard at etherchannel which are root port ?

if distribution layer switch is cisco , access switch is juniper

is it true that cisco switch not need to configure root guard at etherchannel which trunk to juniper?

are loop guard and root guard for single link and one port only?

i had experience in creating a loop at distribution layer when connect a switch to access switch which had not configured root guard at trunk port

i remembered that the distribution layer using etherchannel too

they said that MSTP approach is not feasible if connecting with juniper

MSTP should works between cisco and juniper switches its on there ex series switches

makes no difference whether its juniper or Cisco you need to just look at the feature and plan out stp correctly based on your network not its vendor type  , Root guard is best deployed towards ports that connect to switches which should not be the root bridge

is it true that cisco switch not need to configure root guard at etherchannel which trunk to juniper?

root guard and loop guard are optional commands you don't have to use them but you can if you want to

Who are "they"?

What are the actual devices?

it seems that loop guard should not enable in port channel because it will block the whole logical link

if loop guard should not enable in port channel, 

then can it imply loop never occur in port channel?

if distribution layer switch is juniper , access switch is cisco

is it true that cisco switch not need to configure loop guard at etherchannel which are root port ?

if distribution layer switch is cisco , access switch is juniper

is it true that cisco switch not need to configure root guard at etherchannel which trunk to juniper?

all trunk port using port channels, one port channel is connected with backup switch

another port channel is connected with cisco switch

it seems that loop guard should not enable in port channel because it will block the whole logical link

No, STP and port-channel needs don't differ between Cisco and Juniper, either on only their equipment or between the two vendors.

However, Cisco supports PVSTP and Juniper doesn't, so mixing them, at L2, is a bit of fun.  Both, though, should support MST.

Hi

I think a proper STP configuration is always required to avoid layer 2 loops, independent if you are using port channel or not, please check this link:

https://supportforums.cisco.com/discussion/11059606/how-does-loop-form-misconfigured-etherchannel

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Dennis Mink
VIP Alumni
VIP Alumni

I cant see how that could be the case,

unless all physical ports on a switch form a port channel to a single remote switch.  Port channels still run STP but pretty much leave the physical port that constitute a single port channel out of the equation. meaning only the port channel is calculated as a single STP port (the cost can vary based on how many physical ports are in the same port channel)

please rate  if useful

Please remember to rate useful posts, by clicking on the stars below.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card