reset erps statistics

Function

The reset erps statistics command clears packet statistics in an ERPS ring.

Format

reset erps [ ring ring-id ] statistics

Parameters

Parameter Description Value
ring ring-id

Clears packet statistics in a specific ERPS ring.

The value is an integer ranging from 1 to 255.

Views

All views

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
erps execute

Usage Guidelines

Usage Scenario

Before traffic statistics on a specific interface within a certain period is collected, the existing traffic statistics of this interface needs to be cleared. Running the reset erps statistics command ensures that existing packet statistics in the ERPS ring can be cleared.

Prerequisites

ERPS rings have already been created, and interfaces have already been added on specified ERPS rings.

Precautions

After the reset erps statistics command is run, packet statistics in the ERPS ring are cleared and cannot be restored. Therefore, exercise caution when running this command.

Example

# Clear packet statistics in ERPS ring 2.
<HUAWEI> reset erps ring 2 statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >