< Home

traffic-statistics enable (VSI-LDP view)

Function

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

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

By default, the statistics function is disabled.

Format

traffic-statistics enable

undo traffic-statistics enable

Parameters

None

Views

VSI-LDP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the Martini VPLS network is configured, you can run the traffic-statistics enable command to enable statistics about the traffic on all PWs.

Prerequisites

The VSI ID has been configured using the vsi-id vsi-id command in the VSI-LDP view.

Precautions

After this command is executed and the statistics reach the upper limit, a peer can still be configured, but the traffic statistics function does not take effect on this peer. When the configuration needs to be restored after the system is restarted, configured the peer first. If the statistics exceed the upper limit after the traffic-statistics enable is executed, the configuration cannot be restored.

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

Example

# Enable the statistics on all PWs in the VSI 1.

<HUAWEI> system-view 
[HUAWEI] vsi 1
[HUAWEI-vsi-1] pwsignal ldp
[HUAWEI-vsi-1-ldp] traffic-statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >