echo-interval (ofa)

Function

The echo-interval command sets the interval at which heartbeat packets are sent over a CUSP connection.

The undo echo-interval command restores the default configuration.

If the value is 0, CUSP detection is disabled.

By default, the interval at which heartbeat packets are sent over a CUSP connection is 30 seconds.

This command is supported only on the NetEngine 8000 F1A.

Format

echo-interval interval

undo echo-interval interval

undo echo-interval

Parameters

Parameter Description Value
interval

Specifies the interval at which heartbeat packets are sent.

The value is 0 or an integer ranging from 2 to 60, and the default value is 30, in seconds.

Views

CUSP-forwarder view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
cusp-agent write

Usage Guidelines

Usage Scenario

Devices at both ends of a CUSP connection send Echo Request (heartbeat) packets to monitor the status of the CUSP connection. To perform heartbeat detection, run both the echo-interval and echo-timeout count commands. If the initiator at either end neither receives an Echo Reply packet nor receives any other valid CUSP packet from the peer after sending Echo Request packets for several consecutive times specified using within a heartbeat detection period specified using , the device considers the peer faulty and tears down the CUSP connection. If the initiator does not receive any Echo Reply packet but receives another valid CUSP packet from the peer, it does not tear down the connection.

NOTE:

This command is delivered by the vBRAS-CP to the vBRAS-UP.

Prerequisites

The CUSP forwarder view has been displayed by running the cusp agent command.

Precautions

  • In a single-CUSP deployment scenario, the default value of 150s (30s x 5) is used. If the value is less than 150s, a UPMNG switchover or increased CPU usage will lead to increase the risks of an incorrect down event.
  • In scenarios where CUSP disconnect needs to be rapidly detected, such as a hot backup scenario, you are advised to deploy CUSP (3s x 10) and BFD (1s x 30, with the packet precedence of 7) concurrently.

    In VS mode, this command is supported only by the admin VS.

Example

# Set the heartbeat detection period for a CUSP connection to 20s
<HUAWEI> system-view
[~HUAWEI] cu-controller
[~HUAWEI-cu-controller] up 1024
[~HUAWEI-cu-controller-up1024] config
[~HUAWEI-cu-controller-up1024-config] cusp agent abc
[~HUAWEI-cu-controller-up1024-config-cusp-agent-abc] echo-interval 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >