beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 29

background image

1-15

operates on the port according to the pre-configured loopback detection action, sends trap
messages and log information to the terminals, and deletes the corresponding MAC address
forwarding entry.

Follow these steps to configure loopback detection:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable global loopback detection

loopback-detection enable

Required

Disabled by default

Configure the interval for port

loopback detection

loopback-detection interval-time

time

Optional

30 seconds by default

Enter Ethernet

port view

interface interface-type

interface-number

Enter Ethernet

port view or port

group view

Enter port

group view

port-group manual

port-group-name

Use either command

Configurations made in Ethernet

port view takes effect on the

current port only; configurations

made in port group view takes

effect on all ports in the port group

Enable loopback detection on a

port

loopback-detection enable

Required

Disabled by default

Enable loopback detection control

on a trunk port or a hybrid port

loopback-detection control

enable

Optional

Disabled by default

Enable loopback detection in all

the VLANs permitted on the trunk

or hybrid port

loopback-detection per-vlan

enable

Optional

Enabled only in the default

VLAN(s) with trunk port or hybrid

ports

Specify actions to be taken on a

port when a loop is detected on it

loopback-detection action

{ shutdown | semi-block |

no-learning

}

Optional

By default, the port does not

specify loopback detection actions.