[Note]
A LAN/SFP port that is associated with a logical interface cannot be specified as
ifname
.
[Example]
Show information for MST instance #1.
SWR2311P>show spanning-tree mst instance 1
% Default: MSTI Root Path Cost 0 - MSTI Root Port 0 - MSTI Bridge Priority 32768
% Default: MSTI Root Id 8001ac44f2300110
% Default: MSTI Bridge Id 8001ac44f2300110
% port1.19: Port Number 923 - Ifindex 5019 - Port Id 0x839b - Role Designated -
State Forwarding
% port1.19: Designated Internal Path Cost 0 - Designated Port Id 0x839b
% port1.19: Configured Internal Path Cost 20000
% port1.19: Configured CST External Path cost 20000
% port1.19: CST Priority 128 - MSTI Priority 128
% port1.19: Designated Root 8001ac44f2300110
% port1.19: Designated Bridge 8001ac44f2300110
% port1.19: Message Age 0
% port1.19: Hello Time 2 - Forward Delay 15
% port1.19: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0
%
6.4 Loop detection
6.4.1 Set loop detection function (system)
[Syntax]
loop-detect
switch
no
loop-detect
[Parameter]
switch
:
Set system-wide loop detection function
Setting value
Description
enable
Enables system-wide loop detection function
disable
Disables system-wide loop detection function
[Initial value]
loop-detect disable
[Input mode]
global configuration mode
[Description]
Enables or disables the system-wide loop detection function.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
The spanning tree function and the loop detection function can be used together on the entire system.
In order to enable the loop detection function, the loop detection function must be enabled on the interface 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 mirror port for the mirroring function
• LAN/SFP port that is inside a logical interface
[Example]
Enable the loop detection function for the entire system.
SWR2311P(config)#loop-detect enable
Disable the loop detection function for the entire system.
SWR2311P(config)#loop-detect disable
Command Reference | Layer 2 functions |
187