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

STP Issues and HOSTFLAPPING over two path

I have issues across two 4500 switches interconnected by pry and backup link.

The Pry(prymary) link is a Lan eXtension

The Backup link has additional swithces in between performing Q-in-Q(L2TP)

on the two 4500 switches pry and Backup links interfaces are configured as TRUNKs

If the two interfaces are up at the same time we experience FLAPPING %C4K_EBM-4-HOSTFLAPPING: However if either one the prymary or the backup link is UP at a time everything is fine but there will not be auto link failover.

How can i have both links up and have Auto failover in this L2 enviroment ?

I have used spanning-tree cost and priority and does not help.

9 REPLIES

Re: STP Issues and HOSTFLAPPING over two path

Hi,

could you let us know , what is the root bridge for the current vlans on the 4500.

why did you use spanning-tree cost and priority commands ??

HTH

Mohamed

New Member

Re: STP Issues and HOSTFLAPPING over two path

Mohamed,

See attach config

I use use spanning-tree cost and priority commands while looking for solutions

-------- -------

| |

SwitchA|-------Pry Gi1/6---------|SwitchB

| |

|-2/6---swthC/swthD--2/6--|

------- --------

Re: STP Issues and HOSTFLAPPING over two path

Your L2TP is most likely messed up. Switch A & B don't see each other through the backup link (2/6--C--D---2/6).

Start from switch D and check whether is received any information from switch C. If not, check if C gets anything from D.

The spanning-tree command you enter are just useful to do some tuning on the topology once everything works fine, you're not there yet unfortunately:-(

Regards,

Francois

New Member

Re: STP Issues and HOSTFLAPPING over two path

ftallet,

When i shut the prymary link. and enable the interfaces 2/6 on switch A and B it works okay.

If i do sho cdp nei on switch A via pry link, i see swithces A and B as neigbours directely

If i do sho cdp nei on switch A via bkup link i only see the directly connected swithces C and not Switch B (Which is the issue)

Here is the topology

swthA gi1/6------------------gi1/6 switchB

swthA gi2/6---QinQ_SwthC---Trunk-bkup---QinQ_SwthD---gi2/6 switchB

Re: STP Issues and HOSTFLAPPING over two path

I saw that A & B could see each other directly via 1/6. However, at least in the show command included, there is no STP communication through the second path: swthA gi2/6---QinQ_SwthC---Trunk-bkup---QinQ_SwthD---gi2/6 switchB

Assuming that you did not have any interface shutdown when collecting those show commands, that's where your problem resides: BPDUs are not exchanged between A & B via this path. That's where you should concentrate your troubleshooting at that stage.

New Member

Re: STP Issues and HOSTFLAPPING over two path

I did some additional show commands when the two links are up. See the capture attached.

What should i do to make Swicth A see Swicth B. I have access to switches A,B,C and D.

Re: STP Issues and HOSTFLAPPING over two path

Unfortunately, there is nothing much more to be seen here. You have to troubleshoot the lack of BPDU exchange on ports 2/6. The role is designated at both ends of this connection A 2/6 --- 2/6 B which means than BPDUs don't go through.

Regards,

Francois

Hall of Fame Super Silver

Re: STP Issues and HOSTFLAPPING over two path

Hello Adelou,

as Francois has noted on the link carried in the QinQ service no STP BPDUs flow.

also the fact you see as CDP neighbor the "provider" switch instead of switchB points to an issue with l2 protocols transport over QinQ.

see

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/44sg/configuration/guide/tunnel.html#wp1026787

both CDP and STP tunneling needs to be explicitly configured on the "provider" side.

Hope to help

Giuseppe

Re: STP Issues and HOSTFLAPPING over two path

Hi,

As indicated by Francois, the switch ports on both Switch A and B backup link doesnt exchange BPDUs.

Could you please post the config of sitch C & D and let us know the Q-in-Q config on the ports? Have you any BPDU filter set?

HTH

Mohamed

169
Views
0
Helpful
9
Replies
CreatePlease to create content