background image

H3C Loopback Detection Feature Manual 
Release 2107 

Chapter 2  Loopback Detection Configuration

 Commands

 

2-1 

Chapter 2  Loopback Detection Configuration 

Commands 

 

 

  Note: 

Two functions are added to release 2107: configuring loopback detection for a list of 

ports in bulk, and enabling auto-shutdown of loopback ports. For detailed description of 

the two functions, refer to loopback-detection 

interface-list

 enable and 

loopback-detection shutdown enable. 

 

2.1  Loopback Detection Configuration Commands 

2.1.1  loopback-detection control enable 

Syntax 

loopback-detection control enable 

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 trunk or hybrid port.  

Use the 

undo loopback-detection control enable

 command to disable the loopback 

port control function on the trunk or hybrid port. 

The loopback port control function works in conjunction with the loopback detection 

function (refer to loopback-detection enable). If a loop is found on a VLAN of the trunk 

or hybrid port: 

z

 

With the function enabled on the trunk or hybrid port, the system will set the port to 

the 

block

 state (ports in this state cannot forward data packets), send log 

messages to the terminal, and remove the corresponding MAC forwarding entry. 

Содержание H3C S3100 16C SI

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: