DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
511
Chapter 47
Loop Back Detection (LBD)
Command List
config loopdetect {recover_timer [<value 0> | <sec 60-1000000>] | interval <sec 1-32767> |
mode [port-based | vlan-based]}(1)
config loopdetect ports [<portlist> | all] state [enable | disable]
show loopdetect ports {<portlist>}
config loopdetect trap [none | loop_detected | loop_cleared | both]
config loopdetect log state [enable | disable]
config loopdetect 47-1
Description
This command is used to setup the loop-back detection function (LBD) for the entire Switch.
Format
config loopdetect {recover_timer [<value 0> | <sec 60-1000000>] | interval <sec 1-32767> |
mode [port-based | vlan-based]}(1)
Parameters
recover_timer - The time interval (in seconds) used by the Auto-Recovery mechanism to decide
how long to check before determining that the loop status has gone. The valid range is from
60 to 1000000. 0 is a special value that Specify that the auto-recovery mechanism should be
disabled. When the auto-recovery mechanism is disabled, a user would need to manually
recover a disabled port. The default value for the recover timer is 60 seconds.
<value 0> - Enter 0 to specify that the auto-recovery mechanism should be disabled. When
the auto-recovery mechanism is disabled, a user would need to manually recover a
disabled port.
<sec 60-1000000> - Enter the recovery timer value here. This value must be between 60 and
interval - The time interval (in seconds) that the device will transmit all the CTP (Configuration
Test Protocol) packets to detect a loop-back event. The default setting is 10 seconds. The
valid range is from 1 to 32767 seconds.
<sec - 1-32767> - Enter the time interval value here. This value must be between 1 and
mode - Specify the loop-detection operation mode. In port-based mode, the port will be shut
down (disabled) when loop has been detected In VLAN-based mode, the port cannot process
the packets of the VLAN that has detected the loop.
port-based - Specify that the loop-detection operation mode will be set to port-based mode.
vlan-based - Specify that the loop-detection operation mode will be set to vlan-based mode.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.