Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure Basic Parameters of Loopback Detection

Configuration Condition

None

Configure Sending Period of Loopback Detection Packets

In loopback detection, loopback detection packets are sent periodically to detect loops in the network. You can modify the interval at which loopback detection packets are sent according to the actual network requirement.

Table 10-4 Configure the sending period of the loopback detection packets

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the L2/L3 Ethernet interface configuration mode.

interface interface-name

Either

After entering the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current Ethernet interface. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.

Enter the aggregation group configuration mode.

interface link-aggregation link-aggregation-id

Configure the interval at which loopback detection packets are sent.

loopback-detection enable interval-time interval-time-value

Mandatory.
By default, the interval at which loopback detection packets are sent is 30 seconds.

Configure Error-Disable Action of Ethernet Interface

If the Ethernet interface allows the Error-Disable action, the Ethernet interface is controlled. After a port detects a loop, it performs the Error-Disable action to close the Ethernet interface so as to eliminate the loop. If the Ethernet interface is not in the controlled status, the Ethernet interface only prints loop prompt message instead of closing the Ethernet interface. In this case, the loop has not been eliminated.

Table 10-5 Configuring the Error-Disable Action on the Ethernet interface

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the L2/L3 Ethernet interface configuration mode.

interface interface-name

Either

After entering the L2/L3 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current Ethernet interface. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.

Enter the aggregation group configuration mode.

interface link-aggregation link-aggregation-id

Configure whether the Ethernet interface allows the Error-Disable function. loopback-detection enable control

Mandatory.
By default, after the Ethernet interface detects a loop, it performs the Error-Disable action.