cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
410
Views
15
Helpful
2
Replies
whizkidraj
Beginner

Broadcast traffic in etherchannel


Hello everyone, I understand STP and Etherchannel. I understand why STP is used i.e. to avoid broadcast storms i.e. switching loops by blocking certain ports, and etherchannel is used so that all the links bundled in an etherchannel appear as one logical link to STP and it won't block any port and we get full bandwidth.

 

But I am still confused about how etherchannel prevents switching loops. Because STP is not blocking any ports, and although etherchannel makes it look like there's just one logical link connection, but in real there's still multiple physical links connected in etherchannel so why doesn't a broadcast storm i.e. switching loop occur in etherchannel.

 

How does a broadcast traffic travel on an etherchannel bundled link.

 

I know about the load-balancing algorithm of etherchannel i.e. traffic is not load-balanced in round-robin but per-flow basis. So how does this apply for broadcast traffic on an etherchannel bundled link.

2 ACCEPTED SOLUTIONS

Accepted Solutions
MHM Cisco World
Collaborator

There are two plane to prevent loop,

Data plane and control plane

Stp is control plane

Etherchannel is data plane.

 

For etherent since it logical one link then,

When one sw send broadcast the other sw will recive this broadcast but data plane never resend this broadcast to link it recive from it and hence the loop is prevent.

View solution in original post

Joseph W. Doherty
Hall of Fame Expert

STP is not, per se, used to stop broadcast storms (which you might still have even with STP), STP is to avoid having L2 loops.  (BTW, although a broadcast storm can create havoc within a L2 broadcast domain, again a L2 loop not needed, looping unicast L2 traffic often does too create havoc.)

The reason why Etherchannel does not create L2 loops is for the same reason a single link does not create one.  L2 network devices do not resend traffic received on a port back to the same port.  In the case of Etherchannel, even though there are multiple physical links, logically the network device treats all of them as one port.  I.e. a frame received on physical link 1, of a Etherchannel bundle, would not be transmitted (from the receiving device) to any physical link of the same Etherchannel bundle, but if they were not Etherchannel bundled links, the network device might.  (BTW, you can have L2 loops using Etherchannel if there are multiple Etherchannel ports, for example, if you had port-channel 1 and port-channel 2 between two L2 devices, you would have a L2 loop [which can also be blocked by STP].)

As to how broadcasts transit an Etherchannel, the broadcast frame would be transmitted on one member link, which would depend on the attributes of the broadcast frame and the hashing algorithm being used.

View solution in original post

2 REPLIES 2
MHM Cisco World
Collaborator

There are two plane to prevent loop,

Data plane and control plane

Stp is control plane

Etherchannel is data plane.

 

For etherent since it logical one link then,

When one sw send broadcast the other sw will recive this broadcast but data plane never resend this broadcast to link it recive from it and hence the loop is prevent.

View solution in original post

Joseph W. Doherty
Hall of Fame Expert

STP is not, per se, used to stop broadcast storms (which you might still have even with STP), STP is to avoid having L2 loops.  (BTW, although a broadcast storm can create havoc within a L2 broadcast domain, again a L2 loop not needed, looping unicast L2 traffic often does too create havoc.)

The reason why Etherchannel does not create L2 loops is for the same reason a single link does not create one.  L2 network devices do not resend traffic received on a port back to the same port.  In the case of Etherchannel, even though there are multiple physical links, logically the network device treats all of them as one port.  I.e. a frame received on physical link 1, of a Etherchannel bundle, would not be transmitted (from the receiving device) to any physical link of the same Etherchannel bundle, but if they were not Etherchannel bundled links, the network device might.  (BTW, you can have L2 loops using Etherchannel if there are multiple Etherchannel ports, for example, if you had port-channel 1 and port-channel 2 between two L2 devices, you would have a L2 loop [which can also be blocked by STP].)

As to how broadcasts transit an Etherchannel, the broadcast frame would be transmitted on one member link, which would depend on the attributes of the broadcast frame and the hashing algorithm being used.

View solution in original post