xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
481
65
L
OOPBACK
D
ETECTION
C
OMMANDS
The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config loopdetect
{recover_timer [value 0| <value 60-1000000>] | interval <1-
32767> | mode [port-based | vlan-based]}
config loopdetect ports
[<portlist> | all] state [enabled | disabled]
enable loopdetect
disable loopdetect
show loopdetect
show loopdetect ports
[<portlist> | all]
config loopdetect trap
[ none | loop_detected | loop_cleared | both ]
Each command is listed, in detail, in the following sections.
config loopdetect
Purpose
Used to configure loop-back detection on the switch.
Syntax
config loopdetect {recover_timer [value 0| <value 60-1000000>] |
interval <1-32767> | mode [port-based | vlan-based]}
Description
Used to configure loop-back detection on the 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. The valid
range is
60
to
1000000
. Zero is a special value which means to disable the
auto-recovery mechanism. The default value is
60
.
interval –
The time interval (inseconds) at which the remote device
transmits all the CTP packets to detect the loop-back event. The default
value is
10
, with a valid range of
1
to
32767
,
mode –
In port-based mode, the port will be disabled during the loop
detection. In vlan-based mode, the port can not process VLAN packets
destined for ports involved in detecting the loop.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the recover time to 0, and interval to 20, and VLAN-based mode:
DGS-3627:5#config loopdetect recover_timer 0 interval 20 mode vlan-based
Command: config loopdetect recover_timer 0 interval 20 mode vlan-based
Success.
DGS-3627:5#