xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
394
To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify
VLAN-based mode:
DGS-3450:admin#config loopdetect recover_timer 0 interval 20 mode vlan-based
Command: config loopdetect recover_timer 0 interval 20 mode vlan-based
Success.
DGS-3450:admin#
config loopdetect ports
Purpose
Used to set up the loop-back detection function for the interfaces on the Switch.
Syntax
config loopdetect ports [<portlist> | all] state [enable | disable]
Description
This command is used to setup the loop-back detection function for the interfaces on the
Switch.
Parameters
<
portlist
> - Enter a list of ports
all
- To set all ports in the system, you may use the “all” parameter.
state
- Specify whether the LBD function should be enabled or disabled on the ports specified
in the port list. The default state is disabled.
enable
- Specify to enable the LBD function.
disable
- Specify to disable the LBD function.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the LBD function on ports 1:1-1:5:
DGS-3450:admin#config loopdetect ports 1:1-1:5 state enable
Command: config loopdetect ports 1:1-1:5 state enable
Success.
DGS-3450:admin#
enable loopdetect
Purpose
Used to enable the LBD function globally on the Switch.
Syntax
enable loopdetect
Description
This command is used to enable the LBD function globally on the Switch. The default state is
enabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the LBD function globally: