How To Prevent Mac Flapping In Cisco Switch?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Configure portfast on all access ports connected to host MACs: PortFast lets a switch port transition immediately from the blocking/listening state to forwarding state as soon as it goes up.
2. Decrease the value of the PortFast BPDU guard timer: A portfast bpdu guard timer can be set to 0 to prevent any BPDU from entering the port and to stop the flapping.
3. Reduce the STP bridge max age timer: Reducing the STP bridge max age timer decreases the amount of time it takes for a switch to detect a topology change, which in turn reduces the amount of flapping caused by misconfigurations.
4. Configure loop guard: Loop guard is used to detect if a port has been inappropriately configured with spanning tree, and will block the port if a loop is found. This helps prevent mac flapping caused by misconfigurations.
5. Enable BPDU filter: Enabling BPDU filter on a port prevents the transmission of BPDUs, therefore preventing the port from participating in the STP process. This helps prevent mac flapping caused by misconfigurations.