Loopback-Detection Control Enable - HP 6600 Command Reference Manual

Table of Contents

Advertisement

Parameters
no-learning: Disables MAC address learning on the interface.
semi-block: Blocks all packets but STP BPDUs.
shutdown: Shuts down the Ethernet interface. To bring up the interface again, use the undo shutdown
command.
Usage guidelines
When you change the link type of an Ethernet interface with the port link-type command, the device
removes the protective action configured on the interface. For more information about the port link-type
command, see Layer 2—LAN Switching Command Reference.
Configure Ethernet interfaces one by one in Ethernet interface view or in bulk in port group view.
Examples
# Configure the access port GigabitEthernet 4/0/1 to shut down when a loop is detected.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] loopback-detection enable
[Sysname-GigabitEthernet4/0/1] loopback-detection action shutdown
# Configure the trunk port GigabitEthernet 4/0/2 to shut down when a loop is detected.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface gigabitethernet 4/0/2
[Sysname-GigabitEthernet4/0/2] port link-type trunk
[Sysname-GigabitEthernet4/0/2] loopback-detection enable
[Sysname-GigabitEthernet4/0/2] loopback-detection control enable
[Sysname-GigabitEthernet4/0/2] loopback-detection action shutdown

loopback-detection control enable

Use loopback-detection control enable to enable loopback detection control on trunk or hybrid ports.
Use undo loopback-detection control enable to restore the default.
Syntax
loopback-detection control enable
undo loopback-detection control enable
Default
Loopback detection control is disabled on trunk and hybrid ports.
Views
Layer 2 Ethernet interface view, port group view
Default command level
2: System level
38

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents