D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
428
55
LOOPBACK INTERFACE COMMANDS
The Loopback Interface commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
config loopdetect {recover_timer [0 | <sec 60-1000000>] | interval <sec 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 {<portlist>}
config loopdetect trap [none | loop_detected | loop_cleared | both]
Each command is listed, in detail, in the following sections.
config loopdetect
Purpose This command is used to setup the loop-back detection function (LBD) for the entire Switch.
Syntax
config loopdetect {recover_timer [0 | <sec 60-1000000>] | interval <sec 1-32767> |
mode [port-based | vlan-based]}(1)
Description This command is used to setup the loop-back detection function (LBD) for the entire Switch.
Parameters
recover_timer - (Optional) 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 specifies 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.
0 - Specifies that the value of 0 will be set to the recovery timer.
<sec 60-1000000> - Enter the recovery timer value here. This value must be between 60 and
1000000 seconds.
interval - (Optional) 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
32767 seconds.
mode - (Optional) 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 - Specifies that the loop-detection operation mode will be set to port-based mode.
vlan-based - Specifies that the loop-detection operation mode will be set to vlan-based mode.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage: