xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
379
config loopdetect
Purpose
Used to configure the loopback detection function on the Switch.
Syntax
config loopdetect { recover_timer [ 0 | <value 60-1000000> ] | interval < value 1-32767> | mode
[ port-based | vlan-based ] }(1)
Description
This command is used to set up the loopback detection function (LBD) for the entire Switch.
Parameters
recover_timer - The time interval (in seconds) used by the Auto-Recovery mechanism to decide
how long to check if the loop status is gone. Zero is a special value which means to disable the
auto-recovery mechanism, hence, a user needs to recover the disabled port back manually. The
default value of the recover timer is 60. The valid range is 60 to 1000000.
interval - The time interval (in seconds) at which a device transmits all the CTP (Configuration Test
Protocol) packets to detect the loopback event. The valid range is 1 to 32767. The default setting
is 10.
mode - Choose the loopback detection operation mode. In the port-based mode, the port will be
shut-down (be disabled) when a loop is detected; in VLAN-based mode, the port cannot process
packets on the VLAN on which the loop is detected. The default mode is port-based.
port-based – Specify the mode is port-based. A port-based loop refers to a loop caused by
any port system wide.
vlan-based – Specify the mode is VLAN-based. A VLAN-based loop refers to a loop within
a VLAN detected on a member port of that VLAN.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To set a recover time of 0 with an interval of 20 and VLAN-based mode:
DES-3200-28F:4# config loopdetect recover_timer 0 interval 20 mode vlan-
based
Command: config loopdetect recover_timer 0 interval 20 mode vlan-based
Success.
DES-3200-28F:4#