3 loopback-detection interval-time, Loopback, Detection interval – PLANET XGS3-24040 User Manual
Page 126: Time
![background image](https://www.manualsdir.com/files/865186/content/doc126.png)
XGS3 Command Guide
6-126
Default:
Disable the function of detecting the loopbacks through the port.
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.
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.3 loopback-detection interval-time
Command:
oopback-detection interval-time
no loopback-detection interval-time
Function:
Set the loopback detection interval. The no operate closes the loopback detection interval function.
Parameters:
<loopback > the detection interval if any loopback is found, ranging from 5 to 300, in seconds.
<no-loopback > the detection interval if no loopback is found, ranging from 1 to 30, in seconds.
Default:
The default value is 5s with loopbacks existing and 3s otherwise.
Command Mode:
Global Mode.
Usage Guide:
When there is no loopback detection, the detection interval can be relatively shorter, for too short a time would be a
disaster for the whole network if there is any loopback. So, a relatively longer interval is recommended when
loopbacks exist.
Example:
Set the loopback diction interval as 35, 15.
Switch(config)#loopback-detection interval-time 35 15