I have just added a new stack of 2 3750 Switches to my network. See the attached diagram (SW2) is the new switch stack.
When I had finished adding the configuration to CatOs on the 6509 (Hybrid Mode) I starting getting the following syslog every (approx) 15 mins.
Nov 21 18:59:57 itgedcat1 2006 Nov 21 18:59:56 IST +00:00 %SPANTREE-2-CHNMISCFG: STP loop - channel 3/3,3/17 is disabled in vlan/instance 150 Nov 21 18:59:57 itgedcat1 2006 Nov 21 18:59:56 IST +00:00 %SPANTREE-2-CHNMISCFG2: BPDU source mac addresses: 00-0e-38-a1-68-c2, 00-18-73-6b-e8-18 Nov 21 18:59:57 itgedcat1 2006 Nov 21 18:59:57 IST +00:00 %ETHC-5-PORTFROMSTP:Port 3/3 left bridge port 3/3,3/17
I backed out my changes i.e. those that added SW2 to the 6509 and it still placed the 3/3 and 3/17 ports in an errdisable state.
I can't see why a span loop is happening.
Any help will be rated highly.
My guess would be Etherchannel is failing for some reason and causiong a loop.
Can you confirm the ports at each end of the Etherchannel are configured correctly (see below link "EtherChannel Feature Configuration Guidelines and Restrictions")?
Also does the switch indicate why the ports have gone to errordisable (try "show errdisable flap-values").
I think the etherchannel is configured fine. I had SW1 up and running for about 3 months with etherchannel running.
Its when I added this new configuration that problems started with the STP loop.
Do you think I sould clear the config of the 3750 stack and start again? First by adding the two interfaces of the 3750. See if these work then build the port channel?
I do not see a port channel config on your cat6509 for your new switch.
I only see a port channel set for 3/3 and 3/17 and not for 3/30 and 3/43 which connets to your stacked switch?
Can you confirm the status please.
I did set a port channel on the 6509 for 3/30 and 3/43. However I removed this and disabled the interfaces on the 3750 when the interfaces hept going into errdisable state. I removed the channel-group 1 mode on command on the gi0/1 and gi0/24 interfaces as these were still causing an STP loop. I have only one interface connected from SW1 now. No ports channelling.
So no port channel between 6509 and SW1 right? and in this setup what behavior your see? Is the post going into errdisable state and if yes which port? and also in logs can you see the reason for errdisable state?
If you look at the diagram I had SW1 up and running for about 2 months with the Etherchannel working fine. No STP problems at all. When I added the SW2 yesterday STP loops started to happen. I don't have great experince with CatOS so I may be doing something wrong. Is there a problem using channel-group 1 mode on (in SW1) and channel-group 1 mode on on SW2.
Also as the 3750 is in a stack I am using cross stack etherchannel.
Why when I have removed SW2 from the configuration would SW1 contine to have its ports placed in a errdisable state?
The channel-group number is locally significant so no issue with using the same number on SW1 aqnd SW2. If you have missconfigured the Etherchannel anywhere normal behavior would be for the channel not to work and STP (assuming this is configured correctly) would block one of the 2 links.
I think to get to the bottom of this you need to see why ports are going to error disable. Is there any reason in the log for this?
When a port goes errordisable it may or maynot stay that way depending on how the errordiable recovery is configured. You can configure ports to go errordisable for a number or reasons (the below are defauls for 3550). Under this I list the default recovery reasons for 3550. As you can see the automatic recovery by default are not enabled so a manual recovery is necessary.
switch2#show errdisable detect
ErrDisable Reason Detection status
switch2#show errdisable recovery
ErrDisable Reason Timer Status
Timer interval: 300 seconds
Interfaces that will be enabled at the next timeout:
i guess you are trying to create layer 3 etherchannel between SW1 and 6509, SW2 and 6509.
if it is correct you need to assign IP to portchannel interface and you don't need to make interface on SW1 and SW2 member of VLAN 150 or you can make port channel member of VLAN 150.
I guess what is happening is there are 2 redundant connections between 6509 and SW1, SW2 as interfaces on SW1, SW2 are not logically binded to single interface , thats why loop is occuring and ports are going to err disable state.
see below URL to configure layer 2 layer 3 etherchannels.
rate if it help or let me know if you have any questions.
I don't think its a layer 3 channel i need here, as I need to extend VLANS from the 6509 down into SW2 and SW1. SW1 has machines in VLANS 150 and 151 and they are working fine.
If you had a blank slate here how would you configure this?
the error message related to missconfigured ehterchannel. Please see this link.
Can you please attach the complete config of your 3750 stacked switches as I have a doubt with that only and also paste the relevant config from your CAT6509 related to stack switches.
There should not be any problem when using the same port channel number on 2 different switches as port channel numbers are locally signifcant. Also cross stacked etherchannel should be ok.
Let us review the complete confgi from 3750 stacked switch. Also if your SW1 is in errdisable state shut and then no shut the errdisable port and it should come up.
I have blew away the configuration on the 3750 switches, so I can't post that. I have a blank canvass here.
As I said above if anyone wanted to configure the topology in my drawing what would your configuration look like?
You cannot have desirable mode set when the etherchannel is on different switches in a stack.
"Desirable" keyword is not supported when EtherChannel members are from different switches in the switch stack.
I will recommend you to have "ON" on both the sides and I believe it shuould resolve your issue.
Also on your existing etherchannel between SW1 and cat6509 either make it "ON" both the sides or make it "DESIRABLE" on both the sides.
I picked up on the restrictions regarding etherchannel modes for cross stack, so thanks for pointing that out anyway.
I'll try the configuration again this evening out side of production time.
Could you give me some CatOs commands that will help debug the errdiable,channel and STP problems if they arise?
I will really wait to get the status of your network after you put your stacked switch back again? But looking at your config I will recommned you to have desirable between SW1 and Cat6509 also. I see currently it is desirable on 6509 and mode "ON" on SW1.
Also you will not find much debugs on CATOS but certainly you can go through few links for very common error messages and possible workarounds
Some etherchannel errors
Some spanning tree messages
*Pls rate all helpfull post
Whereever you can I would set the etherchannel to desirable non-silent on both ends . In a 3750 crossstack etherchannel you can't do this and you have to force it on in which case I would make both ends as on . A little blurb in the 3750 etherchannel guide .Wish they would fix that stipulation.
Caution You should exercise care when setting the mode to on (manual configuration). All ports configured in the on mode are bundled in the same group and are forced to have similar characteristics. If the group is misconfigured, packet loss or spanning-tree loops might occur.
You may want to use the following command in global config mode to detect and put the port(s) in error disabled state if the switch detects any parameter mismatch at both ends of the channel.
spanning-tree etherchannel guard misconfig
This would mitigate the impact of misconfigured etherchannel configuration/parameters and can avoid STP loops as well.