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

etherchannel and stp

I'm setting up etherchannel on aggregation/access layers. Design is as follows

aggregation 6509/6509 running ios

access layer 2960tcl

The access switch currently has a single gbe uplink to each 6509. In my lab, normal stp blocking occurs at the access switch connecting to the secondary 6509 with single uplinks to each 6509.

Now when I implement etherchannel on the uplinks, all 4 ports on the access switch go into stp FWD and the BLK occurs on the secondary 6509 ports. Anyone have an idea as to why that's happening? While I'm not seeing any strange behavior other than that, I've never seen it block there, rather on the access switch.

Here's my configs:

6509 primary:

interface GigabitEthernet4/1

no ip address

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 1 mode desirable

description #access_gi0/1

no shut

!

interface GigabitEthernet4/2

no ip address

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 1 mode desirable

description #access_gi0/2

no shut

6509 secondary:

interface GigabitEthernet4/1

no ip address

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 2 mode desirable

description #access_gi0/11

no shut

!

interface GigabitEthernet4/2

no ip address

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 2 mode desirable

description #access_gi0/12

no shut

2960 access switch:

interface GigabitEthernet0/1

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 1 mode desirable

no shut

!

interface GigabitEthernet0/2

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 1 mode desirable

no shut

interface GigabitEthernet0/11

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 2 mode desirable

no shut

!

interface GigabitEthernet0/12

switchport trunk allowed vlan 100,101

switchport mode trunk

channel-group 2 mode desirable

no shut

7 REPLIES
Hall of Fame Super Bronze

Re: etherchannel and stp

Sounds like the 2960 became the root of those Vlans.

Check your stp root placement.

New Member

Re: etherchannel and stp

On my 6500s I have the following:

6509 primary:

spanning-tree vlan 100-101 priority 1

6509 secondary:

spanning-tree vlan 100-101 priority 2

As far as I know this should be good for that.. where else would I be setting priorities?

Re: etherchannel and stp

It's very likely that the cost between the two 6509 is now lower through the access switch rather than through the direct link between the 6509.

Lower the cost of the root port of the non-root 6509, or increase the cost of the uplinks on your access switches.

Regards,

Francois

New Member

Re: etherchannel and stp

Here's what I have for the 6500s:

6509 primary:

spanning-tree vlan 100-101 priority 1

6509 secondary:

spanning-tree vlan 100-101 priority 2

What cost settings would you suggest setting and where?

Thanks

Re: etherchannel and stp

Use the command "spanning-tree vlan 1-2 cost XXX" on the ports I mentioned earlier.

Or quick hack, as you are running PVST, just configure uplinkfast on your access switch, that should take care of increasing the cost of the uplinks;-)

Regards,

Francois

New Member

Re: etherchannel and stp

I enabled spanning-tree uplinkfast and that seemed to fixed my problem for now. :) thanks!

Re: etherchannel and stp

It's just a side effect of uplinkfast. With uplinkfast, we increase the cost of the ports of the access switch so that they preferably become blocking. You could have achieved the same by simply increasing the cost on the uplinks of the access switch.

Regards,

Francois

217
Views
0
Helpful
7
Replies