cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
640
Views
0
Helpful
7
Replies

etherchannel and stp

rkazala
Level 1
Level 1

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 7

Edison Ortiz
Hall of Fame
Hall of Fame

Sounds like the 2960 became the root of those Vlans.

Check your stp root placement.

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?

Francois Tallet
Level 7
Level 7

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

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

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

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

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

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