32
Use the undo loopback-detection interval-time command to restore the default loopback detection
interval.
The default loopback detection interval is 30 seconds.
Related commands: display loopback-detection.
Syntax
loopback-detection interval-time time
undo loopback-detection interval-time
View
System view
Default level
2: System level
Parameter
time: Sets the loopback detection interval, ranging from 5 to 300 seconds.
Example
# Set the loopback detection interval to 10 seconds.
<Sysname> system-view
[Sysname] loopback-detection interval-time 10
loopback-detection per-vlan enable
Description
Use the loopback-detection per-vlan enable command to enable loopback detection in each VLAN on
trunk or hybrid ports.
Use the undo loopback-detection per-vlan enable command to disable loopback detection in all but the
PVID on trunk or hybrid ports.
By default, a trunk port or hybrid port performs loopback detection only in its PVID.
The loopback-detection per-vlan enable command is not applicable to access ports.
Syntax
loopback-detection per-vlan enable
undo loopback-detection per-vlan enable
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Example
# Enable loopback detection in all VLANs on hybrid port GigabitEthernet 1/0/1.