Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

spanning tree and etherchannel

Hi all, I know with etherchannel it treats the number of ports as 1 link, how is this done, does the switch use 1 mac address between all the ports ?

8 REPLIES
Silver

Re: spanning tree and etherchannel

An EtherChannel is an aggregated set of physical ports presented as a single logical port. The goal of EtherChannel is to provide greater bandwidth and availability than that of a single port.

Spanning Tree Protocol (STP) sees an EtherChannel as a single port. This presents a danger of the creation of forwarding loops if channeling ports are not consistent on both sides of the channel.

If switch A has two separate physical links that are not in a channel, and switch B considers those same links to be part of the channel, switch B sends a broadcast or unknown unicast packet to switch A. Since the links are not bundled together as a channel on switch A, the packet is forwarded back to switch B.This causes packet duplication and changes the forwarding table on switch B to point in the wrong direction

REGARDS

SHIVLU

Re: spanning tree and etherchannel

Hi Carl,

For the Etherchannel the switch creates a logical interface called port-channel interface.

This interface is seen as one interface for protocols such as STP and routing protocols.

For example, if you use the command:

"channel-group 11 mode on"

then the port-channel will be interface Po11.

You can check it in the running-config as well. You can configure it with the "interface Po11" command, like other interfaces, you can even give it an ip address, if the Etherchannel is configured as a layer 3 interface.

Cheers:

Istvan

Blue

Re: spanning tree and etherchannel

Istvan, I love your posts...they are always so informative and complete...awesome, man...

Victor

Re: spanning tree and etherchannel

Thank you Victor,

I saw one or two of your posts where you gave similarly detailed and good explanations on STP.

If we can help people, then let's help them, right?

Cheers:

Istvan

Blue

Re: spanning tree and etherchannel

absolutely, my friend...

Re: spanning tree and etherchannel

Is this an STP question? Because STP does not really use the address of the ports. Sure BPDUs are send with the mac address of the port as a source, but the payload of the BPDU only uses a mac address from the source bridge.

Else if the channel is an L2 port, source addresses are based on the sender address (transparent bridging means that the frame is in theory not changed by the bridging entity). If the channel is an L3 port, then you will have a single source mac address for all the traffic it generates.

Regards,

Francois

New Member

Re: spanning tree and etherchannel

am i right in saying if I turned this port into a layer 3 port by using the no switchport command, would this disable spanning tree on that port ?

Re: spanning tree and etherchannel

Yes, definitely. But you are also disabling bridging;-)

F.

157
Views
0
Helpful
8
Replies