< Home

traffic-statistics enable (VSI-BGPAD view)

Function

The traffic-statistics enable command enables the statistics about the public traffic on all BGP AD VPLS PWs.

The undo traffic-statistics enable command disables the statistics about the public traffic on all BGP AD VPLS PWs.

By default, the statistics function is disabled.

Format

traffic-statistics enable

undo traffic-statistics enable

Parameters

None

Views

VSI-BGPAD view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the BGP AD VPLS network is configured, you can run the traffic-statistics enable command to enable statistics about the public traffic on all BGP AD VPLS PWs in the corresponding VSI.

Prerequisites

The VPLS ID has been configured using the vpls-id vpls-id command in the VSI-BGPAD view.

Precautions

The traffic-statistics enable command cannot be used together with the traffic-statistics peer enable (VSI-BGPAD) command in the VSI-BGPAD view.

Example

# Enable global traffic statistics for the VSI named company1 in the BGP AD VPLS domain.

<HUAWEI> system-view 
[HUAWEI] vsi company1
[HUAWEI-vsi-company1] bgp-ad
[HUAWEI-vsi-company1-bgpad] vpls-id 100:1
[HUAWEI-vsi-company1-bgpad] traffic-statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >