DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
414
Example
To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20
seconds and Specifies VLAN-based mode:
DWS-3160-24PC:admin# config loopdetect recover_timer 0 interval 20 mode vlan-
based
Command: config loopdetect recover_timer 0 interval 20 mode vlan-based
Success.
DWS-3160-24PC:admin#
40-2 config loopdetect ports
Description
This command is used to configure the LBD function for interfaces on the Switch.
Format
config loopdetect ports [<portlist> | all] state [enable | disable]
Parameters
ports - Specifies the range of ports that LBD will be configured on.
<portlist> - Enter a list of ports
all - To set all ports in the system, you may use the “all” parameter.
state - Specifies whether the LBD function should be enabled or disabled on the ports specified
in the port list. The default state is disabled.
enable - Specifies to enable the LBD function.
disable - Specifies to disable the LBD function.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To enable the LBD function on ports 1-5:
DWS-3160-24PC:admin# config loopdetect ports 1-5 state enable
Command: config loopdetect ports 1-5 state enable
Success.
DWS-3160-24PC:admin#
40-3 enable loopdetect
Description
This command is used to enable the LBD function globally on the Switch. The default state is
disabled.