6.4.2 Set loop detection function (interface)
[Syntax]
loop-detect
switch
no
loop-detect
[Parameter]
switch
:
Set loop detection function for the applicable interface
Setting value
Description
enable
Enables loop detection function for the
applicable interface
disable
Disables loop detection function for the
applicable interface
[Initial value]
loop-detect enable
[Input mode]
interface mode
[Description]
Enables or disables loop detection function for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for LAN/SFP port.
In order to enable the loop detection function, the loop detection function must be enabled on the entire system in addition to
this command.
Even if the loop detection function is enabled, the loop detection function does not operate on the following interfaces.
• LAN/SFP port on which the spanning tree function is operating. However, because a Forwarding port transmits and receives
LDF, the loop detection will operate if misconnection or another issue causes a loop to occur.
• LAN/SFP port that is operating as a trunk port for which native VLAN is not specified
• LAN/SFP port that is inside a logical interface
The following table shows which function is enabled depending on the settings of the spanning tree function (STP) and the loop
detection function (LPD).
Interface
LPD disabled
LPD enabled
STP disabled
STP enabled
STP disabled
STP enaabled
System
LPD disabled
STP disabled
-
-
-
-
STP enabled
-
STP
-
STP
LPD enabled
STP disabled
-
-
LPD
LPD
STP enabled
-
STP
LPD
STP
[Example]
Enable the loop detection function of LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#loop-detect enable
Disable the loop detection function of LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#loop-detect disable
6.4.3 Set port blocking for loop detection
[Syntax]
loop-detect
blocking
switch
188
| Command Reference | Layer 2 functions