MES3000 Ethernet switch series 93
5.15.4 Loopback detection mechanism (loopback-detection)
This mechanism allows the device to detect loopback ports. Port loopback detection is performed
by sending frame with the destination address, matching one of the device MAC addresses.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.82 —Global configuration mode commands
loopback-detection enable
Enable loopback detection mechanism for the switch.
no loopback-detection enable
Restore the default value.
loopback-detection interval
seconds
seconds: (1..60)/30
seconds
Set the time interval between loopback frames.
- seconds—time interval between LBD frames.
no loopback-detection interval
Restore the default value.
loopback-detection mode
{srcmac-addr |
basemacaddr}
Set loopback detection mode.
- src-mac-addr—define that the destination MAC address is the
interface MAC address
- base-mac-addr—define that the destination MAC address is the
device MAC address
loopback-detection vlanbased
Enables loopback detection mode for VLAN. If there is a loop in
VLAN, this VLAN will be blocked on port, on which the loop is
detected.
no loopback-detection vlan-
based
Disables loopback detection mode for VLAN.
loopback-detection vlanbased
recovery-time time
time:
(30..1000000)/disabled
Defines time in seconds, during which a VLAN will remain in the
blocked state on port.
no loopback-detection vlan-
based recovery-time
VLAN on port, on which the loop is detected, will not be
unblocked automatically.
Ethernet interface configuration mode commands (interface range), port group interface
Command line request in Ethernet interface, port group interface configuration mode appears as
follows:
console# configure
console(config)# interface {gigabitethernet gi_port| tengigabitethernet
te_port|port-channel group}
console(config-if)#
Table 5.83 —Ethernet interface configuration mode commands, interface group
loopback-detection enable
Enable loopback detection mechanism for the port.
no loopback-detection enable
Restore the default value.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console#