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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Etherchannel and Spanning tree

Hi, I recently ran into this configuration on a Cisco 6509 and I read that you are not supposed to enable spanning tree if you create a interface port-channel. Question? Does the configuration below is wrong?

interface Port-channel25

bandwidth 2000000

no ip address

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan1,4,8-10,15,16,25,27,35,36,46,47,51-54,60-64,88

switchport trunk allowed vlan add 95,98,99,101,102,110,131,322,621,622,960

switchport mode trunk

spanning-tree portfast trunk

spanning-tree port-priority 240

Please advice - I want to make sure I understood the cisco document correctly, if we have a port-channel interface, then we should not have spanning tree turn on..

Thanks in advance...

Cheers!

  • LAN Switching and Routing
4 REPLIES

Re: Etherchannel and Spanning tree

Spanning tree is turned on by default. I guess that, if someone complained about your configuration, they must have been puzzled by the "portfast trunk" line.

Portfast is recommended on ports leading to a host (something that is not bridging traffic). Port channel are generally configured to some other bridges, in which case, portfast is not recommended. This could lead to temporary bridging loops in case this peer has a redundant connection to the root.

Now, if this is a port channel to a host, then it is perfectly valid to have portfast trunk. On the other hand, in that case, the port-priority is completely of no use;-)

Regards,

Francois

New Member

Re: Etherchannel and Spanning tree

Im just posting so I can rate the person whom answered. Nicely said.

For the OP: Some examples of using spanning-tree portfast trunk would be when you are trunking to a server for aggregation or on 3020/3120 architecture and you are connecting to V(m) switches.

New Member

Re: Etherchannel and Spanning tree

Thank you Francois, well explained. This is a core switch connected to another core switch and the po25 is actually connecting to the other core - so I guess by your exponation, the set up is wrong, I should turn off spanning tree portfast. Question If I take off portfast, would it disable the ports temporarily or I should have no problems taking it off during production time?

Thanks,

Cheers!!!

Re: Etherchannel and Spanning tree

Hi!

No problem to change the portfast configuration on a live network. It will not have any impact on STP or the traffic flow. In fact, your port has probably already switched to an operational "non-portfast" mode automatically, as it is likely to have received BPDU from its neighbor. So you are only changing the configuration, that is used when the port comes up to set the operational value.

Regards,

Francois

602
Views
5
Helpful
4
Replies
This widget could not be displayed.