Enabling Multi-Port Loopback Detection - HP A5120 EI Series Configuration Manual

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

To do...
Enter
Ethernet
interface
view or port
group view
Enable loopback detection on the
interface
Enable loopback detection control
Enable loopback detection in all
VLANs on the trunk or hybrid
interface
Set the protective action to take
on the interface when a loop is
detected
NOTE:
To use single-port loopback detection on an Ethernet interface, you must enable the function both globally and
on the interface.
To disable loopback detection on all interfaces, run the undo loopback-detection enable command in system
view.
To enable a hybrid or trunk interface to take the administratively specified protective action, you must use the
loopback-detection control enable command on the interface.
When you change the link type of an Ethernet interface by using the port link-type command, the switch
removes the protective action configured on the interface. For more information about the port link-type
command, see the

Enabling multi-port loopback detection

When an interface receives packets sent from another interface on the same switch, a loop occurs
between the two interfaces. Such a loop is called a "multi-port loop". As shown in
receives packets sent out Port 2, a multi-port loop occurs between the two interfaces, and Port 1 (the
Use the command...
Enter Ethernet
interface interface-type interface-
interface view
number
Enter port group
port-group manual port-group-
view
name
loopback-detection enable
loopback-detection control enable
loopback-detection per-vlan
enable
loopback-detection action {
shutdown | semi-block | no-
learning }
Layer 2—LAN Switching Command Reference
Remarks
Use either command.
To configure loopback detection
on one interface, enter Ethernet
interface view.
To configure loopback detection
on a group of Ethernet interfaces,
enter port group view.
Required
Disabled by default.
Optional
Disabled by default.
Optional
By default, a trunk or hybrid
interface performs loopback
detection only in its PVID.
Optional
By default, a looped interface
discards all incoming packets but
still forwards outgoing packets.
The system generates traps and
deletes all MAC address entries
of the looped interface.
With the shutdown keyword used,
the switch shuts down looped
Ethernet interfaces and sets their
physical state to Loop down.
When a looped interface
recovers, you must use the undo
shutdown command to restore its
forwarding capability.
.
12
Figure
5, if Port 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents