![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 294](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439294.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
294
Loop-back Detection Commands
The Loop-back 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 [0 | <sec 60-1000000>] | interval <sec 1-32767> | mode [port-based |
vlan-based]}
config loopdetect ports
[<portlist> | all] state [enable | disable]
config loopdetect trap
[none | loop_detected | loop_cleared | both]
enable loopdetect
disable loopdetect
show loopdetect
show loopdetect ports
{<portlist>}
config loopdetect log
state
[enable | disable]
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 [0 | <sec 60-1000000>] | interval <sec 1-32767> |
mode [port-based | vlan-based]}
Description
This command is used to configure loop-back detection on the 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
- 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.
<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
- 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 Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To set the recover time to 0, and interval to 20, and VLAN-based mode: