display rrpp statistics

Use display rrpp statistics to display RRPPDU statistics.

Syntax

display rrpp statistics domain domain-id [ ring ring-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

domain domain-id: Specifies an RRPP domain by its ID in the range of 1 to 128.

ring ring-id: Specifies an RRPP ring by its ID in the range of 1 to 128. If you do not specify this option, the command displays the RRPPDU statistics for all rings in the specified RRPP domain.

Usage guidelines

If a port belongs to more than one ring, this command collects and displays RRPPDU statistics of the port by ring.

When a ring transits from inactive status to active status, packet counting for the ring restarts.

Examples

# Display RRPPDU statistics for all rings in RRPP domain 2.

<Sysname> display rrpp statistics domain 2
 Ring ID       : 1
 Ring level    : 0
 Node mode     : Master
 Active status : Yes
 Primary port  : XGE1/0/3
 Fast-Hello packets: 0 Sent, 0 Received
 Fast-Edge-Hello packets: 0 Sent, 0 Received
  Direct Hello     Link     Common     Complete   Edge      Major     Total
                   down     flush FDB  flush FDB  hello     fault
 ------------------------------------------------------------------------------
  Out    16924     0        0          1          0         0         16925
  In     0         0        0          0          0         0         0
 Secondary port: XGE1/0/4
 Fast-Hello packets: 0 Sent, 0 Received
 Fast-Edge-Hello packets: 0 Sent, 0 Received
  Direct Hello     Link     Common     Complete   Edge      Major     Total
                   down     flush FDB  flush FDB  hello     fault
 ------------------------------------------------------------------------------
  Out    0         0        0          0          0         0         0
  In     16878     0        0          1          0         0         16879

 Ring ID       : 2
 Ring level    : 1
 Node mode     : Edge
 Active status : No
 Common port   : XGE1/0/3
 Fast-Hello packets: 0 Sent, 0 Received
 Fast-Edge-Hello packets: 0 Sent, 0 Received
  Direct Hello     Link     Common     Complete   Edge      Major     Total
                   down     flush FDB  flush FDB  hello     fault
 ------------------------------------------------------------------------------
  Out    0         0        0          0          0         0         0
  In     0         0        0          0          0         0         0
 Common port   : XGE1/0/4
 Fast-Hello packets: 0 Sent, 0 Received
 Fast-Edge-Hello packets: 0 Sent, 0 Received
  Direct Hello     Link     Common     Complete   Edge      Major     Total
                   down     flush FDB  flush FDB  hello     fault
 ------------------------------------------------------------------------------
  Out    0         0        0          0          0         0         0
  In     0         0        0          0          0         0         0
 Edge port     : XGE1/0/5
  Direct Hello     Link     Common     Complete   Edge      Major     Total
                   down     flush FDB  flush FDB  hello     fault
 ------------------------------------------------------------------------------
  Out    0         0        0          0          0         0         0
  In     0         0        0          0          0         0         0

Table 26: Command output

Field

Description

Ring ID

RRPP ring ID.

Ring level

RRPP ring level:

  • 0—Primary ring.

  • 1—Subring.

Node mode

Node mode:

  • Master node.

  • Transit node.

  • Edge node.

  • Assistant edge node.

Active status

RRPP ring status:

  • Yes—Active.

  • No—Inactive.

Primary port

The primary port field means the node mode is master node or transit node.

A hyphen (-) appears when one of the following cases occurs:

  • The port is not configured on the ring.

  • The port is a member of a link aggregation group.

Secondary port

The secondary port field means the node mode is master node or transit node.

A hyphen (-) appears when one of the following cases occurs:

  • The port is not configured on the ring.

  • The port is a member of a link aggregation group.

Common port

The common port field means the node mode is edge node or assistant edge node.

A hyphen (-) appears when one of the following cases occurs:

  • The port is not configured on the ring.

  • The port is a member of a link aggregation group.

Edge port

The edge port field means the node mode is edge node or assistant edge node.

A hyphen (-) appears when one of the following cases occurs:

  • The port is not configured on the ring.

  • The port is a member of a link aggregation group.

Fast-Hello packets

Fast-Hello packet statistics on the port:

  • Sent—Number of Fast-Hello packets sent out of the port.

  • Received—Number of Fast-Hello packets received on the port.

Fast-Edge-Hello packets

Fast-Edge-Hello packet statistics on the port:

  • Sent—Number of Fast-Edge-Hello packets sent out of the port.

  • Received—Number of Fast-Edge-Hello packets received on the port.

Packet direct

Packet transmission direction on the port:

  • Out—Packet sending direction.

  • In—Packet receiving direction.

Hello

Statistics of Hello packets received/sent on the port.

Link down

Statistics of Link-Down packets received/sent on the port.

Common flush FDB

Statistics of Common-Flush-FDB packets received/sent on the port.

Complete flush FDB

Statistics of Complete-Flush-FDB packets received/sent on the port.

Edge hello

Statistics of Edge-Hello packets received/sent on the port.

Major fault

Statistics of Major-Fault packets received/sent on the port.

Total

Total number of packets received/sent on the port. Only Hello, Link-Down, Common-Flush-FDB, Complete-Flush-FDB, Edge-Hello, and Major-Fault packets of RRPP are counted.

Related commands

reset rrpp statistics