ECS2020 Series CLI Reference Guide-R04

78
21 Loopback-detection
21.1
Configure commands
Loopback-detection
Configures loop detection, activates the function, and when a loop appears on the network, the loop
port
is disabled (link-down) or a warning is issued.
Loopback-detection [enable|ctp-interval|resume-interval|snmp-trap]
Enabled
Global configuration mode
In the global mode, configuration loopback-detection
Configures loopback-detection as enabled, the ctp-interval, the resume-interval , or
an snmp-trap
ECS2020-10P(config)# loopback-detection enable
ECS2020-10P(config)# loopback-detection ctp-interval 1
ECS2020-10P(config)# loopback-detection resume-interval 60
ECS2020-10P(config)# loopback-detection snmp-trap
Parameter
Parameter
Description
enable
Enables the loop detection function, default is
disabled.
ctp-interval
ctp sending interval(1-32767)
resume-interval
Port automatic recovery time interval(0,60-1000000)
default '60',set to '0' means no auto-resume.
snmp-trap
Decides whether to send an alarm message,You
need
to first start the SNMP function and SNMP trap.
Command
Command
Description
show loopback-detection
View the current loop detection status
and configuration.
Default
Mode
Usage
Example