xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
424
61
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 [ 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> ]
Each command is listed, in detail, in the following sections.
config loopdetect
Purpose
Used to configure loop-back detection function on the switch.
Syntax
config loopdetect {recover_timer [ 0 | <value 60-1000000>] |
interval <1-32767> | mode [port-based | vlan-based]} (1)
Description
The config loopdetect command is used to setup the loop-back
detection function (LBD) for the entire 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, 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.
Restrictions
Only Administrator or Operator-level users can issue this command.