Understanding about spanning tree protocol

Started by muzaffar, February 09, 2018, 12:27:01 AM

Previous topic - Next topic

muzaffar

Hi,

can anyone explain abt spanning tree protocol and what is the use of the below commands


spanning-tree port type edge
spanning-tree bpduguard enable


we have L2 switches and each port is configured with the above config I am bit confused.

Thanks,
Muzaffar

icecream-guy

spanning-tree port type edge will automatically transition the port to the spanning tree forwarding state without passing through the blocking or learning states.
Spanning-tree BPDU guard prevents loops by moving a nontrunking port into an errdisable state when a BPDU is received on that port.

The reason they are both on the port. When you enable BPDU guard on the switch, spanning tree shuts down port edge configured interfaces that receive BPDUs instead of putting them into the spanning tree blocking state. In a valid configuration, port edge interfaces do not receive BPDUs. If a port edge configured interface receives a BPDU, an invalid configuration exists. BPDU guard provides a secure response to invalid configurations. The administrator must fix the issue and then manually no-shut the port.
:professorcat:

My Moral Fibers have been cut.