< Home

guard-timer (ERPS ring view)

Function

The guard-timer command sets the Guard timer in an ERPS ring.

The undo guard-timer command restores the default value of the Guard timer.

By default, the Guard timer is 200 centiseconds in an ERPS ring.

Format

guard-timer time-value

undo guard-timer

Parameters

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

Views

ERPS ring view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a Layer 2 network running ERPS, after a faulty link or node recovers, the device sends RAPS PDUs to inform the other nodes of link or node recovery and starts the Guard timer. Before the Guard timer expires, the device does not receive any RAPS PDU. If the device receives out-of-date RAPS PDUs indicating that the link or node fails, the local port may be blocked again. After the Guard timer expires, if the device receives an RAPS PDU indicating that another port fails, the local port enters the Forwarding state.

Precautions

If the value of the Guard timer is too small, network loops may occur. The default value (200 centiseconds) is recommended.

Example

# Set the Guard timer to 180 centiseconds in ERPS ring 10.

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