Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
341
spanning-tree guard
spanning-tree guard {loop | root}
no spanning-tree guard {loop | root}
Configures spanning-tree guard.
The no form of the command returns configuration to default.
Syntax Description loop Enables loop-guard on the interface.
If the loop-guard is enabled, upon a situation where the
interface fails to receive BPDUs the switch will not
egress data traffic on this interface.
root Enables root-guard on the interface.
If root-guard is enabled on the interface, the interface
will never be selected as root port.
Default loop-guard and loop-guard are disabled.
Modes/Context Config interface ethernet
History 3.1.0000
Role admin
Example
switch (config) # interface ethernet 1/1
switch (config interface ethernet 1/1) # spanning-tree guard root
switch (config interface ethernet 1/1) #
Related Commands show spanning-tree
Note