05-15-2022 02:39 PM
Hi everyone,
I have few questions about spanning tree protocol.
My first question is, if it's recommanded to activate spanning tree on all the port of a switch.
If i'm not wrong, some vendors like HP has loopback detection witch can be apply directly to prevent loop on the switch. So you can mix loopback for edge port and STP for ports link to another switch.
Is there a similary fonction on Cisco switch ?
My other question is, should i activate STP on all the ports off the switch ? The BPDU sent with spanning tree can cause a high usage of the switch ?
Is the best practice on spanning tree : Activate STP on all ports, activate portfast on the différent port connecting to endpoint (for prevent problem with DHCP) ?
Regards
Solved! Go to Solution.
05-15-2022 02:43 PM - edited 05-15-2022 02:52 PM
Loopback detection is found in cisco, but not in all SW.
1-Run stp port fast in all port connect to host not other sw
2-Run stp bpdu guard as guard for port you config port fast under it.
05-15-2022 02:50 PM
"My first question is, if it's recommanded to activate spanning tree on all the port of a switch."
Sure you should. What you must to do is enable port-fast in access ports.
"If i'm not wrong, some vendors like HP has loopback detection witch can be apply directly to prevent loop on the switch. So you can mix loopback for edge port and STP for ports link to another switch."
Unfortunatelly Vendors has different approaches. But, loopback means Layer 3 protocol which in fact does not rely on STP. If you study about cisco SDA, you are going to see that Cisco switch on this solution, even access switch, speaks routing protocol (IS-IS) and all layer 2 communition is carried over Layer 3 communication.
"Is there a similary fonction on Cisco switch ?"
Probably not.
"My other question is, should i activate STP on all the ports off the switch ? The BPDU sent with spanning tree can cause a high usage of the switch ?"
Enable port-fast for access.
"Is the best practice on spanning tree : Activate STP on all ports, activate portfast on the différent port connecting to endpoint (for prevent problem with DHCP) ?""
that´s the idea.
05-15-2022 02:43 PM - edited 05-15-2022 02:52 PM
Loopback detection is found in cisco, but not in all SW.
1-Run stp port fast in all port connect to host not other sw
2-Run stp bpdu guard as guard for port you config port fast under it.
05-15-2022 02:52 PM
05-15-2022 02:50 PM
"My first question is, if it's recommanded to activate spanning tree on all the port of a switch."
Sure you should. What you must to do is enable port-fast in access ports.
"If i'm not wrong, some vendors like HP has loopback detection witch can be apply directly to prevent loop on the switch. So you can mix loopback for edge port and STP for ports link to another switch."
Unfortunatelly Vendors has different approaches. But, loopback means Layer 3 protocol which in fact does not rely on STP. If you study about cisco SDA, you are going to see that Cisco switch on this solution, even access switch, speaks routing protocol (IS-IS) and all layer 2 communition is carried over Layer 3 communication.
"Is there a similary fonction on Cisco switch ?"
Probably not.
"My other question is, should i activate STP on all the ports off the switch ? The BPDU sent with spanning tree can cause a high usage of the switch ?"
Enable port-fast for access.
"Is the best practice on spanning tree : Activate STP on all ports, activate portfast on the différent port connecting to endpoint (for prevent problem with DHCP) ?""
that´s the idea.
05-15-2022 03:16 PM
Thank you both for your answers. Cheers
10-11-2022 04:23 AM
You must activate portfast to allow forwarding state to run
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