< Home

reset traffic-statistics vsi name peer remote-site

Function

The reset traffic-statistics vsi name peer remote-site command clears the statistics about the public traffic on the Kompella VPLS PW in the specified VSI.

Format

reset traffic-statistics vsi name vsi-name peer peer-address remote-site site-id

Parameters

Parameter Description Value
name vsi-name Specifies the name of a VSI. The value is an existing VSI.
peer peer-address Specifies the peer IP address of the PW. -
remote-site site-id Specifies the remote site ID. The value is an integer that ranges from 0 to 65534.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the Kompella VPLS configuration is complete, you can run the display traffic-statistics vsi peer remote-site command to view the statistics about the traffic on the PW. To view the statistics about the traffic in a specified period, you can run the reset traffic-statistics vsi name peer remote-site command to clear the previous statistics.

Prerequisites

The traffic statistics function has been enabled using the traffic-statistics peer remote-site enable (Kompella) command in the VSI-BGP view.

Precautions

The reset traffic-statistics vsi name peer remote-site command is valid only in Kompella VPLS.

After you run the reset traffic-statistics vsi name peer remote-site command, statistics about the traffic on the corresponding Kompella VPLS PW are cleared.

Example

# Reset the statistics about the traffic on the Kompella VPLS PW in the user view.

<HUAWEI> reset traffic-statistics vsi name newvsi peer 10.22.33.20 remote-site 2 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >