To ensure that ERPS rings function normally when a device or link fails, you can set ERPS protection switching functions, such as revertive and non-revertive switching, port blocking modes, and timers.
Revertive and non-revertive switching
After link faults are rectified, whether to re-block the RPL owner port depends on the switching mode.
ERPS defines four timers: guard timer, hold-off timer, WTR timer, and WTB timer. The WTB timer value cannot be configured. Its value is the guard timer value plus 5. The default WTB timer value is 7s.
The system view is displayed.
The ERPS ring view is displayed.
The protection switching mode is specified.
To configure a port blocking mode for a port in the ERPS ring view, run the port interface-type interface-number protect-switch { force | manual } command.
To configure a port blocking mode in the interface view, perform the following steps:
Run quit
Return to the system view.
Run interface interface-type interface-number
The interface view is displayed.
Run erps ring ring-id protect-switch { force | manual }
A port blocking mode is configured for the port.
The ERPS ring specified by ring ring-id must be the one to which the port belongs.
Run quit
Return to the system view.
To clear the specified port blocking mode, run the clear command in the ERPS ring view.
To configure the WTR timer, run the wtr-timer time-value command.
To configure the guard timer, run the guard-timer time-value command.
To configure the hold-off timer, run the holdoff-timer time-value command.
The configuration is committed.