background image

H3C Loopback Detection Feature Manual 
Release 2107 

Chapter 1  Loopback Detection Configuration

 

1-2 

z

 

If the loopback port auto-shutdown function is enabled on the port, the system will 

shut down the port and send log messages to the terminal. After the loop is 

removed, you need to use the 

undo shutdown

 command to bring up the port. 

 

 

  Note: 

You cannot enable both the loopback port control function and the loopback port 

auto-shutdown function on a port. If you do so, the function configured later will take 

effect. 

 

1.1.2  Configuring Loopback Detection for Ethernet Port(s) 

Table 1-1 

Configure loopback detection for Ethernet port(s) 

Operation 

Command 

Remarks 

Enter system view  

system-view 

— 

Enable loopback 
detection globally  

loopback-detection 
enable 

Optional 

By default, the global loopback 
detection function is enabled if 
the device boots with the default 
configuration file (config.def); if 
the device boots with null 
configuration, this function is 
disabled.  

Enable loopback 
detection on the 
specified ports in 
bulk 

loopback-detection 
interface-list enable 

Optional 

By default, the loopback 
detection function is enabled on 
ports if the device boots with the 
default configuration file 
(config.def); if the device boots 
with null configuration, this 
function is disabled. 

At present, you can configure the 
loopback detection for ports in 
bulk on the S3100-EI series 
(except the S3100-EPON-EI 
series) switches and the E126A 
switch only. These switches are 
all shipped with a default 
configuration file (config.def). 

Set the interval for 
performing port 
loopback detection  

loopback-detection 
interval-time
 time 

Optional 

The default is 30 seconds.  

Enter Ethernet port 
view  

interface

 

interface-type 

interface-number

 

— 

Summary of Contents for H3C S3100 16C SI

Page 1: ...nfiguring Loopback Detection for Ethernet Port s 1 2 Chapter 2 Loopback Detection Configuration Commands 2 1 2 1 Loopback Detection Configuration Commands 2 1 2 1 1 loopback detection control enable 2...

Page 2: ...the corresponding MAC forwarding entry z If you have additionally enabled the loopback port auto shutdown function on the port the system will shut down the port and send log messages to the terminal...

Page 3: ...ional By default the global loopback detection function is enabled if the device boots with the default configuration file config def if the device boots with null configuration this function is disab...

Page 4: ...configuration this function is disabled Enable the loopback port auto shutdown function loopback detection shutdown enable Optional By default the loopback port auto shutdown function is enabled on p...

Page 5: ...undo loopback detection control enable View Ethernet port view Parameter None Description Use the loopback detection control enable command to enable the loopback port control function on the current...

Page 6: ...m View return to User View with Ctrl Z H3C interface ethernet 1 0 1 H3C Ethernet1 0 1 port link type trunk H3C Ethernet1 0 1 loopback detection control enable 2 1 2 loopback detection enable Syntax lo...

Page 7: ...move the corresponding MAC forwarding entry After the loop is removed the port will automatically resume the normal forwarding state z If the loopback port auto shutdown function is enabled on the por...

Page 8: ...tection interface list enable command to enable the loopback detection function on a range of ports Use the undo loopback detection interface list enable command to disable the loopback detection func...

Page 9: ...to set time interval for loopback detection Use the undo loopback detection interval time command to restore the default time interval Example Set time interval for loopback detection to 10 seconds H...

Page 10: ...ion shutdown enable Syntax loopback detection shutdown enable undo loopback detection shutdown enable View Ethernet port view Parameter None Description Use the loopback detection shutdown enable comm...

Page 11: ...le both the loopback port control function with the loopback detection control enable command and the loopback port auto shutdown function on a port If you do so the function configured later will tak...

Reviews: