< Home

wtr-timer (ERPS ring view)

Function

The wtr-timer command sets the WTR timer in an ERPS ring.

The undo wtr-timer command restores the default value of the WTR timer.

By default, the WTR timer is 5 minutes in an ERPS ring.

Format

wtr-timer time-value

undo wtr-timer

Parameters

Parameter Description Value
time-value Specifies the value of the WTR timer in an ERPS ring. The value is an integer that ranges from 1 to 12, in minutes.

Views

ERPS ring view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The wtr-timer command is applied to RPL owner ports. If an RPL owner port is unblocked due to a link or node fault, the involved port may not go Up immediately after the link or node recovers. To prevent the RPL owner port from alternating between the Up and Down states, the node where the RPL owner port resides starts the WTR timer after receiving an RAPS PDU indicating the link or node recovery:
  • If the node receives an RAPS PDU indicating that another port fails before the timer expires, the node disables the WTR timer and enables the RPL owner port.
  • If the node does not receive any RAPS PDUs indicating that another port fails before the timer expires, the node blocks the RPL owner port when the WTR timer expires and sends an RAPS PDU indicating that the RPL owner port is blocked. After receiving the RAPS PDU, other nodes set their recovering ports to the Forwarding state in the ring.

Precautions

If you run the wtr-timer command multiple times, only the latest configuration takes effect.

Example

# Set the WTR timer to 10 minutes in ERPS ring 10.

<HUAWEI> system-view
[HUAWEI] erps ring 10
[HUAWEI-erps-ring10] wtr-timer 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic