6 show loopback-detection, Show loopback, Detection – PLANET XGS3-24042 User Manual
Page 147
XGS3 Command Guide
6-147
Command Mode:
Port Mode.
Usage Guide:
If a port can be a TRUNK port of multiple Vlans, the detection of loopbacks can be implemented on the basis of
port+Vlan, which means the objects of the detection can be the specified Vlans on a port. If the port is an ACCESS
port, only one Vlan on the port is allowed to be checked despite the fact that multiple Vlans can be configured. This
function is not supported under Port-channel.
Examples:
Enable the function of loopback detection under port 1/0/2 mode.
Switch(config)#interface ethernet 1/0/2
Switch(Config-If-Ethernet1/0/2)#switchport mode trunk
Switch(Config-If-Ethernet1/0/2)#switchport trunk allowed vlan all
Switch(Config-If-Ethernet1/0/2)#loopback-detection specified-vlan 1;3;5-20
Switch(Config-If-Ethernet1/0/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/0/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/0/4
loopback detection config and state information in the switch!
PortName Loopback Detection Control Mode Is Controlled
Ethernet1/0/4 Enable Shutdown No