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.
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. |
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.