The port protect-switch command configures a manual blocking mode for an ERPS port.
By default, no port is blocked.
Usage Scenario
In case the ring protection link (RPL) has high bandwidth, blocking a link with low bandwidth and unblocking the RPL allow traffic to use the RPL and have more bandwidth. ERPSv2 supports both FS and MS modes for blocking an ERPS port.
Prerequisites
The erps ring or port (ERPS ring view) command has been run to add the port to an ERPS ring.
The version v2 command has been run to specify ERPSv2.Configuration Impact
After an ERPS port is blocked by using FS or MS mode, the node on which the ERPS port resides sends R-APS (FS) or R-APS (MS) messages to the other nodes on the ERPS ring. ERPS recalculates the paths and finally unblocks the RPL owner port.
Precautions
<HUAWEI> system-view [~HUAWEI] erps ring 5 [*HUAWEI-erps-ring5] version v2 [*HUAWEI-erps-ring5] control-vlan 100 [*HUAWEI-erps-ring5] protected-instance all [*HUAWEI-erps-ring5] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] portswitch [*HUAWEI-GigabitEthernet0/1/1] stp disable [*HUAWEI-GigabitEthernet0/1/1] erps ring 5 [*HUAWEI-GigabitEthernet0/1/1] commit [~HUAWEI-GigabitEthernet0/1/1] quit [~HUAWEI] erps ring 5 [*HUAWEI-erps-ring5] port GigabitEthernet 0/1/1 protect-switch force