6 show loopback-detection, Show loopback, Detection – PLANET WGSW-52040 User Manual
Page 165
6-164
Example:
Enable the function of loopback detection under port 1/2 mode.
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#switchport mode trunk
Switch(Config-If-Ethernet1/2)#switchport trunk allowed vlan all
Switch(Config-If-Ethernet1/2)#loopback-detection specified-vlan 1;3;5-20
Switch(Config-If-Ethernet1/2)#no loopback-detection specified-vlan 1;3;5-20
6.6 show loopback-detection
Command:
show loopback-detection [interface
Function:
Display the state of loopback detection on all ports if no parameter is provided, or the state and result of the specified
ports according to the parameters.
Parameters:
<interface-list> the list of ports to be displayed, for example: ethernet 1/1.
Command Mode:
Admin and Configuration Mode.
Usage Guide:
Display the state and result of loopback detection on ports with this command.
Example:
Display the state of loopback detection on port 4.
Switch(config)#show loopback-detection interface Ethernet 1/4
loopback detection config and state information in the switch!
PortName Loopback Detection Control Mode Is Controlled
Ethernet1/4 Enable Shutdown No