DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
229
31
Loopback Detection Command List
config loopdetect {recover_timer [ 0 | <value 60-1000000>] | interval <1-32767> | mode [port-based |
vlan-based]] (1)
config loopdetect ports [<portlist>| all] state [enable | disable ]
enable loopdetect
disable loopdetect
show loopdetect
show loopdetect ports [ all | <portlist> ]
31-1 config loopdetect
Purpose
Used to configure loop-back detection function on the switch.
Format
config loopdetect {recover_timer [ 0 | <value 60-1000000>] | interval <1-32767> | mode [port-based |
vlan-based]}
Description
The config loopdetect command is used to setup the loop-back detection function (LBD) for the entire
switch.
Parameters
Parameters
Description
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.
The valid range is 60 to 1000000. Zero is a special value which
means to disable the auto-recovery mechanism, hence, user need
to recover the disabled port back manually. Default value of
recover_timer is 60.
interval
The time interval (in seconds) at which device transmits all the
CTP(Configuration Test Protocol) packets to detect the loop-back
event. The default setting is 10. Valid range is 1 to 32767.
mode
Choose the loop-detection operation mode. In the port-based
mode , the port will be shut-down (disabled) when detecting loop ;
in vlan-based mode , the port can’t process packets of the VLAN
that detecting the loop.