Loopback-Detection Control Enable; Loopback-Detection Enable - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

loopback-detection control enable

Description
Use the loopback-detection control enable command to enable loopback detection control on trunk or
hybrid ports.
Use the undo loopback-detection control enable command to restore the default.
By default, loopback detection control is disabled on trunk and hybrid ports.
When a hybrid or trunk port detects a loop condition, it sends traps, whether loopback detection control
is enabled or not. However, only after loopback detection control is enabled will the port perform the
protective action configured with the loopback-detection action command.
This command is not applicable to access ports.
Syntax
loopback-detection control enable
undo loopback-detection control enable
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Example
# Enable loopback detection control on the trunk port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
[Sysname-GigabitEthernet1/0/1] loopback-detection enable
[Sysname-GigabitEthernet1/0/1] loopback-detection control enable

loopback-detection enable

Description
Use the loopback-detection enable command to enable loopback detection globally in system view or on
interfaces in Ethernet interface or port group view. To use loopback detection on an Ethernet interface,
you must enable the function both globally and on the port.
Use the undo loopback-detection enable command to disable loopback detection globally or on Ethernet
interfaces.
The undo loopback-detection enable command in system view disables loopback detection on all
interfaces.
By default, loopback detection is disabled on all Ethernet interfaces.
30

Advertisement

Table of Contents
loading

Table of Contents