01-31-2011 11:43 PM - edited 03-06-2019 03:17 PM
Hi guys,
I got this error message, every time i get the host flapping message , I get a spanning tree loop.
%C4K_EBM-4-HOSTFLAPPING: Host x:x:x:x:x in vlan x is flapping between port Te1/x and port Gix5/x
%SPANTREE-2-LOOPGUARD_BLOCK: Loop guard blocking port TenGigabitEthernet1/x on VLAN0x.
%SPANTREE-2-LOOPGUARD_UNBLOCK: Loop guard unblocking port TenGigabitEthernet1/x on VLAN0x.
ANy advice would be greatly appreciated.
02-01-2011 12:02 AM
Hi ,
The error message which you are getting on your switch denotes that the mac adress is getting lerant by the switch from two different interfaces,thereby indiacting a loop in you rnetwork.
In order to resolve the issue we need to track down the mac adress whcih is falpping and the way it is connected to the switch.
From the logs i see whenever loop forms loopgaurd feature enabled kicks into action.
The STP loop guard feature provides additional protection against Layer 2 forwarding loops (STP loops). An STP loop is created when an STP blocking port in a redundant topology erroneously transitions to the forwarding state. This usually happens because one of the ports of a physically redundant topology (not necessarily the STP blocking port) no longer receives STP BPDUs. In its operation, STP relies on continuous reception or transmission of BPDUs based on the port role. The designated port transmits BPDUs, and the non-designated port receives BPDUs.
When one of the ports in a physically redundant topology no longer receives BPDUs, the STP conceives that the topology is loop free. Eventually, the blocking port from the alternate or backup port becomes designated and moves to a forwarding state. This situation creates a loop.
The loop guard feature makes additional checks. If BPDUs are not received on a non-designated port, and loop guard is enabled, that port is moved into the STP loop-inconsistent blocking state, instead of the listening / learning / forwarding state. Without the loop guard feature, the port assumes the designated port role. The port moves to the STP forwarding state and creates a loop.
Hope that helps.
Regards,
Swati
Please rate if you find the content useful
02-01-2011 12:23 AM
I think the culprit is our wireless dhcp server. Currently that server work configured as an access port
int gix/x
switchport acces vlan 99
switchport mode access
spanning-tree portfast
spanning-tree guard root
Should I enable the command below?spanning-tree guard loop
02-01-2011 01:05 AM
Hi ,
Yes you may implement the loop gaurd on the port.
Regards,
Swati
02-01-2011 01:07 AM
Hi,
You can use the spanning-tree guard interface configuration command on the switch to enable root guard or loop guard on all the VLANs associated with the selected interface. Root guard restricts which interface is allowed to be the spanning-tree root port or the path-to-the root for the switch. Loop guard prevents alternate or root ports from becoming designated ports when a failure creates a unidirectional link. Use the no form of this command to return to the default setting.
Please rate if this helped you...
Regards,
Naidu.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide