Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
430
Mellanox Technologies Confidential
• Global configuration:
switch (config)# spanning-tree port type {edge , normal , network} default
• Interface configuration:
switch (config interface etherent <inf>)# spanning-tree port type {edge , normal, net-
work}
5.5.3 BPDU Filter
Using BPDU filter prevents the CPU from sending/receiving BPDUs on specific ports.
BPDU filtering is configured per interface. When configured, the port does not send
any BPDUs
and drops all BPDUs that it receives. To configure BPDU filter, use the following command:
switch (config interface etherent <inf>)# spanning-tree bpdufilter {enable , disable}
5.5.4 Loop Guard
Loop guard is a feature that prevents loops in the network.
When a blocking port in a redundant topology transitions to the forwarding state (accidentally),
an STP loop occurs. This
happens when BPDUs are no longer received by one of the ports in a
physically redundant topology.
Loop guard is useful in switched networks where
devices are connected point-to-point. A desig-
nated bridge cannot disappear unless it sends an inferior BPDU or brings the link down on a
point-to-point connection.
If loop guard is enabled and the port does not receive BPDUs, the port is put into an inconsistent
state (blocking) until the port starts to receive BPDUs again. A port in the inconsistent state does
not transmit BPDUs. If BPDUs are received again, loop guard alters its inconsistent state condi-
tion. STP converges to a stable topology without the failed link or bridge
after loop guard isolates
the failure.
Disabling loop guard moves all loop-inconsisten
t ports to listening state.
To configure loop guard use the following command:
switch (config interface etherent <inf>)# spanning-tree guard loop
5.5.5 Root Guard
Configuring root guard on a port prevents that port from becoming a root port. A port put in root-
inconsistent (blocked) state if an STP convergence is triggered by a BPDU that makes that port a
root port. The port is unblocked after the port stops sending BPDUs.
Configuring BPDU filtering on a port connected to a switch can cause bridging loops
because the port filters any BPDU it receives and goes to forwarding state.
The loop guard configuration is only allowed on “network” port type.










