reset traffic-statistics hard-pipe vsi

Function

The reset traffic-statistics hard-pipe vsi command clears all PW hard pipe traffic statistics in a specified VSI.

Format

reset traffic-statistics hard-pipe vsi vsi-name [ peer peer-ip [ negotiation-vc-id pw-id ] ]

Parameters

Parameter Description Value
peer peer-ip

Specifies a peer IP address.

The value is in dotted decimal notation.

negotiation-vc-id pw-id

Specifies a PW ID.

The value is an integer ranging from 1 to 4294967295.

vsi vsi-name

Specifies a VSI name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn execute

Usage Guidelines

Usage Scenario

To clear all PW hard pipe traffic statistics in a specified VSI, run the reset traffic-statistics hard-pipe vsi command. If you specify peer, hard pipe traffic statistics of a specified PW are cleared.

Example

# Clear hard pipe traffic statistics of a specified PW.
<HUAWEI> reset traffic-statistics hard-pipe vsi vsi1 peer 2.2.2.2 negotiation-vc-id 12
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >