< Home

display erps statistics

Function

The display erps statistics command displays statistics about sent and received ring auto protection switching (RAPS) protocol data units (PDUs) on the ports that have been added to ERPS rings.

Format

display erps [ ring ring-id ] statistics

Parameters

Parameter Description Value
ring ring-id Specifies the ID of an ERPS ring. If this parameter is not specified, this command displays statistics about sent and received RAPS PDUs on ports that are added to all ERPS rings. The value is an integer that ranges from 1 to 255.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

On a Layer 2 network running ERPS, the display erps statistics command displays statistics about sent and received RAPS PDUs on the ports that are added to ERPS rings. The command output helps you analyze the network situation, learn the network running status, and maintain devices.

Prerequisites

To query statistics about sent and received RAPS PDUs on the ports that have been added to a specified ERPS ring, ensure that the ERPS ring has been created.

Example

# Display statistics about sent and received RAPS PDUs on the ports that are added to ERPS rings.

<HUAWEI> display erps statistics
--------------------------------------------------------------------------------
Ring Port            RX/TX       SF       NR     NRRB       FS       MS    EVENT
--------------------------------------------------------------------------------
   1 Eth-Trunk1      RX           0        0      552        0        0        0
   1 Eth-Trunk1      TX           0       68        0      326        0        6
   1 GE0/0/1         RX           0        6      552        0        0        0
   1 GE0/0/1         TX           4       63        0      326        0        6
  10 GE0/0/2         RX           0        1        0        0        0        0
  10 GE0/0/2         TX           4       74        0        0        0        0

# Display statistics about sent and received RAPS PDUs on the ports that are added to ERPS ring 2.

<HUAWEI> display erps ring 2 statistics
--------------------------------------------------------------------------------
Ring  Port           RX/TX       SF       NR     NRRB       FS       MS    EVENT
--------------------------------------------------------------------------------
   2  GE0/0/1       RX           0        1        0        0        0        0
   2  GE0/0/1       TX           4       74        0        0        0        0
Table 1 Description of the display erps statistics command output

Item

Description

Ring

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

Port

Port that is added to the ERPS ring.

RX/TX

RAPS PDU forwarding:
  • RX: RAPS PDUs are received.
  • TX: RAPS PDUs are sent.

SF

Statistics about RAPS (SF) messages.

NR

Statistics about RAPS (NR) messages.

NRRB

Statistics about RAPS (NR, RB) messages.

FS

Statistics about RAPS (FS) messages.

MS

Statistics about RAPS (MS) messages.

EVENT

Statistics about RAPS Event messages.

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