< Home

timer (RRPP domain view)

Function

The timer command sets the values of the Hello timer and Fail timer.

The undo timer command restores the default values of the Hello timer and Fail timer.

By default, the value of the Hello timer is 1 second and that of the Fail timer is 6 seconds.

Format

timer hello-timer hello-value fail-timer fail-value

undo timer

Parameters

Parameter Description Value
hello-timer hello-value Specifies the value of the Hello timer. The value is an integer that ranges from 1 to 10, in seconds. The default value is 1.
fail-timer fail-value Specifies the value of the Fail timer. The value is an integer that ranges from 3 to 1200, in seconds. The default value is 6. The value of fail-value must be three times the value of hello-value or larger.

Views

RRPP domain view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can set the values of the Hello timer and Fail timer as required.

Precautions

You need to run the timer command only on the master node, edge node, and assistant edge node.

The value of the Fail timer must be three times the value of the Hello timer or larger.

By default, the value of the Hello timer on an edge node is half of the value of the Hello timer on the master node of the major ring.

The values of the Hello timer and Fail timer must be the same on the nodes in an RRPP domain; otherwise, the edge interface on the edge node may be unstable.

You are advised to set the value of the Fail timer to 30 seconds, because the default value may cause temporary loops. For example, when RRPP multi-instance is enabled, multiple RRPP domains are configured on the same ring. If the value of the Fail timer is set to the default value, loops may occur.

Example

# Set the Hello timer and Fail timer in RRPP Domain 1 to 2s and 7s respectively.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] timer hello-timer 2 fail-timer 7

# Restore the default values of the timers in RRPP Domain 1.

<HUAWEI> system-view
[HUAWEI] rrpp domain 1
[HUAWEI-rrpp-domain-region1] undo timer
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic