1175
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
spanning-tree loopguard default
spanning-tree loopguard default
To enable Loop Guard as a default on all spanning tree normal and network ports, use the
spanning-tree
loopguard default
command. To disable Loop Guard, use the
no
form of this command.
spanning-tree loopguard default
no spanning-tree loopguard default
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Global configuration mode
Command History
Usage Guidelines
Loop Guard provides additional security in the bridge network. Loop Guard prevents alternate or root
ports from becoming the designated port because of a failure that could lead to a unidirectional link.
Loop Guard operates only on ports that are considered point-to-point links by the spanning tree, and it
does not run on spanning tree edge ports.
Entering the
spanning-tree guard loop
command for the specified interface overrides this global Loop
Guard command.
Examples
This example shows how to enable Loop Guard:
switch(config)#
spanning-tree loopguard default
Related Commands
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
show spanning-tree
summary
Displays information about the spanning tree state.