User Manual

[Input mode]
interface mode
[Description]
Enables the loop detection function for the corresponding interface.
If this is executed with the "no" syntax, the loop detection function is disabled.
[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 enabled
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.
SWP1(config)#interface ge1
SWP1(config-if)#loop-detect enable
Disable the loop detection function of LAN port #1.
SWP1(config)#interface ge1
SWP1(config-if)#no loop-detect
11.3.3 Set port blocking for loop detection
[Syntax]
loop-detect blocking
no loop-detect blocking
[Initial value]
loop-detect blocking
[Input mode]
interface mode
[Description]
Enables blocking if a loop is detected on the applicable interface.
If this is executed with the "no" syntax, blocking does not occur if a loop is detected.
[Note]
This command can be specified only for LAN/SFP port.
[Example]
Block if a loop is detected on LAN port #1.
SWP1(config)#interface ge1
SWP1(config-if)#loop-detect blocking
Do not block if a loop is detected on LAN port #1.
Command Reference | L2 switching function | 149