< Home

erps ring protect-switch

Function

The erps ring protect-switch command configures a port blocking mode for an ERPS port.

Format

erps ring ring-id protect-switch { force | manual }

Parameters

Parameter Description Value

ring-id

Specifies the ID of an ERPS ring.

The value is an integer that ranges from 1 to 255.

force

Forcibly blocks a port immediately after FS is configured, irrespective of whether link failures have occurred.

-

manual

Indicates the MS mode for blocking an ERPS port.

-

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Because the Ring Protection Link (RPL) may have high bandwidth, you can block the low-bandwidth link so that user traffic can be transmitted on the RPL. ERPSv2 supports both Forced Switch (FS) and Manual Switch (MS) modes for blocking an ERPS port:
  • FS: forcibly blocks a port immediately after FS is configured, irrespective of whether link failures have occurred.
  • MS: blocks a port on which MS is configured when the ERPS ring is in Idle or Pending state.

FS takes precedence over MS.

Prerequisites

  • The erps ring or port (ERPS ring view) command has been executed to add the port to an ERPS ring.
  • The version v2 command has been executed to specify ERPSv2.

Configuration Impact

After an ERPS port is blocked in FS or MS mode, the node on which the ERPS port resides sends RAPS (FS) or RAPS (MS) messages to the other nodes in the ERPS ring. As a result, ERPS performs recalculation and finally unblocks the RPL owner port.

Precautions

The ERPS ring specified by ring-id must be the one to which the port belongs; otherwise, the command does not take effect.

To change the port blocking mode from MS to FS, run the erps ring ring-id protect-switch force command to set the FS mode. To change the port blocking mode from FS to MS, run the clear command in the ERPS ring view to delete the FS mode, and then run the erps ring ring-id protect-switch manual command to set the MS mode.

You can delete the manual port blocking mode only by using the clear command in the ERPS ring view.

The erps ring protect-switch command is not saved in the configuration file.

Example

# Specify the FS mode to block GigabitEthernet0/0/1 in ERPS ring 5.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] erps ring 5
[HUAWEI-GigabitEthernet0/0/1] erps ring 5 protect-switch force
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >