erps ring instance protection-switch {{manual|force} |}

Syntax

erps ring  instance  protection-switch {{manual|force} |}

Description

块一个特定接口的两个following ways:
  • Force: The switch blocks a specific ring interface regardless of the protection switching state of the ring instance.

  • Manual: The switch blocks a specific ring interface if no other protection switch event is active on the ring instance.

NOTE:
The user can verify whether the protection-switch is successful by verifying the status of instance and port state over which this command is executed.
switch# erps ring 1 instance 1 protection-switch force port0 switch# show erps status Status for ERPS Ring 1 Instance 1: ==================================== Ring ID : 1 Instance ID : 1 Port0 : 1/1/5 (Block) Port1 : 1/1/6 (Up) Node Role (RPL) : Owner (port0) Control VLAN : 50 Protected VLAN : 1-49 Subring (TCN) : No (No) Revertive Operation : Revertive MEG Level : 7 Transmission Interval : 5 sec Guard Interval : 0 sec 500 ms Hold-Off Interval : 0 sec 0 ms WTR Interval : 1 min Status : Forced-switch Oper Down Reason : None

Command context

Operator (>) or Manager (#)

Parameters

Required, specifies the ID of the ring. Range: 1-239.

Required, specifies the ID of the ring instance. Range: 1-2.

manual

A type of protection switch event in which the switch blocks a specific ring interface if no other protection switch event is active on the ring instance.

force

A type of protection switch even in which the switch blocks a specific ring interface regardless of the protection switching state of the ring instance.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Block ring 3, interface 2, port 0 if no other protection switch event is active on the ring instance:
switch# erps ring 3 instance 2 protection-switch manual port0
Block ring 3, instance 2, regardless of the protection switching state of the ring instance:
switch# erps ring 3 instance 2 protection-switch force port1