< Home

loopback-detect packet-interval

Function

The loopback-detect packet-interval command sets the interval between sending loopback detection packets on all interfaces.

The undo loopback-detect packet-interval command restores the default interval between sending loopback detection packets on all interfaces.

By default, the interval between sending loopback detection packets is 5 seconds.

Format

loopback-detect packet-interval packet-interval-time

undo loopback-detect packet-interval [ packet-interval-time ]

Parameters

Parameter

Description

Value

packet-interval-time

Specifies the interval between sending loopback detection packets.

The value is an integer that ranges from 1 to 300, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenarios

After loopback detection is enabled on an interface, the interface sends loopback detection packets at the interval specified by the loopback-detect packet-interval command. You can run the loopback-detect packet-interval command to adjust the interval between sending loopback detection packets according to service requirements. If a shorter interval is set, the system sends more loopback detection packets in a certain period. This enables the system to detect loopbacks more quickly and accurately, but more system sources are consumed.

Precautions

If you run the loopback-detect packet-interval command multiple times, only the latest configuration takes effect.

Example

# Set the interval between sending loopback detection packets on all interfaces to 10s.

<HUAWEI> system-view
[HUAWEI] loopback-detect packet-interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >