(Optional) Configuring ERPS Protection Switching

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.

Context

  • Revertive and non-revertive switching

    After link faults are rectified, whether to re-block the RPL owner port depends on the switching mode.

  • Port blocking mode

    In case the RPL has high bandwidth, blocking a link with low bandwidth and unblocking the RPL allow traffic to use the RPL and have more bandwidth. ERPS supports two manual port blocking modes: FS and MS. FS takes precedence over MS. An existing FS or MS operation can be cleared using the clear command. The clear command also has the following functions:
    • Triggers revertive switching before the WTR or WTB timer expires in the case of revertive operations.
    • Triggers revertive switching in the case of non-revertive operations.
  • Timer

    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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    The ERPS ring view is displayed.

  3. Run revertive { enable | disable }

    The protection switching mode is specified.

  4. Perform either of the following operations to configure a port blocking mode:

    • 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:

      1. Run quit

        Return to the system view.

      2. Run interface interface-type interface-number

        The interface view is displayed.

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

      4. Run quit

        Return to the system view.

    To clear the specified port blocking mode, run the clear command in the ERPS ring view.

  5. Run the following commands to configure one or more timers for the ERPS ring:

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

  6. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >