< Home

display erps

Function

The display erps command displays ports that are added to an ERPS ring and information about the ERPS ring.

Format

display erps [ ring ring-id ] [ verbose ]

Parameters

Parameter Description Value
ring ring-id Displays information about an ERPS ring and the ports that are added to the ERPS ring. The value is an integer that ranges from 1 to 255.
verbose Displays detailed information about an ERPS ring and the ports that are added to the ERPS ring. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display erps command on the ERPS-enabled device to view ports added to the ERPS ring and information about the ERPS ring. The command output facilitates ERPS management and helps you learn the running status of ports.

Prerequisites

To view information about ports that have been added to a specified ERPS ring and the ERPS ring, ensure that the ERPS ring has already been created.

Precautions

If ring ring-id is not specified, information about all the ERPS rings and ports added to the ERPS rings is displayed.

Example

# Display information about all ERPS rings and ports that are added to the ERPS rings.

<HUAWEI> display erps
D  : Discarding
F  : Forwarding
R  : RPL Owner
N  : RPL Neighbour
FS : Forced Switch
MS : Manual Switch
Total number of rings configured = 4
Ring  Control  WTR Timer  Guard Timer  Port 1               Port 2              
ID    VLAN     (min)      (csec)
--------------------------------------------------------------------------------
   1      100          1           50  (D)GE0/0/1           (F,R)GE0/0/2                      
   2      200          2           50  (D)GE0/0/3           (F)GE0/0/4
   3      300          3           50  (F)ETH-TRUNK3        (D)ETH-TRUNK4
   4      400          5           50  (F,R)ETH-TRUNK1      (D)ETH-TRUNK2
--------------------------------------------------------------------------------

# Display information about ERPS ring 1 and ports that are added to ERPS ring 1.

<HUAWEI> display erps ring 1
D  : Discarding
F  : Forwarding
R  : RPL Owner
N  : RPL Neighbour
FS : Forced Switch
MS : Manual Switch
Ring  Control  WTR Timer  Guard Timer  Port 1               Port 2              
ID    VLAN     (min)      (csec)
--------------------------------------------------------------------------------
   1      100          1           50  (D)GE0/0/1           (F,R)GE0/0/2
--------------------------------------------------------------------------------

# Display detailed information about all ERPS rings and ports that are added to the ERPS rings.

<HUAWEI> display erps verbose
Ring ID                             : 101
Description                         : Ring 101
Control Vlan                        : 1001
Protected Instance                  : 4091 
Service Vlan                        : 200 to 400
WTR Timer Setting (min)             : 1      Running (s)           : 0  
Guard Timer Setting (csec)          : 200    Running (csec)        : 0  
Holdoff Timer Setting (deciseconds) : 0      Running (deciseconds) : 0  
WTB Timer Running (csec)            : 0  
Ring State                          : Idle
RAPS_MEL                            : 7
Revertive Mode                      : Revertive
R-APS Channel Mode                  : -
Version                             : 2
Sub-ring                            : No 
Forced Switch Port                  : -
Manual Switch Port                  : -
TC-Notify                           : -
Time since last topology change     : 0 days 0h:31m:49s
--------------------------------------------------------------------------------
Port                Port Role     Port Status     Signal Status
--------------------------------------------------------------------------------
GE0/0/1             Common        Discarding      Non-failed      
GE0/0/2             Common        Forwarding      Non-failed      

Ring ID                             : 102
Description                         : Ring 102
Control Vlan                        : 1002
Protected Instance                  : 4092 
Service Vlan                        : 500 to 600
WTR Timer Setting (min)             : 1      Running (s)           : 0  
Guard Timer Setting (csec)          : 200    Running (csec)        : 0  
Holdoff Timer Setting (deciseconds) : 0      Running (deciseconds) : 0  
WTB Timer Running (csec)            : 0  
Ring State                          : Idle
RAPS_MEL                            : 7
Revertive Mode                      : Revertive
R-APS Channel Mode                  : -
Version                             : 2
Sub-ring                            : No 
Forced Switch Port                  : -
Manual Switch Port                  : -
TC-Notify                           : -
Time since last topology change     : 0 days 4h:12m:20s
--------------------------------------------------------------------------------
Port                Port Role     Port Status     Signal Status
--------------------------------------------------------------------------------
GE0/0/1             Common        Forwarding      Non-failed      
GE0/0/2             RPL Owner     Discarding      Non-failed

# Display detailed information about ERPS ring 1 and ports that are added to ERPS ring 1.

<HUAWEI> display erps ring 1 verbose
Ring ID                             : 1
Description                         : Ring 102
Control Vlan                        : 1002
Protected Instance                  : 4092 
Service Vlan                        : 500 to 600
WTR Timer Setting (min)             : 1      Running (s)           : 0  
Guard Timer Setting (csec)          : 200    Running (csec)        : 0  
Holdoff Timer Setting (deciseconds) : 0      Running (deciseconds) : 0  
WTB Timer Running (csec)            : 0  
Ring State                          : Idle
RAPS_MEL                            : 7
Revertive Mode                      : Revertive
R-APS Channel Mode                  : -
Version                             : 2
Sub-ring                            : No 
Forced Switch Port                  : -
Manual Switch Port                  : -
TC-Notify                           : -
Time since last topology change     : 0 days 4h:13m:40s
--------------------------------------------------------------------------------
Port                Port Role     Port Status     Signal Status
--------------------------------------------------------------------------------
GE0/0/1             Common        Forwarding      Non-failed      
GE0/0/2             RPL Owner     Discarding      Non-failed      
Table 1 Description of the display erps command output

Item

Description

D: Discarding

The port is in discarding state.

F: Forwarding

The port is in forwarding state.

R: RPL Owner

The port is the RPL Owner port.

N : RPL Neighbour

The port is the RPL neighbor port.

FS : Forced Switch

The port is blocked by an FS operation.

MS : Manual Switch

The port is blocked by an MS operation.

Total number of rings configured

Number of ERPS rings.

Ring ID

ID of the ERPS ring. To configure an ERPS ring, run the erps ring command.

Control VLAN

Control VLAN. To configure a control VLAN, run the control-vlan command.

WTR Timer (min)

Value of the WTR timer. To set the value of the WTR timer, run the wtr-timer command.

Guard Timer (csec)

Value of the Guard timer. To set the value of the Guard timer, run the guard-timer command.

Port 1

A port that is added to the specified ERPS ring.

Port 2

Another port that is added to the specified ERPS ring.

Description

Description of an ERPS ring. To configure the description, run the description command.

Protected Instance

ERPS instance. To configure an ERP instance, run the protected-instance command.

Service Vlan

Service VLAN associated with ERPS.

A service VLAN is mapped to an ERP instance, and is not the control VLAN.

WTR Timer Setting (min)

Running (s)

Value of the WTR timer. Setting indicates the configured value and Running indicates the actual value. To set the value of the WTR timer, run the wtr-timer command.

Guard Timer Setting (csec)

Running (csec)

Value of the Guard timer. Setting indicates the configured value and Running indicates the actual value. To set the value of the Guard timer, run the guard-timer command.

Holdoff Timer Setting (deciseconds)

Running (deciseconds)

Value of the Holdoff timer. Setting indicates the configured value and Running indicates the actual value. To set the value of the Holdoff timer, run the holdoff-timer command.

WTB Timer Running (csec)

Value of the WTB timer.

Ring State

Status of the ERPS ring:
  • Idle: indicates that the current blocking point is the RPL Owner port.
  • Protection: indicates that a fault has occurred on a link or a device.
  • Pending: indicates a transition state during ERPS ring negotiation. For example, the blocking point is being switched back to the RPL Owner port.
  • ForcedSwitch: The FS mode is used to block an ERPS port.
  • ManualSwitch: The MS mode is used to block an ERPS port.

RAPS_MEL

MEL value. To set the MEL value, run the raps-mel command.

Revertive Mode

Revertive or non-revertive switching mode to be used after a faulty ERPS link recovers:
  • Revertive: re-blocks the RPL owner port after a faulty ERPS link recovers.
  • Non-revertive: retains the RPL owner port status and still blocks the port of the faulty link after a faulty ERPS link recovers.

To configure the revertive or non-revertive switching mode, run the revertive command.

R-APS Channel Mode

RAPS PDU transmission mode in a sub-ring:
  • -: The current ring is not a sub-ring.
  • Virtual Channel: VCs are used to transmit RAPS PDUs.
  • Non-virtual-channel: NVCs are used to transmit RAPS PDUs.

To configure an RAPS PDU transmission mode in a sub-ring, run the virtual-channel command.

Version

ERPS version:
  • 1: ERPSv1
  • 2: ERPSv2

To configure an ERPS version, run the version command.

Sub-ring

ERPS sub-ring ID. To configure an ERPS sub-ring ID, run the sub-ring command.

Forced Switch Port

Port that has been blocked by an FS operation. A hyphen (-) indicates that no port has been blocked by an FS operation.

To configure an FS mode, run the erps ring protect-switch command.

Manual Switch Port

Port that has been blocked by an MS operation. A hyphen (-) indicates that no port has been blocked by an MS operation.

To configure a port blocking mode for an ERPS port, run the erps ring protect-switch command.

TC-Notify

The ERPS ring is configured to notify other ERPS rings of its topology change. A hyphen (-) indicates that the ERPS ring does not notify other ERPS rings when its topology changes.

To configure an ERPS ring to notify other ERPS rings of its topology change, run the tc-notify erps ring command.

Time since last topology change

Period since the last ERPS ring topology change.

Port

Port that is added to the ERPS ring.

Port Role

Port role:
  • RPL Owner
  • Common
  • RPL Neighbour

Port Status

Port status:
  • Forwarding
  • Discarding

Signal Status

Signal status:
  • Failed: A fault occurs.
  • Non-failed: No fault occurs.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >