statistic enable (Bridge domain view)

Function

The statistics enable command enables traffic statistics collection for a bridge domain (BD).

The undo statistics enable command disables traffic statistics collection in a BD.

By default, traffic statistics collection is disabled in BDs.

Format

statistic enable

undo statistic enable

Parameters

None

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bdbase write

Usage Guidelines

Usage Scenario

By default, traffic statistics collection is disabled in BDs. Before you run the display bridge-domain statistics command to view traffic statistics for fault locating, run the statistics enable command in the BD view to enable traffic statistics collection. If traffic statistics collection is not enabled for a BD, you cannot obtain the traffic statistics in the BD.

Follow-up Procedure

Run the display bridge-domain statistics command to view traffic statistics in the BD. The command output helps locate faults.

Example

# Enable traffic statistics collection for BD 10.
<HUAWEI> system-view
[~HUAWEI] bridge-domain 10
[*HUAWEI-bd10] statistics enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic