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.
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. |
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.
# 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
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:
|
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. |